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.c95 tif->tif_rawdata, tif->tif_rawdatasize); in TIFFReadAndRealloc()
101 _TIFFfree(tif->tif_rawdata); in TIFFReadAndRealloc()
102 tif->tif_rawdata = 0; in TIFFReadAndRealloc()
106 tif->tif_rawdata = new_rawdata; in TIFFReadAndRealloc()
110 tif->tif_rawdata + rawdata_offset + already_read, to_read); in TIFFReadAndRealloc()
113 memset( tif->tif_rawdata + rawdata_offset + already_read, 0, in TIFFReadAndRealloc()
216 unused_data = tif->tif_rawdataloaded - (tif->tif_rawcp - tif->tif_rawdata); in TIFFFillStripPartial()
223 memmove( tif->tif_rawdata, tif->tif_rawcp, unused_data ); in TIFFFillStripPartial()
265 tif->tif_rawcp = tif->tif_rawdata; in TIFFFillStripPartial()
270 TIFFReverseBits(tif->tif_rawdata + unused_data, to_read ); in TIFFFillStripPartial()
[all …]
Dtif_write.c42 ((((tif)->tif_flags & TIFF_BUFFERSETUP) && tif->tif_rawdata) || \
131 tif->tif_rawcp = tif->tif_rawdata; in TIFFWriteScanline()
160 tif->tif_rawcp = tif->tif_rawdata; in TIFFWriteScanline()
258 tif->tif_rawcp = tif->tif_rawdata; in TIFFWriteEncodedStrip()
291 TIFFReverseBits(tif->tif_rawdata, tif->tif_rawcc); in TIFFWriteEncodedStrip()
293 !TIFFAppendToStrip(tif, strip, tif->tif_rawdata, tif->tif_rawcc)) in TIFFWriteEncodedStrip()
296 tif->tif_rawcp = tif->tif_rawdata; in TIFFWriteEncodedStrip()
426 tif->tif_rawcp = tif->tif_rawdata; in TIFFWriteEncodedTile()
488 TIFFReverseBits((uint8*)tif->tif_rawdata, tif->tif_rawcc); in TIFFWriteEncodedTile()
490 tif->tif_rawdata, tif->tif_rawcc)) in TIFFWriteEncodedTile()
[all …]
Dtif_close.c72 if (tif->tif_rawdata && (tif->tif_flags&TIFF_MYBUFFER)) in TIFFCleanup()
73 _TIFFfree(tif->tif_rawdata); in TIFFCleanup()
Dtif_zip.c138 sp->stream.next_in = tif->tif_rawdata; in ZIPPreDecode()
242 sp->stream.next_out = tif->tif_rawdata; in ZIPPreEncode()
290 sp->stream.next_out = tif->tif_rawdata; in ZIPEncode()
318 sp->stream.next_out = tif->tif_rawdata; in ZIPPostEncode()
Dtif_lzw.c278 if (tif->tif_rawdata[0] == 0 && (tif->tif_rawdata[1] & 0x1)) { in LZWPreDecode()
841 sp->enc_rawlimit = tif->tif_rawdata + tif->tif_rawdatasize-1 - 4; in LZWPreEncode()
975 tif->tif_rawcc = (tmsize_t)(op - tif->tif_rawdata); in LZWEncode()
978 op = tif->tif_rawdata; in LZWEncode()
1061 tif->tif_rawcc = (tmsize_t)(op - tif->tif_rawdata); in LZWPostEncode()
1064 op = tif->tif_rawdata; in LZWPostEncode()
1093 tif->tif_rawcc = (tmsize_t)(op - tif->tif_rawdata); in LZWPostEncode()
Dtif_packbits.c78 ep = tif->tif_rawdata + tif->tif_rawdatasize; in PackBitsEncode()
Dtif_pixarlog.c738 sp->stream.next_in = tif->tif_rawdata; in PixarLogPreDecode()
947 sp->stream.next_out = tif->tif_rawdata; in PixarLogPreEncode()
1207 sp->stream.next_out = tif->tif_rawdata; in PixarLogEncode()
1237 sp->stream.next_out = tif->tif_rawdata; in PixarLogPostEncode()
Dtif_dir.c1740 if ((tif->tif_flags & TIFF_MYBUFFER) && tif->tif_rawdata) { in TIFFUnlinkDirectory()
1741 _TIFFfree(tif->tif_rawdata); in TIFFUnlinkDirectory()
1742 tif->tif_rawdata = NULL; in TIFFUnlinkDirectory()
Dtiffiop.h179 uint8* tif_rawdata; /* raw data buffer */ member
Dtif_open.c427 tif->tif_rawcp = tif->tif_rawdata = 0;
Dtif_jpeg.c406 sp->dest.next_output_byte = (JOCTET*) tif->tif_rawdata; in std_init_destination()
432 sp->dest.next_output_byte = (JOCTET*) tif->tif_rawdata; in std_empty_output_buffer()
536 sp->src.next_input_byte = (const JOCTET*) tif->tif_rawdata; in std_init_source()
Dtif_dirwrite.c412 if ((tif->tif_flags & TIFF_MYBUFFER) && tif->tif_rawdata) in TIFFWriteDirectorySec()
414 _TIFFfree(tif->tif_rawdata); in TIFFWriteDirectorySec()
415 tif->tif_rawdata = NULL; in TIFFWriteDirectorySec()