summaryrefslogtreecommitdiff
path: root/gs/src/gxi16bit.c
AgeCommit message (Collapse)AuthorFilesLines
2008-08-29Split the source tree into two new directories.Ralph Giles1-65/+0
PSSRC files are now in 'gs/psi'. GLSRC files are now in 'gs/base'. This is to facilitate build modularization and merging in the ghostpdl tree. NOTE: msvc32.mak is now in psi, not src. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@9048 a1074d23-0009-0410-80fe-cf8c14f379e6
2007-09-25Replace the 'private' define with the now standard C keyword 'static'.Ralph Giles1-1/+1
DETAILS: The compilers we support have supported static for some time now, so idiomatic, and removes one of the obstacles to compiling Ghostscript as C++. The patch also removes support for compilation with -dNOPRIVATE, which is not longer necessary with modern debuggers. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8250 a1074d23-0009-0410-80fe-cf8c14f379e6
2007-06-05Update licence headers. Copyright has been transfered from artofcode LLCRalph Giles1-1/+1
to Artifex Software, Inc. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@8022 a1074d23-0009-0410-80fe-cf8c14f379e6
2007-04-09Remove unused static rendering procedures for 16-bit samples identical to theAlex Cherepanov1-266/+2
corresponding 12-bit procedures. Fix bug 687399. DIFFERENCES: No CET or Comparefiles differences. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@7836 a1074d23-0009-0410-80fe-cf8c14f379e6
2006-12-09Fix : A wrong 'frac' color comparison caused an incorrect 12 and 16 bpc ↵Igor Melichev1-1/+1
image rendering. DETAILS : Debugged with CET 12-07C.PS page 15 and disassembling gxi12bit.obj . The old code wrongly computed how many 'long' values are needed to store 4 'frac' values. When sizeof(long)==4 and sizeof(short)==2 it gives 1. However the right answer is 2. Due to that the old code thinks that 'frac' colors are equal when they differ in 3d or 4th component. EXPECTED DIFFERENCES : None. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@7479 a1074d23-0009-0410-80fe-cf8c14f379e6
2006-08-31Fix : Cygwin/gcc warnings.Igor Melichev1-0/+4
DETAILS : This includes fixes for potentionally harmful warnings : Uninitialized variable : interp.c, zupath.c . Missing function prototype : zfile.h, stream.h (for sfxstdio.c), EXPECTED DIFFERENCES : None. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@7015 a1074d23-0009-0410-80fe-cf8c14f379e6
2006-03-13changed copyright headersStefan Kemper1-13/+10
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@6651 a1074d23-0009-0410-80fe-cf8c14f379e6
2006-01-20Fix : Cygwin/gcc warnings.Igor Melichev1-3/+14
EXPECTED DIFFERENCES : None. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@6478 a1074d23-0009-0410-80fe-cf8c14f379e6
2006-01-13Added printf format string argument checking under gcc to std.hStefan Kemper1-0/+2
Corrected or commented existing errors. NB: gx_color_index maybe 4 or 8 giving interesting results to printf that choose to do: "color is %lx", color git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@6454 a1074d23-0009-0410-80fe-cf8c14f379e6
2005-06-08Fix : Interleaved images could miss Decode, step 1.Igor Melichev1-2/+3
DETAILS : This change is algorithmically equivalent. This is a preparation for fixing the bug 688127 "CMYK image ignores Decode". It changes the SAMPLE_UNPACK_PROC function prototype to provide an access to a vector of maps in sample decoding functions. The new argument num_components_per_plane passes the length of the vector. The argument "const sample_lookup_t * ptab" is replaced with "const sample_map *smap" to pass the vector. With this patch only the 0th component of the passed vector is being used in order to provide the equivalense to the old code. Dropping this feature will be a next step. EXPECTED DIFFERENCES : None. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@5946 a1074d23-0009-0410-80fe-cf8c14f379e6
2004-03-13Add support for 16 bit deep images that is part of PDF 1.5.Ray Johnston1-0/+314
Expected Differences: None. git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@4888 a1074d23-0009-0410-80fe-cf8c14f379e6