Searched defs:photometric (Results 1 - 9 of 9) sorted by relevance

/external/opencv/otherlibs/highgui/
H A Dgrfmt_tiff.cpp139 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/opencv3/modules/imgcodecs/src/
H A Dgrfmt_tiff.cpp133 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 Dfx_codec_tiff.cpp342 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 Dtif_getimage.c79 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 Dtiffio.h210 uint16 photometric; /* image photometric interp */ member in struct:_TIFFRGBAImage
H A Dtif_jpeg.c156 uint16 photometric; /* copy of PhotometricInterpretation */ member in struct:__anon14878
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 Dtif_getimage.c79 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 Dtiffio.h210 uint16 photometric; /* image photometric interp */ member in struct:_TIFFRGBAImage
H A Dtif_jpeg.c164 uint16 photometric; /* copy of PhotometricInterpretation */ member in struct:__anon16160
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...]

Completed in 301 milliseconds