Home
last modified time | relevance | path

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

/external/pdfium/third_party/libtiff/
Dtif_packbits.c38 tif->tif_data = (uint8_t *)_TIFFmallocExt(tif, sizeof(tmsize_t)); in PackBitsPreEncode()
39 if (tif->tif_data == NULL) in PackBitsPreEncode()
45 *(tmsize_t *)tif->tif_data = TIFFTileRowSize(tif); in PackBitsPreEncode()
47 *(tmsize_t *)tif->tif_data = TIFFScanlineSize(tif); in PackBitsPreEncode()
53 if (tif->tif_data) in PackBitsPostEncode()
54 _TIFFfreeExt(tif, tif->tif_data); in PackBitsPostEncode()
217 tmsize_t rowsize = *(tmsize_t *)tif->tif_data; in PackBitsEncodeChunk()
Dtif_lzw.c163 #define LZWState(tif) ((LZWBaseState *)(tif)->tif_data)
195 tif->tif_data = (uint8_t *)_TIFFmallocExt(tif, sizeof(LZWCodecState)); in LZWSetupDecode()
196 if (tif->tif_data == NULL) in LZWSetupDecode()
1377 assert(tif->tif_data != 0); in LZWCleanup()
1385 _TIFFfreeExt(tif, tif->tif_data); in LZWCleanup()
1386 tif->tif_data = NULL; in LZWCleanup()
1399 tif->tif_data = (uint8_t *)_TIFFmallocExt(tif, sizeof(LZWCodecState)); in TIFFInitLZW()
1400 if (tif->tif_data == NULL) in TIFFInitLZW()
Dtif_pixarlog.c673 #define DecoderState(tif) ((PixarLogState *)(tif)->tif_data)
674 #define EncoderState(tif) ((PixarLogState *)(tif)->tif_data)
1440 PixarLogState *sp = (PixarLogState *)tif->tif_data; in PixarLogClose()
1470 PixarLogState *sp = (PixarLogState *)tif->tif_data; in PixarLogCleanup()
1501 tif->tif_data = NULL; in PixarLogCleanup()
1509 PixarLogState *sp = (PixarLogState *)tif->tif_data; in PixarLogVSetField()
1575 PixarLogState *sp = (PixarLogState *)tif->tif_data; in PixarLogVGetField()
1619 tif->tif_data = (uint8_t *)_TIFFmallocExt(tif, sizeof(PixarLogState)); in TIFFInitPixarLog()
1620 if (tif->tif_data == NULL) in TIFFInitPixarLog()
1622 sp = (PixarLogState *)tif->tif_data; in TIFFInitPixarLog()
Dtif_luv.c173 #define DecoderState(tif) ((LogLuvState *)(tif)->tif_data)
174 #define EncoderState(tif) ((LogLuvState *)(tif)->tif_data)
1647 LogLuvState *sp = (LogLuvState *)tif->tif_data; in LogLuvClose()
1672 LogLuvState *sp = (LogLuvState *)tif->tif_data; in LogLuvCleanup()
1682 tif->tif_data = NULL; in LogLuvCleanup()
1755 LogLuvState *sp = (LogLuvState *)tif->tif_data; in LogLuvVGetField()
1792 tif->tif_data = (uint8_t *)_TIFFmallocExt(tif, sizeof(LogLuvState)); in TIFFInitSGILog()
1793 if (tif->tif_data == NULL) in TIFFInitSGILog()
1795 sp = (LogLuvState *)tif->tif_data; in TIFFInitSGILog()
Dtif_fax3.c64 #define Fax3State(tif) ((Fax3BaseState *)(tif)->tif_data)
1224 _TIFFfreeExt(tif, tif->tif_data); in Fax3Cleanup()
1225 tif->tif_data = NULL; in Fax3Cleanup()
1419 tif->tif_data = (uint8_t *)_TIFFmallocExt(tif, sizeof(Fax3CodecState)); in InitCCITTFax3()
1421 if (tif->tif_data == NULL) in InitCCITTFax3()
1426 _TIFFmemset(tif->tif_data, 0, sizeof(Fax3CodecState)); in InitCCITTFax3()
Dtif_jpeg.c244 #define JState(tif) ((JPEGState *)(tif)->tif_data)
2539 _TIFFfreeExt(tif, tif->tif_data); /* release local state */ in JPEGCleanup()
2540 tif->tif_data = NULL; in JPEGCleanup()
2852 tif->tif_data = (uint8_t *)_TIFFmallocExt(tif, sizeof(JPEGState)); in TIFFInitJPEG()
2854 if (tif->tif_data == NULL) in TIFFInitJPEG()
2859 _TIFFmemset(tif->tif_data, 0, sizeof(JPEGState)); in TIFFInitJPEG()
Dtif_aux.c281 TIFFPredictorState *sp = (TIFFPredictorState *)tif->tif_data; in TIFFVGetFieldDefaulted()
Dtiffiop.h198 uint8_t *tif_data; /* compression scheme private data */ member
Dtif_predict.c33 #define PredictorState(tif) ((TIFFPredictorState *)(tif)->tif_data)