Home
last modified time | relevance | path

Searched refs:photometric (Results 1 – 25 of 27) sorted by relevance

12

/libtiff-4.0.7/test/
H A Dstrip_rw.c59 uint16 spp, bps, photometric, sampleformat, planarconfig; in main() local
71 photometric = PHOTOMETRIC_MINISBLACK; in main()
76 compression, spp, bps, photometric, in main()
83 compression, spp, bps, photometric, in main()
92 compression, spp, bps, photometric, in main()
99 compression, spp, bps, photometric, in main()
113 photometric = PHOTOMETRIC_MINISBLACK; in main()
118 compression, spp, bps, photometric, in main()
125 compression, spp, bps, photometric, in main()
135 compression, spp, bps, photometric, in main()
[all …]
H A Dstrip.c122 uint16 spp, uint16 bps, uint16 photometric, in create_image_striped() argument
157 if (!TIFFSetField(tif, TIFFTAG_PHOTOMETRIC, photometric)) { in create_image_striped()
179 photometric); in create_image_striped()
186 uint16 spp, uint16 bps, uint16 photometric, in read_image_striped() argument
220 || value_u16 != photometric) { in read_image_striped()
257 photometric); in read_image_striped()
H A Dshort_tag.c49 const uint16 photometric = PHOTOMETRIC_RGB; variable
118 if (!TIFFSetField(tif, TIFFTAG_PHOTOMETRIC, photometric)) { in main()
166 if (CheckShortField(tif, TIFFTAG_PHOTOMETRIC, photometric) < 0) in main()
H A Dcustom_dir.c50 const uint16 photometric = PHOTOMETRIC_RGB; variable
105 if (!TIFFSetField(tif, TIFFTAG_PHOTOMETRIC, photometric)) { in main()
/libtiff-4.0.7/tools/
H A Draw2tiff.c164 photometric = PHOTOMETRIC_MINISWHITE; in main()
166 photometric = PHOTOMETRIC_MINISBLACK; in main()
168 photometric = PHOTOMETRIC_RGB; in main()
170 photometric = PHOTOMETRIC_SEPARATED; in main()
172 photometric = PHOTOMETRIC_YCBCR; in main()
174 photometric = PHOTOMETRIC_CIELAB; in main()
176 photometric = PHOTOMETRIC_ICCLAB; in main()
178 photometric = PHOTOMETRIC_ITULAB; in main()
180 photometric = PHOTOMETRIC_MINISBLACK; in main()
256 if (photometric == PHOTOMETRIC_RGB in main()
[all …]
H A Dppm2tiff.c89 uint16 photometric = 0; in main() local
158 photometric = PHOTOMETRIC_MINISWHITE; in main()
163 photometric = PHOTOMETRIC_MINISBLACK; in main()
168 photometric = PHOTOMETRIC_RGB; in main()
171 photometric = PHOTOMETRIC_YCBCR; in main()
220 TIFFSetField(out, TIFFTAG_PHOTOMETRIC, photometric); in main()
H A Dtiff2bw.c120 uint16 photometric; in main() local
162 photometric = 0; in main()
163 TIFFGetField(in, TIFFTAG_PHOTOMETRIC, &photometric); in main()
164 if (photometric != PHOTOMETRIC_RGB && photometric != PHOTOMETRIC_PALETTE ) { in main()
176 if( photometric == PHOTOMETRIC_RGB && samplesperpixel != 3) { in main()
223 switch (pack(photometric, config)) { in main()
H A Dtiff2ps.c494 static uint16 photometric; variable
502 switch (photometric) { in checkImage()
509 photometric = PHOTOMETRIC_RGB; in checkImage()
537 (photometric == PHOTOMETRIC_LOGL) ? in checkImage()
544 photometric = (photometric == PHOTOMETRIC_LOGL) ? in checkImage()
553 photometric); in checkImage()
1718 switch ( photometric ) in PS_Lvl2colorspace()
1738 if (photometric == PHOTOMETRIC_YCBCR) { in PS_Lvl2colorspace()
1884 switch (photometric) { in PS_Lvl2ImageDict()
1925 switch (photometric) { in PS_Lvl2ImageDict()
[all …]
H A Dpal2rgb.c78 uint16 photometric = PHOTOMETRIC_RGB; in main() local
151 photometric = PHOTOMETRIC_YCBCR; in main()
153 photometric = PHOTOMETRIC_RGB; in main()
163 TIFFSetField(out, TIFFTAG_PHOTOMETRIC, photometric); in main()
H A Dtiffcrop.c403 uint16 photometric; member
5010 image->photometric = 0; in initImageData()
5921 image->photometric = input_photometric; in loadImage()
7409 switch (crop->photometric) in processCropSelections()
7414 image->photometric = crop->photometric; in processCropSelections()
7516 switch (crop->photometric) in processCropSelections()
7521 image->photometric = crop->photometric; in processCropSelections()
7644 switch (crop->photometric) in createCroppedImage()
7649 image->photometric = crop->photometric; in createCroppedImage()
7662 switch (image->photometric) in createCroppedImage()
[all …]
H A Dthumbnail.c384 static uint16 photometric; /* current photometric of raster */ variable
449 switch (photometric) { in setupCmap()
631 TIFFGetField(in, TIFFTAG_PHOTOMETRIC, &photometric); in generateThumbnail()
H A Dtiffmedian.c121 uint16 shortv, config, photometric; in main() local
171 if (!TIFFGetField(in, TIFFTAG_PHOTOMETRIC, &photometric) || in main()
172 photometric != PHOTOMETRIC_RGB || samplesperpixel < 3) { in main()
/libtiff-4.0.7/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);
/libtiff-4.0.7/archive/tools/
H A Dsgisv.c48 uint16 photometric = PHOTOMETRIC_RGB; variable
67 photometric = PHOTOMETRIC_MINISBLACK; in main()
281 photometric == PHOTOMETRIC_RGB ? 3 : 1); in tiffsv()
286 if (photometric == PHOTOMETRIC_RGB && jpegcolormode == JPEGCOLORMODE_RGB) in tiffsv()
287 photometric = PHOTOMETRIC_YCBCR; in tiffsv()
296 TIFFSetField(tif, TIFFTAG_PHOTOMETRIC, photometric); in tiffsv()
302 if (photometric == PHOTOMETRIC_RGB) { in tiffsv()
H A Dras2tiff.c69 uint16 photometric; in main() local
200 photometric = PHOTOMETRIC_PALETTE; in main()
206 photometric = h.ras_depth == 24 ? in main()
214 if (photometric == PHOTOMETRIC_RGB && jpegcolormode == JPEGCOLORMODE_RGB) in main()
215 photometric = PHOTOMETRIC_YCBCR; in main()
225 TIFFSetField(out, TIFFTAG_PHOTOMETRIC, photometric); in main()
H A Dsgi2tiff.c45 static uint16 photometric; variable
110 photometric = PHOTOMETRIC_MINISBLACK; in main()
112 photometric = PHOTOMETRIC_RGB; in main()
115 if (photometric == PHOTOMETRIC_RGB && jpegcolormode == JPEGCOLORMODE_RGB) in main()
116 photometric = PHOTOMETRIC_YCBCR; in main()
126 TIFFSetField(out, TIFFTAG_PHOTOMETRIC, photometric); in main()
H A Dbmp2tiff.c236 uint16 photometric = PHOTOMETRIC_MINISBLACK; in main() local
466 photometric = PHOTOMETRIC_PALETTE; in main()
531 photometric = PHOTOMETRIC_RGB; in main()
536 photometric = PHOTOMETRIC_RGB; in main()
552 TIFFSetField(out, TIFFTAG_PHOTOMETRIC, photometric); in main()
566 if (photometric == PHOTOMETRIC_RGB in main()
568 photometric = PHOTOMETRIC_YCBCR; in main()
/libtiff-4.0.7/contrib/pds/
H A Dtif_imageiter.c96 if (!TIFFGetField(tif, TIFFTAG_PHOTOMETRIC, &img->photometric)) { in TIFFImageIterBegin()
100 img->photometric = PHOTOMETRIC_MINISWHITE; in TIFFImageIterBegin()
102 img->photometric = PHOTOMETRIC_MINISBLACK; in TIFFImageIterBegin()
105 img->photometric = PHOTOMETRIC_RGB; in TIFFImageIterBegin()
112 switch (img->photometric) { in TIFFImageIterBegin()
145 img->photometric = PHOTOMETRIC_RGB; in TIFFImageIterBegin()
173 photoTag, img->photometric); in TIFFImageIterBegin()
H A Dtif_imageiter.h46 uint16 photometric; /* image photometric interp */ member
/libtiff-4.0.7/libtiff/
H A Dtif_getimage.c79 uint16 photometric; in TIFFRGBAImageOK() local
109 photometric = PHOTOMETRIC_RGB; in TIFFRGBAImageOK()
116 switch (photometric) { in TIFFRGBAImageOK()
126 photoTag, photometric, in TIFFRGBAImageOK()
209 photoTag, photometric); in TIFFRGBAImageOK()
353 switch (img->photometric) { in TIFFRGBAImageBegin()
384 photoTag, img->photometric, in TIFFRGBAImageBegin()
789 switch( img->photometric ) in gtTileSeparate()
2506 switch (img->photometric) { in buildMap()
2546 switch (img->photometric) { in PickContigCase()
[all …]
H A Dtif_jpeg.c985 sp->photometric = td->td_photometric; in JPEGSetupDecode()
986 switch (sp->photometric) { in JPEGSetupDecode()
1136 sp->photometric == PHOTOMETRIC_YCBCR && in JPEGPreDecode()
1558 if (sp->photometric == PHOTOMETRIC_YCBCR) in prepare_JPEGTables()
1563 if (sp->photometric == PHOTOMETRIC_YCBCR) in prepare_JPEGTables()
1593 sp->photometric = td->td_photometric; in JPEGSetupEncode()
1602 if (sp->photometric == PHOTOMETRIC_YCBCR) { in JPEGSetupEncode()
1625 switch (sp->photometric) { in JPEGSetupEncode()
1655 (int) sp->photometric); in JPEGSetupEncode()
1783 if (sp->photometric == PHOTOMETRIC_YCBCR) { in JPEGPreEncode()
[all …]
/libtiff-4.0.7/test/images/
H A DREADME.txt4 photometric-channels-bits.tiff
15 logluv-3c-16b.tiff: logluv compression/photometric interp
/libtiff-4.0.7/contrib/addtiffo/
H A DREADME42 photometric interpretation, and organization as the source image, but
/libtiff-4.0.7/contrib/win_dib/
H A DTiffile.cpp304 switch (img->photometric) { in DibInstallHack()

12