/external/opencv/otherlibs/highgui/ |
H A D | grfmt_tiff.cpp | 139 int width = 0, height = 0, photometric = 0, compression = 0; local 145 TIFFGetField( tif, TIFFTAG_PHOTOMETRIC, &photometric ) && 152 m_iscolor = photometric > 1; 359 int photometric = -1; local 448 photometric = value; 449 if( (unsigned)photometric > 3 ) 507 if( photometric == 0 || photometric == 1 && channels == 1 ) 509 FillGrayPalette( m_palette, m_bpp, photometric == 0 ); 516 if( (photometric [all...] |
/external/ImageMagick/coders/ |
H A D | dcm.c | 2789 photometric[MagickPathExtent]; 2900 (void) CopyMagickString(photometric,"MONOCHROME1 ",MagickPathExtent); 3226 photometric[i]=(char) data[i]; 3227 photometric[i]='\0'; 3228 polarity=LocaleCompare(photometric,"MONOCHROME1 ") == 0 ? 2785 photometric[MagickPathExtent]; local
|
H A D | tiff.c | 925 static TIFFMethodType GetJPEGMethod(Image* image,TIFF *tiff,uint16 photometric, 954 if ((photometric != PHOTOMETRIC_SEPARATED) || (bits_per_sample != 8) || 1133 photometric, 1219 (TIFFGetFieldDefaulted(tiff,TIFFTAG_PHOTOMETRIC,&photometric) != 1)) 1227 switch (photometric) 1231 (void) SetImageProperty(image,"tiff:photometric","min-is-black", 1237 (void) SetImageProperty(image,"tiff:photometric","min-is-white", 1243 (void) SetImageProperty(image,"tiff:photometric","palette",exception); 1248 (void) SetImageProperty(image,"tiff:photometric","RGB",exception); 1253 (void) SetImageProperty(image,"tiff:photometric","CIELA 919 GetJPEGMethod(Image* image,TIFF *tiff,uint16 photometric, uint16 bits_per_sample,uint16 samples_per_pixel) argument 1127 photometric, local 3132 photometric; local [all...] |
/external/opencv3/modules/imgcodecs/src/ |
H A D | grfmt_tiff.cpp | 133 uint16 photometric = 0; local 138 TIFFGetField( tif, TIFFTAG_PHOTOMETRIC, &photometric )) 140 uint16 bpp=8, ncn = photometric > 1 ? 3 : 1; 146 if((bpp == 32 && ncn == 3) || photometric == PHOTOMETRIC_LOGLUV) 155 ((photometric != 2 && photometric != 1) || 163 m_type = CV_MAKETYPE(CV_8U, photometric > 1 ? wanted_channels : 1); 166 m_type = CV_MAKETYPE(CV_16U, photometric > 1 ? wanted_channels : 1); 170 m_type = CV_MAKETYPE(CV_32F, photometric > 1 ? 3 : 1); 173 m_type = CV_MAKETYPE(CV_64F, photometric > 216 uint16 photometric; local 434 int rows_per_strip = 0, photometric = 0; local [all...] |
/external/pdfium/core/src/fxcodec/codec/ |
H A D | fx_codec_tiff.cpp | 342 uint16_t photometric;
local 343 if (!TIFFGetField(tif_ctx, TIFFTAG_PHOTOMETRIC, &photometric)) {
349 if (photometric != PHOTOMETRIC_PALETTE) {
354 if (photometric != PHOTOMETRIC_RGB) {
|
/external/opencv3/3rdparty/libtiff/ |
H A D | tif_getimage.c | 79 uint16 photometric; local 99 if (!TIFFGetField(tif, TIFFTAG_PHOTOMETRIC, &photometric)) { 102 photometric = PHOTOMETRIC_MINISBLACK; 105 photometric = PHOTOMETRIC_RGB; 112 switch (photometric) { 122 photoTag, photometric, 190 photoTag, photometric); 286 if( !TIFFGetField(tif, TIFFTAG_PHOTOMETRIC, &img->photometric)) 287 img->photometric = PHOTOMETRIC_MINISWHITE; 291 && img->photometric [all...] |
H A D | tiffio.h | 210 uint16 photometric; /* image photometric interp */ member in struct:_TIFFRGBAImage
|
H A D | tif_jpeg.c | 156 uint16 photometric; /* copy of PhotometricInterpretation */ member in struct:__anon15308 973 sp->photometric = td->td_photometric; 974 switch (sp->photometric) { 1124 sp->photometric == PHOTOMETRIC_YCBCR && 1475 if (sp->photometric == PHOTOMETRIC_YCBCR) 1480 if (sp->photometric == PHOTOMETRIC_YCBCR) 1520 sp->photometric = td->td_photometric; 1521 switch (sp->photometric) { 1551 (int) sp->photometric); 1679 if (sp->photometric [all...] |
/external/pdfium/third_party/libtiff/ |
H A D | tif_getimage.c | 79 uint16 photometric; local 99 if (!TIFFGetField(tif, TIFFTAG_PHOTOMETRIC, &photometric)) { 102 photometric = PHOTOMETRIC_MINISBLACK; 105 photometric = PHOTOMETRIC_RGB; 112 switch (photometric) { 122 photoTag, photometric, 205 photoTag, photometric); 301 if( !TIFFGetField(tif, TIFFTAG_PHOTOMETRIC, &img->photometric)) 302 img->photometric = PHOTOMETRIC_MINISWHITE; 306 && img->photometric [all...] |
H A D | tiffio.h | 210 uint16 photometric; /* image photometric interp */ member in struct:_TIFFRGBAImage
|
H A D | tif_jpeg.c | 164 uint16 photometric; /* copy of PhotometricInterpretation */ member in struct:__anon16590 993 sp->photometric = td->td_photometric; 994 switch (sp->photometric) { 1144 sp->photometric == PHOTOMETRIC_YCBCR && 1566 if (sp->photometric == PHOTOMETRIC_YCBCR) 1571 if (sp->photometric == PHOTOMETRIC_YCBCR) 1601 sp->photometric = td->td_photometric; 1610 if (sp->photometric == PHOTOMETRIC_YCBCR) { 1633 switch (sp->photometric) { 1663 (int) sp->photometric); [all...] |