/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/test/ |
A D | strip_rw.c | 59 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 …]
|
A D | strip.c | 122 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()
|
A D | short_tag.c | 49 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()
|
A D | custom_dir.c | 50 const uint16 photometric = PHOTOMETRIC_RGB; variable 105 if (!TIFFSetField(tif, TIFFTAG_PHOTOMETRIC, photometric)) { in main()
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/ras/ |
A D | ras2tif.c | 98 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);
|
A D | tif2ras.c | 96 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);
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/tools/ |
A D | raw2tiff.c | 164 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 …]
|
A D | ppm2tiff.c | 90 uint16 photometric = 0; in main() local 159 photometric = PHOTOMETRIC_MINISWHITE; in main() 164 photometric = PHOTOMETRIC_MINISBLACK; in main() 169 photometric = PHOTOMETRIC_RGB; in main() 172 photometric = PHOTOMETRIC_YCBCR; in main() 221 TIFFSetField(out, TIFFTAG_PHOTOMETRIC, photometric); in main()
|
A D | tiff2bw.c | 120 uint16 photometric; in main() local 167 photometric = 0; in main() 168 TIFFGetField(in, TIFFTAG_PHOTOMETRIC, &photometric); in main() 169 if (photometric != PHOTOMETRIC_RGB && photometric != PHOTOMETRIC_PALETTE ) { in main() 181 if( photometric == PHOTOMETRIC_RGB && samplesperpixel != 3) { in main() 230 switch (pack(photometric, config)) { in main()
|
A D | tiff2ps.c | 500 static uint16 photometric; variable 508 switch (photometric) { in checkImage() 515 photometric = PHOTOMETRIC_RGB; in checkImage() 543 (photometric == PHOTOMETRIC_LOGL) ? in checkImage() 550 photometric = (photometric == PHOTOMETRIC_LOGL) ? in checkImage() 559 photometric); in checkImage() 1724 switch ( photometric ) in PS_Lvl2colorspace() 1744 if (photometric == PHOTOMETRIC_YCBCR) { in PS_Lvl2colorspace() 1890 switch (photometric) { in PS_Lvl2ImageDict() 1931 switch (photometric) { in PS_Lvl2ImageDict() [all …]
|
A D | pal2rgb.c | 78 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()
|
A D | tiffcrop.c | 405 uint16 photometric; member 5029 image->photometric = 0; in initImageData() 5940 image->photometric = input_photometric; in loadImage() 7428 switch (crop->photometric) in processCropSelections() 7433 image->photometric = crop->photometric; in processCropSelections() 7535 switch (crop->photometric) in processCropSelections() 7540 image->photometric = crop->photometric; in processCropSelections() 7663 switch (crop->photometric) in createCroppedImage() 7668 image->photometric = crop->photometric; in createCroppedImage() 7681 switch (image->photometric) in createCroppedImage() [all …]
|
A D | thumbnail.c | 384 static uint16 photometric; /* current photometric of raster */ variable 449 switch (photometric) { in setupCmap() 631 TIFFGetField(in, TIFFTAG_PHOTOMETRIC, &photometric); in generateThumbnail()
|
A D | tiffmedian.c | 121 uint16 shortv, config, photometric; in main() local 171 if (!TIFFGetField(in, TIFFTAG_PHOTOMETRIC, &photometric) || in main() 172 photometric != PHOTOMETRIC_RGB || samplesperpixel < 3) { in main()
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/ |
A D | libtiff-CVE-2018-7456.patch | 10 photometric type < 3. 21 (1) TIFF File of photometric type 4 or more has illegal Transfer 24 (2) TIFF File has photometric type 3 or less and defines a 34 an alternative photometric type would be developed (not part of the 39 right size, that is if TIFF file has photometric type Palette 69 +static int _TIFFGetMaxColorChannels(uint16 photometric); 78 + * Return the maximum number of color channels specified for a given photometric 79 + * type. 0 is returned if photometric type isn't supported or no default value 82 +static int _TIFFGetMaxColorChannels( uint16 photometric ) 84 + switch (photometric) {
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/test/images/ |
A D | README.txt | 4 photometric-channels-bits.tiff 15 logluv-3c-16b.tiff: logluv compression/photometric interp
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/pds/ |
A D | tif_imageiter.c | 96 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()
|
A D | tif_imageiter.h | 46 uint16 photometric; /* image photometric interp */ member
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/libtiff/ |
A D | tif_getimage.c | 79 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() 360 switch (img->photometric) { in TIFFRGBAImageBegin() 391 photoTag, img->photometric, in TIFFRGBAImageBegin() 779 switch( img->photometric ) in gtTileSeparate() 2569 switch (img->photometric) { in buildMap() 2609 switch (img->photometric) { in PickContigCase() [all …]
|
A D | tif_jpeg.c | 1034 sp->photometric = td->td_photometric; in JPEGSetupDecode() 1035 switch (sp->photometric) { in JPEGSetupDecode() 1276 sp->photometric == PHOTOMETRIC_YCBCR && in JPEGPreDecode() 1706 if (sp->photometric == PHOTOMETRIC_YCBCR) in prepare_JPEGTables() 1711 if (sp->photometric == PHOTOMETRIC_YCBCR) in prepare_JPEGTables() 1741 sp->photometric = td->td_photometric; in JPEGSetupEncode() 1750 if (sp->photometric == PHOTOMETRIC_YCBCR) { in JPEGSetupEncode() 1773 switch (sp->photometric) { in JPEGSetupEncode() 1817 (int) sp->photometric); in JPEGSetupEncode() 1945 if (sp->photometric == PHOTOMETRIC_YCBCR) { in JPEGPreEncode() [all …]
|
A D | tiffio.h | 210 uint16 photometric; /* image photometric interp */ member
|
A D | tif_dirread.c | 170 static int _TIFFGetMaxColorChannels(uint16 photometric); 3515 static int _TIFFGetMaxColorChannels( uint16 photometric ) in _TIFFGetMaxColorChannels() argument 3517 switch (photometric) { in _TIFFGetMaxColorChannels()
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/addtiffo/ |
A D | README | 42 photometric interpretation, and organization as the source image, but
|
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/win_dib/ |
A D | Tiffile.cpp | 304 switch (img->photometric) { in DibInstallHack()
|
/AliOS-Things-master/components/SDL2/src/image/VisualC/external/include/ |
A D | tiffio.h | 210 uint16 photometric; /* image photometric interp */ member
|