Home
last modified time | relevance | path

Searched refs:tif_rawdata (Results 1 – 12 of 12) sorted by relevance

/external/pdfium/third_party/libtiff/
Dtif_read.c108 tif->tif_rawdata, tif->tif_rawdatasize); in TIFFReadAndRealloc()
114 _TIFFfree(tif->tif_rawdata); in TIFFReadAndRealloc()
115 tif->tif_rawdata = 0; in TIFFReadAndRealloc()
119 tif->tif_rawdata = new_rawdata; in TIFFReadAndRealloc()
121 if( tif->tif_rawdata == NULL ) in TIFFReadAndRealloc()
128 tif->tif_rawdata + rawdata_offset + already_read, to_read); in TIFFReadAndRealloc()
131 memset( tif->tif_rawdata + rawdata_offset + already_read, 0, in TIFFReadAndRealloc()
231 unused_data = tif->tif_rawdataloaded - (tif->tif_rawcp - tif->tif_rawdata); in TIFFFillStripPartial()
238 memmove( tif->tif_rawdata, tif->tif_rawcp, unused_data ); in TIFFFillStripPartial()
281 tif->tif_rawcp = tif->tif_rawdata; in TIFFFillStripPartial()
[all …]
Dtif_write.c40 ((((tif)->tif_flags & TIFF_BUFFERSETUP) && tif->tif_rawdata) || \
129 tif->tif_rawcp = tif->tif_rawdata; in TIFFWriteScanline()
158 tif->tif_rawcp = tif->tif_rawdata; in TIFFWriteScanline()
256 tif->tif_rawcp = tif->tif_rawdata; in TIFFWriteEncodedStrip()
301 TIFFReverseBits(tif->tif_rawdata, tif->tif_rawcc); in TIFFWriteEncodedStrip()
303 !TIFFAppendToStrip(tif, strip, tif->tif_rawdata, tif->tif_rawcc)) in TIFFWriteEncodedStrip()
306 tif->tif_rawcp = tif->tif_rawdata; in TIFFWriteEncodedStrip()
422 tif->tif_rawcp = tif->tif_rawdata; in TIFFWriteEncodedTile()
484 TIFFReverseBits((uint8*)tif->tif_rawdata, tif->tif_rawcc); in TIFFWriteEncodedTile()
486 tif->tif_rawdata, tif->tif_rawcc)) in TIFFWriteEncodedTile()
[all …]
Dtif_close.c70 if (tif->tif_rawdata && (tif->tif_flags&TIFF_MYBUFFER)) in TIFFCleanup()
71 _TIFFfree(tif->tif_rawdata); in TIFFCleanup()
Dtif_zip.c135 sp->stream.next_in = tif->tif_rawdata; in ZIPPreDecode()
230 sp->stream.next_out = tif->tif_rawdata; in ZIPPreEncode()
269 sp->stream.next_out = tif->tif_rawdata; in ZIPEncode()
298 sp->stream.next_out = tif->tif_rawdata; in ZIPPostEncode()
Dtif_lzw.c280 tif->tif_rawdata[0] == 0 && (tif->tif_rawdata[1] & 0x1)) { in LZWPreDecode()
860 sp->enc_rawlimit = tif->tif_rawdata + tif->tif_rawdatasize-1 - 4; in LZWPreEncode()
994 tif->tif_rawcc = (tmsize_t)(op - tif->tif_rawdata); in LZWEncode()
997 op = tif->tif_rawdata; in LZWEncode()
1080 tif->tif_rawcc = (tmsize_t)(op - tif->tif_rawdata); in LZWPostEncode()
1083 op = tif->tif_rawdata; in LZWPostEncode()
1112 tif->tif_rawcc = (tmsize_t)(op - tif->tif_rawdata); in LZWPostEncode()
Dtif_packbits.c76 ep = tif->tif_rawdata + tif->tif_rawdatasize; in PackBitsEncode()
Dtif_pixarlog.c737 sp->stream.next_in = tif->tif_rawdata; in PixarLogPreDecode()
944 sp->stream.next_out = tif->tif_rawdata; in PixarLogPreEncode()
1204 sp->stream.next_out = tif->tif_rawdata; in PixarLogEncode()
1234 sp->stream.next_out = tif->tif_rawdata; in PixarLogPostEncode()
Dtif_open.c443 tif->tif_rawcp = tif->tif_rawdata = 0;
Dtiffiop.h194 uint8* tif_rawdata; /* raw data buffer */ member
Dtif_dir.c1760 if ((tif->tif_flags & TIFF_MYBUFFER) && tif->tif_rawdata) { in TIFFUnlinkDirectory()
1761 _TIFFfree(tif->tif_rawdata); in TIFFUnlinkDirectory()
1762 tif->tif_rawdata = NULL; in TIFFUnlinkDirectory()
Dtif_jpeg.c452 sp->dest.next_output_byte = (JOCTET*) tif->tif_rawdata; in std_init_destination()
478 sp->dest.next_output_byte = (JOCTET*) tif->tif_rawdata; in std_empty_output_buffer()
582 sp->src.next_input_byte = (const JOCTET*) tif->tif_rawdata; in std_init_source()
Dtif_dirwrite.c454 if ((tif->tif_flags & TIFF_MYBUFFER) && tif->tif_rawdata) in TIFFWriteDirectorySec()
456 _TIFFfree(tif->tif_rawdata); in TIFFWriteDirectorySec()
457 tif->tif_rawdata = NULL; in TIFFWriteDirectorySec()