/external/opencv3/3rdparty/libtiff/ |
tif_jbig.c | 40 static int JBIGSetupDecode(TIFF* tif) 42 if (TIFFNumberOfStrips(tif) != 1) 44 TIFFErrorExt(tif->tif_clientdata, "JBIG", "Multistrip images not supported in decoder"); 51 static int JBIGDecode(TIFF* tif, uint8* buffer, tmsize_t size, uint16 s) 58 if (isFillOrder(tif, tif->tif_dir.td_fillorder)) 60 TIFFReverseBits(tif->tif_rawdata, tif->tif_rawdatasize); 66 jbg_newlen(tif->tif_rawdata, (size_t)tif->tif_rawdatasize) 147 TIFF* tif = (TIFF*)userData; local [all...] |
tif_open.c | 86 TIFF *tif; local 119 tif = (TIFF *)_TIFFmalloc((tmsize_t)(sizeof (TIFF) + strlen(name) + 1)); 120 if (tif == NULL) { 124 _TIFFmemset(tif, 0, sizeof (*tif)); 125 tif->tif_name = (char *)tif + sizeof (TIFF); 126 strcpy(tif->tif_name, name); 127 tif->tif_mode = m &~ (O_CREAT|O_TRUNC); 128 tif->tif_curdir = (uint16) -1; /* non-existent directory * [all...] |
tif_stream.cxx | 358 TIFF* tif; local 366 tif = TIFFClientOpen(name, mode, 380 tif = TIFFClientOpen(name, mode, 391 return (tif);
|
tif_unix.c | 156 TIFF* tif; local 158 tif = TIFFClientOpen(name, mode, 163 if (tif) 164 tif->tif_fd = fd; 165 return (tif); 176 TIFF* tif; local 197 tif = TIFFFdOpen((int)fd, name, mode); 198 if(!tif) 200 return tif; 215 TIFF* tif; local [all...] |
tif_win32.c | 205 TIFF* tif; local 217 tif = TIFFClientOpen(name, mode, (thandle_t)ifd, 222 if (tif) 223 tif->tif_fd = ifd; 224 return (tif); 239 TIFF* tif; local 262 tif = TIFFFdOpen((int)fd, name, mode); 263 if(!tif) 265 return tif; 280 TIFF *tif; local [all...] |
tif_getimage.c | 76 TIFFRGBAImageOK(TIFF* tif, char emsg[1024]) 78 TIFFDirectory* td = &tif->tif_dir; 82 if (!tif->tif_decodestatus) { 99 if (!TIFFGetField(tif, TIFFTAG_PHOTOMETRIC, &photometric)) { 151 TIFFGetFieldDefaulted(tif, TIFFTAG_INKSET, &inkset); 223 isCCITTCompression(TIFF* tif) 226 TIFFGetField(tif, TIFFTAG_COMPRESSION, &compress); 234 TIFFRGBAImageBegin(TIFFRGBAImage* img, TIFF* tif, int stop, char emsg[1024]) 252 img->tif = tif; 591 TIFF* tif = img->tif; local 684 TIFF* tif = img->tif; local 833 TIFF* tif = img->tif; local 916 TIFF* tif = img->tif; local [all...] |
tiffio.h | 200 TIFF* tif; /* image handle */ member in struct:_TIFFRGBAImage 336 extern void TIFFCleanup(TIFF* tif); 337 extern void TIFFClose(TIFF* tif); 338 extern int TIFFFlush(TIFF* tif); 339 extern int TIFFFlushData(TIFF* tif); 340 extern int TIFFGetField(TIFF* tif, uint32 tag, ...); 341 extern int TIFFVGetField(TIFF* tif, uint32 tag, va_list ap); 342 extern int TIFFGetFieldDefaulted(TIFF* tif, uint32 tag, ...); 343 extern int TIFFVGetFieldDefaulted(TIFF* tif, uint32 tag, va_list ap); 344 extern int TIFFReadDirectory(TIFF* tif); [all...] |
tif_jpeg.c | 47 int TIFFFillStrip(TIFF* tif, uint32 strip); 48 int TIFFFillTile(TIFF* tif, uint32 tile); 49 int TIFFReInitJPEG_12( TIFF *tif, int scheme, int is_encode ); 155 TIFF* tif; /* back link needed by some code */ member in struct:__anon20383 180 #define JState(tif) ((JPEGState*)(tif)->tif_data) 182 static int JPEGDecode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s); 183 static int JPEGDecodeRaw(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s); 184 static int JPEGEncode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s); 185 static int JPEGEncodeRaw(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) 390 TIFF* tif = sp->tif; local 400 TIFF* tif = sp->tif; local 428 TIFF* tif = sp->tif; local 520 TIFF* tif = sp->tif; local 671 TIFF* tif; member in struct:JPEGFixupTagsSubsamplingData [all...] |
tif_ojpeg.c | 246 TIFF* tif; member in struct:__anon20391 339 static int OJPEGVGetField(TIFF* tif, uint32 tag, va_list ap); 340 static int OJPEGVSetField(TIFF* tif, uint32 tag, va_list ap); 341 static void OJPEGPrintDir(TIFF* tif, FILE* fd, long flags); 343 static int OJPEGFixupTags(TIFF* tif); 344 static int OJPEGSetupDecode(TIFF* tif); 345 static int OJPEGPreDecode(TIFF* tif, uint16 s); 346 static int OJPEGPreDecodeSkipRaw(TIFF* tif); 347 static int OJPEGPreDecodeSkipScanlines(TIFF* tif); 348 static int OJPEGDecode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) 2448 TIFF* tif=(TIFF*)cinfo->client_data; local 2465 TIFF* tif=(TIFF*)cinfo->client_data; local 2474 TIFF* tif=(TIFF*)cinfo->client_data; local [all...] |
/external/pdfium/third_party/libtiff/ |
tif_open.c | 86 TIFF *tif; local 119 tif = (TIFF *)_TIFFmalloc((tmsize_t)(sizeof (TIFF) + strlen(name) + 1)); 120 if (tif == NULL) { 124 _TIFFmemset(tif, 0, sizeof (*tif)); 125 tif->tif_name = (char *)tif + sizeof (TIFF); 126 strcpy(tif->tif_name, name); 127 tif->tif_mode = m &~ (O_CREAT|O_TRUNC); 128 tif->tif_curdir = (uint16) -1; /* non-existent directory * [all...] |
tif_getimage.c | 76 TIFFRGBAImageOK(TIFF* tif, char emsg[1024]) 78 TIFFDirectory* td = &tif->tif_dir; 82 if (!tif->tif_decodestatus) { 99 if (!TIFFGetField(tif, TIFFTAG_PHOTOMETRIC, &photometric)) { 151 TIFFGetFieldDefaulted(tif, TIFFTAG_INKSET, &inkset); 238 isCCITTCompression(TIFF* tif) 241 TIFFGetField(tif, TIFFTAG_COMPRESSION, &compress); 249 TIFFRGBAImageBegin(TIFFRGBAImage* img, TIFF* tif, int stop, char emsg[1024]) 267 img->tif = tif; 606 TIFF* tif = img->tif; local 716 TIFF* tif = img->tif; local 884 TIFF* tif = img->tif; local 974 TIFF* tif = img->tif; local [all...] |
tiffio.h | 200 TIFF* tif; /* image handle */ member in struct:_TIFFRGBAImage 343 extern void TIFFCleanup(TIFF* tif); 344 extern void TIFFClose(TIFF* tif); 345 extern int TIFFFlush(TIFF* tif); 346 extern int TIFFFlushData(TIFF* tif); 347 extern int TIFFGetField(TIFF* tif, uint32 tag, ...); 348 extern int TIFFVGetField(TIFF* tif, uint32 tag, va_list ap); 349 extern int TIFFGetFieldDefaulted(TIFF* tif, uint32 tag, ...); 350 extern int TIFFVGetFieldDefaulted(TIFF* tif, uint32 tag, va_list ap); 351 extern int TIFFReadDirectory(TIFF* tif); [all...] |
tif_jpeg.c | 47 int TIFFFillStrip(TIFF* tif, uint32 strip); 48 int TIFFFillTile(TIFF* tif, uint32 tile); 49 int TIFFReInitJPEG_12( TIFF *tif, int scheme, int is_encode ); 163 TIFF* tif; /* back link needed by some code */ member in struct:__anon21662 188 #define JState(tif) ((JPEGState*)(tif)->tif_data) 190 static int JPEGDecode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s); 191 static int JPEGDecodeRaw(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s); 192 static int JPEGEncode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s); 193 static int JPEGEncodeRaw(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) 404 TIFF* tif = sp->tif; local 414 TIFF* tif = sp->tif; local 442 TIFF* tif = sp->tif; local 534 TIFF* tif = sp->tif; local 687 TIFF* tif; member in struct:JPEGFixupTagsSubsamplingData [all...] |
tif_ojpeg.c | 255 TIFF* tif; member in struct:__anon21669 348 static int OJPEGVGetField(TIFF* tif, uint32 tag, va_list ap); 349 static int OJPEGVSetField(TIFF* tif, uint32 tag, va_list ap); 350 static void OJPEGPrintDir(TIFF* tif, FILE* fd, long flags); 352 static int OJPEGFixupTags(TIFF* tif); 353 static int OJPEGSetupDecode(TIFF* tif); 354 static int OJPEGPreDecode(TIFF* tif, uint16 s); 355 static int OJPEGPreDecodeSkipRaw(TIFF* tif); 356 static int OJPEGPreDecodeSkipScanlines(TIFF* tif); 357 static int OJPEGDecode(TIFF* tif, uint8* buf, tmsize_t cc, uint16 s) 2468 TIFF* tif=(TIFF*)cinfo->client_data; local 2485 TIFF* tif=(TIFF*)cinfo->client_data; local 2494 TIFF* tif=(TIFF*)cinfo->client_data; local [all...] |
/external/opencv/otherlibs/highgui/ |
grfmt_tiff.cpp | 57 m_description = "TIFF Files (*.tiff;*.tif)"; 115 TIFF* tif = (TIFF*)m_tif; local 116 TIFFClose( tif ); 135 TIFF* tif = TIFFOpen( m_filename, "r" ); local 137 if( tif ) 140 m_tif = tif; 142 if( TIFFRGBAImageOK( tif, errmsg ) && 143 TIFFGetField( tif, TIFFTAG_IMAGEWIDTH, &width ) && 144 TIFFGetField( tif, TIFFTAG_IMAGELENGTH, &height ) && 145 TIFFGetField( tif, TIFFTAG_PHOTOMETRIC, &photometric ) && 174 TIFF* tif = (TIFF*)m_tif; local [all...] |
/external/opencv3/modules/imgcodecs/src/ |
grfmt_tiff.cpp | 85 TIFF* tif = (TIFF*)m_tif; local 86 TIFFClose( tif ); 122 TIFF* tif = static_cast<TIFF*>(m_tif); local 127 tif = TIFFOpen(m_filename.c_str(), "r"); 130 if( tif ) 134 m_tif = tif; 136 if( TIFFGetField( tif, TIFFTAG_IMAGEWIDTH, &wdth ) && 137 TIFFGetField( tif, TIFFTAG_IMAGELENGTH, &hght ) && 138 TIFFGetField( tif, TIFFTAG_PHOTOMETRIC, &photometric )) 141 TIFFGetField( tif, TIFFTAG_BITSPERSAMPLE, &bpp ) 212 TIFF* tif = (TIFF*)m_tif; local 439 TIFF *tif = static_cast<TIFF*>(m_tif); local 653 TIFF* tif = TIFFOpen(m_filename.c_str(), "w"); local [all...] |
/external/pdfium/core/src/fxcodec/codec/ |
fx_codec_tiff.cpp | 158 TIFF* tif = TIFFClientOpen("Tiff Image", mode, (thandle_t)context, _tiff_read,
local 161 if (tif) {
162 tif->tif_fd = (int)(intptr_t)context;
164 return tif;
|
/external/selinux/libsepol/cil/src/ |
cil_tree.c | 938 struct cil_tunableif *tif = node->data; local 942 cil_tree_print_expr(tif->datum_expr, tif->str_expr); [all...] |
cil_build_ast.c | 2915 struct cil_tunableif *tif = NULL; local [all...] |
cil_resolve_ast.c | 3201 struct cil_tunableif *tif = (struct cil_tunableif*)current->data; local [all...] |
/external/selinux/libsepol/cil/test/unit/ |
test_cil_resolve_ast.c | 6831 struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->data; local 7026 struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->data; local 7053 struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->data; local 7080 struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->data; local 7107 struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->data; local 7134 struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->data; local 7161 struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->data; local 7189 struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->next->data; local 7217 struct cil_tunableif *tif = (struct cil_tunableif*)test_db->ast->root->cl_head->next->next->next->next->data; local [all...] |