Home
last modified time | relevance | path

Searched refs:tif_data (Results 1 – 11 of 11) sorted by relevance

/external/pdfium/third_party/libtiff/
Dtif_packbits.c39 tif->tif_data = (uint8*)_TIFFmalloc(sizeof(tmsize_t)); in PackBitsPreEncode()
40 if (tif->tif_data == NULL) in PackBitsPreEncode()
46 *(tmsize_t*)tif->tif_data = TIFFTileRowSize(tif); in PackBitsPreEncode()
48 *(tmsize_t*)tif->tif_data = TIFFScanlineSize(tif); in PackBitsPreEncode()
55 if (tif->tif_data) in PackBitsPostEncode()
56 _TIFFfree(tif->tif_data); in PackBitsPostEncode()
197 tmsize_t rowsize = *(tmsize_t*)tif->tif_data; in PackBitsEncodeChunk()
Dtif_ojpeg.c472 tif->tif_data=(uint8*)sp; in TIFFInitOJPEG()
493 OJPEGState* sp=(OJPEGState*)tif->tif_data; in OJPEGVGetField()
536 OJPEGState* sp=(OJPEGState*)tif->tif_data; in OJPEGVSetField()
622 OJPEGState* sp=(OJPEGState*)tif->tif_data; in OJPEGPrintDir()
677 OJPEGState* sp=(OJPEGState*)tif->tif_data; in OJPEGPreDecode()
741 OJPEGState* sp=(OJPEGState*)tif->tif_data; in OJPEGPreDecodeSkipRaw()
776 OJPEGState* sp=(OJPEGState*)tif->tif_data; in OJPEGPreDecodeSkipScanlines()
799 OJPEGState* sp=(OJPEGState*)tif->tif_data; in OJPEGDecode()
827 OJPEGState* sp=(OJPEGState*)tif->tif_data; in OJPEGDecodeRaw()
915 OJPEGState* sp=(OJPEGState*)tif->tif_data; in OJPEGDecodeScanlines()
[all …]
Dtif_zip.c80 #define ZState(tif) ((ZIPState*) (tif)->tif_data)
331 tif->tif_data = NULL; in ZIPCleanup()
400 tif->tif_data = (uint8*) _TIFFmalloc(sizeof (ZIPState)); in TIFFInitZIP()
401 if (tif->tif_data == NULL) in TIFFInitZIP()
Dtif_lzw.c156 #define LZWState(tif) ((LZWBaseState*) (tif)->tif_data)
210 tif->tif_data = (uint8*) _TIFFmalloc(sizeof(LZWCodecState)); in LZWSetupDecode()
211 if (tif->tif_data == NULL) in LZWSetupDecode()
1146 assert(tif->tif_data != 0); in LZWCleanup()
1154 _TIFFfree(tif->tif_data); in LZWCleanup()
1155 tif->tif_data = NULL; in LZWCleanup()
1168 tif->tif_data = (uint8*) _TIFFmalloc(sizeof (LZWCodecState)); in TIFFInitLZW()
1169 if (tif->tif_data == NULL) in TIFFInitLZW()
Dtif_pixarlog.c594 #define DecoderState(tif) ((PixarLogState*) (tif)->tif_data)
595 #define EncoderState(tif) ((PixarLogState*) (tif)->tif_data)
1250 PixarLogState* sp = (PixarLogState*) tif->tif_data; in PixarLogClose()
1280 PixarLogState* sp = (PixarLogState*) tif->tif_data; in PixarLogCleanup()
1304 tif->tif_data = NULL; in PixarLogCleanup()
1313 PixarLogState *sp = (PixarLogState *)tif->tif_data; in PixarLogVSetField()
1374 PixarLogState *sp = (PixarLogState *)tif->tif_data; in PixarLogVGetField()
1416 tif->tif_data = (uint8*) _TIFFmalloc(sizeof (PixarLogState)); in TIFFInitPixarLog()
1417 if (tif->tif_data == NULL) in TIFFInitPixarLog()
1419 sp = (PixarLogState*) tif->tif_data; in TIFFInitPixarLog()
Dtif_luv.c172 #define DecoderState(tif) ((LogLuvState*) (tif)->tif_data)
173 #define EncoderState(tif) ((LogLuvState*) (tif)->tif_data)
1572 LogLuvState* sp = (LogLuvState*) tif->tif_data; in LogLuvClose()
1598 LogLuvState* sp = (LogLuvState *)tif->tif_data; in LogLuvCleanup()
1608 tif->tif_data = NULL; in LogLuvCleanup()
1679 LogLuvState *sp = (LogLuvState *)tif->tif_data; in LogLuvVGetField()
1716 tif->tif_data = (uint8*) _TIFFmalloc(sizeof (LogLuvState)); in TIFFInitSGILog()
1717 if (tif->tif_data == NULL) in TIFFInitSGILog()
1719 sp = (LogLuvState*) tif->tif_data; in TIFFInitSGILog()
Dtif_fax3.c63 #define Fax3State(tif) ((Fax3BaseState*) (tif)->tif_data)
1166 _TIFFfree(tif->tif_data); in Fax3Cleanup()
1167 tif->tif_data = NULL; in Fax3Cleanup()
1348 tif->tif_data = (uint8*) in InitCCITTFax3()
1351 if (tif->tif_data == NULL) { in InitCCITTFax3()
1356 _TIFFmemset(tif->tif_data, 0, sizeof (Fax3CodecState)); in InitCCITTFax3()
Dtif_jpeg.c192 #define JState(tif) ((JPEGState*)(tif)->tif_data)
2249 _TIFFfree(tif->tif_data); /* release local state */ in JPEGCleanup()
2250 tif->tif_data = NULL; in JPEGCleanup()
2505 tif->tif_data = (uint8*) _TIFFmalloc(sizeof (JPEGState)); in TIFFInitJPEG()
2507 if (tif->tif_data == NULL) { in TIFFInitJPEG()
2512 _TIFFmemset(tif->tif_data, 0, sizeof(JPEGState)); in TIFFInitJPEG()
Dtif_aux.c250 TIFFPredictorState* sp = (TIFFPredictorState*) tif->tif_data; in TIFFVGetFieldDefaulted()
Dtiffiop.h190 uint8* tif_data; /* compression scheme private data */ member
Dtif_predict.c33 #define PredictorState(tif) ((TIFFPredictorState*) (tif)->tif_data)