Searched refs:photometric (Results 1 - 24 of 24) sorted by relevance

/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/test/
H A Dstrip_rw.c59 uint16 spp, bps, photometric, sampleformat, planarconfig; local
69 photometric = PHOTOMETRIC_MINISBLACK;
74 compression, spp, bps, photometric,
81 compression, spp, bps, photometric,
90 compression, spp, bps, photometric,
97 compression, spp, bps, photometric,
111 photometric = PHOTOMETRIC_MINISBLACK;
116 compression, spp, bps, photometric,
123 compression, spp, bps, photometric,
133 compression, spp, bps, photometric,
[all...]
H A Dshort_tag.c51 const uint16 photometric = PHOTOMETRIC_RGB; variable
111 if (!TIFFSetField(tif, TIFFTAG_PHOTOMETRIC, photometric)) {
149 if (CheckShortField(tif, TIFFTAG_PHOTOMETRIC, photometric) < 0)
H A Dstrip.c122 uint16 spp, uint16 bps, uint16 photometric,
157 if (!TIFFSetField(tif, TIFFTAG_PHOTOMETRIC, photometric)) {
179 photometric);
186 uint16 spp, uint16 bps, uint16 photometric,
220 || value_u16 != photometric) {
257 photometric);
120 create_image_striped(const char *name, uint32 width, uint32 length, uint32 rowsperstrip, uint16 compression, uint16 spp, uint16 bps, uint16 photometric, uint16 sampleformat, uint16 planarconfig, const tdata_t array, const tsize_t size) argument
184 read_image_striped(const char *name, uint32 width, uint32 length, uint32 rowsperstrip, uint16 compression, uint16 spp, uint16 bps, uint16 photometric, uint16 sampleformat, uint16 planarconfig, const tdata_t array, const tsize_t size) argument
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/contrib/ras/
H A Dras2tif.c98 short photometric; local
178 photometric = PHOTOMETRIC_MINISBLACK;
183 photometric = PHOTOMETRIC_PALETTE;
188 photometric = PHOTOMETRIC_RGB;
193 photometric = PHOTOMETRIC_RGB;
207 TIFFSetField(tif, TIFFTAG_PHOTOMETRIC, photometric);
H A Dtif2ras.c96 short photometric; local
181 TIFFGetField(tif, TIFFTAG_PHOTOMETRIC, &photometric);
189 switch (photometric) {
243 error("%s: unknown photometric (cmap): %d\n", photometric);
256 switch (photometric) {
305 error("%s: unknown photometric (write): %d\n", photometric);
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/tools/
H A Dppm2tiff.c74 uint16 photometric = 0; local
140 photometric = PHOTOMETRIC_MINISWHITE;
145 photometric = PHOTOMETRIC_MINISBLACK;
150 photometric = PHOTOMETRIC_RGB;
153 photometric = PHOTOMETRIC_YCBCR;
202 TIFFSetField(out, TIFFTAG_PHOTOMETRIC, photometric);
H A Dras2tiff.c64 uint16 photometric; local
169 photometric = PHOTOMETRIC_PALETTE;
175 photometric = h.ras_depth == 24 ?
183 if (photometric == PHOTOMETRIC_RGB && jpegcolormode == JPEGCOLORMODE_RGB)
184 photometric = PHOTOMETRIC_YCBCR;
194 TIFFSetField(out, TIFFTAG_PHOTOMETRIC, photometric);
H A Dsgisv.c48 uint16 photometric = PHOTOMETRIC_RGB; variable
65 photometric = PHOTOMETRIC_MINISBLACK;
279 photometric == PHOTOMETRIC_RGB ? 3 : 1);
284 if (photometric == PHOTOMETRIC_RGB && jpegcolormode == JPEGCOLORMODE_RGB)
285 photometric = PHOTOMETRIC_YCBCR;
294 TIFFSetField(tif, TIFFTAG_PHOTOMETRIC, photometric);
300 if (photometric == PHOTOMETRIC_RGB) {
H A Draw2tiff.c94 uint16 photometric = PHOTOMETRIC_MINISBLACK; local
155 case 'p': /* photometric interpretation */
157 photometric = PHOTOMETRIC_MINISWHITE;
159 photometric = PHOTOMETRIC_MINISBLACK;
161 photometric = PHOTOMETRIC_RGB;
163 photometric = PHOTOMETRIC_SEPARATED;
165 photometric = PHOTOMETRIC_YCBCR;
167 photometric = PHOTOMETRIC_CIELAB;
169 photometric = PHOTOMETRIC_ICCLAB;
171 photometric
[all...]
H A Dsgi2tiff.c45 static uint16 photometric; variable
108 photometric = PHOTOMETRIC_MINISBLACK;
110 photometric = PHOTOMETRIC_RGB;
113 if (photometric == PHOTOMETRIC_RGB && jpegcolormode == JPEGCOLORMODE_RGB)
114 photometric = PHOTOMETRIC_YCBCR;
124 TIFFSetField(out, TIFFTAG_PHOTOMETRIC, photometric);
H A Dtiff2bw.c116 uint16 photometric; local
156 photometric = 0;
157 TIFFGetField(in, TIFFTAG_PHOTOMETRIC, &photometric);
158 if (photometric != PHOTOMETRIC_RGB && photometric != PHOTOMETRIC_PALETTE ) {
160 "%s: Bad photometric; can only handle RGB and Palette images.\n",
212 switch (pack(photometric, config)) {
H A Dtiff2ps.c85 * at the "photometric" value. This change allows support of
329 static uint16 photometric; variable
337 switch (photometric) {
344 photometric = PHOTOMETRIC_RGB;
372 (photometric == PHOTOMETRIC_LOGL) ?
379 photometric = (photometric == PHOTOMETRIC_LOGL) ?
388 photometric);
766 if (!TIFFGetField(tif, TIFFTAG_PHOTOMETRIC, &photometric)) {
770 photometric
[all...]
H A Dbmp2tiff.c230 uint16 photometric = PHOTOMETRIC_MINISBLACK; local
410 photometric = PHOTOMETRIC_PALETTE;
467 photometric = PHOTOMETRIC_RGB;
472 photometric = PHOTOMETRIC_RGB;
488 TIFFSetField(out, TIFFTAG_PHOTOMETRIC, photometric);
502 if (photometric == PHOTOMETRIC_RGB
504 photometric = PHOTOMETRIC_YCBCR;
H A Dpal2rgb.c74 uint16 photometric = PHOTOMETRIC_RGB; local
144 photometric = PHOTOMETRIC_YCBCR;
146 photometric = PHOTOMETRIC_RGB;
156 TIFFSetField(out, TIFFTAG_PHOTOMETRIC, photometric);
H A Dtiffcrop.c287 uint16 photometric; /* Status of photometric interpretation for inverted image */ member in struct:crop_mask
391 uint16 photometric; member in struct:image_data
1803 crop_data->photometric = PHOTOMETRIC_MINISBLACK;
1808 crop_data->photometric = PHOTOMETRIC_MINISWHITE;
1813 crop_data->photometric = INVERT_DATA_ONLY;
1818 crop_data->photometric = INVERT_DATA_AND_TAG;
4904 image->photometric = 0;
4925 cps->photometric = INVERT_DATA_AND_TAG;
5686 uint16 photometric local
8919 invertImage(uint16 photometric, uint16 spp, uint16 bps, uint32 width, uint32 length, unsigned char *work_buff) argument
[all...]
H A Dthumbnail.c343 static uint16 photometric; /* current photometric of raster */ variable
408 switch (photometric) {
579 TIFFGetField(in, TIFFTAG_PHOTOMETRIC, &photometric);
H A Dtiffmedian.c117 uint16 shortv, config, photometric; local
165 if (!TIFFGetField(in, TIFFTAG_PHOTOMETRIC, &photometric) ||
166 photometric != PHOTOMETRIC_RGB || samplesperpixel < 3) {
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/contrib/pds/
H A Dtif_imageiter.h46 uint16 photometric; /* image photometric interp */ member in struct:_TIFFImageIter
H A Dtif_imageiter.c96 if (!TIFFGetField(tif, TIFFTAG_PHOTOMETRIC, &img->photometric)) {
100 img->photometric = PHOTOMETRIC_MINISWHITE;
102 img->photometric = PHOTOMETRIC_MINISBLACK;
105 img->photometric = PHOTOMETRIC_RGB;
112 switch (img->photometric) {
126 photoTag, img->photometric,
145 img->photometric = PHOTOMETRIC_RGB;
173 photoTag, img->photometric);
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/libtiff/
H A Dtif_getimage.c75 uint16 photometric; local
95 if (!TIFFGetField(tif, TIFFTAG_PHOTOMETRIC, &photometric)) {
98 photometric = PHOTOMETRIC_MINISBLACK;
101 photometric = PHOTOMETRIC_RGB;
108 switch (photometric) {
118 photoTag, photometric,
186 photoTag, photometric);
276 if( !TIFFGetField(tif, TIFFTAG_PHOTOMETRIC, &img->photometric))
277 img->photometric = PHOTOMETRIC_MINISWHITE;
281 && img->photometric
[all...]
H A Dtif_jpeg.c144 uint16 photometric; /* copy of PhotometricInterpretation */ member in struct:__anon13142
659 sp->photometric = td->td_photometric;
660 switch (sp->photometric) {
836 sp->photometric == PHOTOMETRIC_YCBCR &&
1145 if (sp->photometric == PHOTOMETRIC_YCBCR)
1150 if (sp->photometric == PHOTOMETRIC_YCBCR)
1185 sp->photometric = td->td_photometric;
1186 switch (sp->photometric) {
1216 (int) sp->photometric);
1338 if (sp->photometric
[all...]
H A Dtiffio.h201 uint16 photometric; /* image photometric interp */ member in struct:_TIFFRGBAImage
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/tiff/
H A DtiffJpeg.c87 uint16 photometric; /* copy of PhotometricInterpretation */ member in struct:__anon13223
710 sp->photometric = td->td_photometric;
711 switch (sp->photometric) {
820 sp->photometric == PHOTOMETRIC_YCBCR &&
1025 if (sp->photometric == PHOTOMETRIC_YCBCR)
1030 if (sp->photometric == PHOTOMETRIC_YCBCR)
1064 sp->photometric = td->td_photometric;
1065 switch (sp->photometric) {
1095 (int) sp->photometric);
1207 if (sp->photometric
[all...]
/macosx-10.10/tcl-105/tcl_ext/tkimg/tkimg/compat/libtiff/contrib/win_dib/
H A DTiffile.cpp304 switch (img->photometric) {

Completed in 192 milliseconds