Searched refs:tif_rawdata (Results 1 – 14 of 14) sorted by relevance
/external/pdfium/third_party/libtiff/ |
D | tif_read.c | 90 unused_data = tif->tif_rawdataloaded - (tif->tif_rawcp - tif->tif_rawdata); in TIFFFillStripPartial() 97 memmove( tif->tif_rawdata, tif->tif_rawcp, unused_data ); in TIFFFillStripPartial() 125 cc = TIFFReadFile(tif, tif->tif_rawdata + unused_data, to_read); in TIFFFillStripPartial() 147 tif->tif_rawcp = tif->tif_rawdata; in TIFFFillStripPartial() 152 TIFFReverseBits(tif->tif_rawdata + unused_data, to_read ); in TIFFFillStripPartial() 243 if( ((tif->tif_rawdata + tif->tif_rawdataloaded) - tif->tif_rawcp) < read_ahead in TIFFSeek() 529 if ((tif->tif_flags & TIFF_MYBUFFER) && tif->tif_rawdata) { in TIFFFillStrip() 530 _TIFFfree(tif->tif_rawdata); in TIFFFillStrip() 531 tif->tif_rawdata = NULL; in TIFFFillStrip() 572 tif->tif_rawdata = tif->tif_base + (tmsize_t)td->td_stripoffset[strip]; in TIFFFillStrip() [all …]
|
D | tif_write.c | 42 ((((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() 274 TIFFReverseBits(tif->tif_rawdata, tif->tif_rawcc); in TIFFWriteEncodedStrip() 276 !TIFFAppendToStrip(tif, strip, tif->tif_rawdata, tif->tif_rawcc)) in TIFFWriteEncodedStrip() 279 tif->tif_rawcp = tif->tif_rawdata; in TIFFWriteEncodedStrip() 409 tif->tif_rawcp = tif->tif_rawdata; in TIFFWriteEncodedTile() 454 TIFFReverseBits((uint8*)tif->tif_rawdata, tif->tif_rawcc); in TIFFWriteEncodedTile() 456 tif->tif_rawdata, tif->tif_rawcc)) in TIFFWriteEncodedTile() [all …]
|
D | 0012-initialize-tif-rawdata.patch | 8 tif->tif_rawdata = (uint8*) _TIFFmalloc(tif->tif_rawdatasize); 9 + if (tif->tif_rawdata) 10 + memset(tif->tif_rawdata, 0, tif->tif_rawdatasize); 14 if (tif->tif_rawdata == NULL) {
|
D | tif_close.c | 72 if (tif->tif_rawdata && (tif->tif_flags&TIFF_MYBUFFER)) in TIFFCleanup() 73 _TIFFfree(tif->tif_rawdata); in TIFFCleanup()
|
D | tif_lzw.c | 278 if (tif->tif_rawdata[0] == 0 && (tif->tif_rawdata[1] & 0x1)) { in LZWPreDecode() 827 sp->enc_rawlimit = tif->tif_rawdata + tif->tif_rawdatasize-1 - 4; in LZWPreEncode() 961 tif->tif_rawcc = (tmsize_t)(op - tif->tif_rawdata); in LZWEncode() 963 op = tif->tif_rawdata; in LZWEncode() 1046 tif->tif_rawcc = (tmsize_t)(op - tif->tif_rawdata); in LZWPostEncode() 1048 op = tif->tif_rawdata; in LZWPostEncode() 1058 tif->tif_rawcc = (tmsize_t)(op - tif->tif_rawdata); in LZWPostEncode()
|
D | tif_zip.c | 134 sp->stream.next_in = tif->tif_rawdata; in ZIPPreDecode() 238 sp->stream.next_out = tif->tif_rawdata; in ZIPPreEncode() 286 sp->stream.next_out = tif->tif_rawdata; in ZIPEncode() 314 sp->stream.next_out = tif->tif_rawdata; in ZIPPostEncode()
|
D | README.pdfium | 24 0012-initialize-tif-rawdata.patch: Initialize tif_rawdata to guard against unitialized access
|
D | tif_packbits.c | 77 ep = tif->tif_rawdata + tif->tif_rawdatasize; in PackBitsEncode()
|
D | tif_pixarlog.c | 726 sp->stream.next_in = tif->tif_rawdata; in PixarLogPreDecode() 928 sp->stream.next_out = tif->tif_rawdata; in PixarLogPreEncode() 1190 sp->stream.next_out = tif->tif_rawdata; in PixarLogEncode() 1220 sp->stream.next_out = tif->tif_rawdata; in PixarLogPostEncode()
|
D | tif_dir.c | 1688 if ((tif->tif_flags & TIFF_MYBUFFER) && tif->tif_rawdata) { in TIFFUnlinkDirectory() 1689 _TIFFfree(tif->tif_rawdata); in TIFFUnlinkDirectory() 1690 tif->tif_rawdata = NULL; in TIFFUnlinkDirectory()
|
D | tiffiop.h | 179 uint8* tif_rawdata; /* raw data buffer */ member
|
D | tif_open.c | 427 tif->tif_rawcp = tif->tif_rawdata = 0;
|
D | tif_jpeg.c | 406 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()
|
D | tif_dirwrite.c | 411 if ((tif->tif_flags & TIFF_MYBUFFER) && tif->tif_rawdata) in TIFFWriteDirectorySec() 413 _TIFFfree(tif->tif_rawdata); in TIFFWriteDirectorySec() 414 tif->tif_rawdata = NULL; in TIFFWriteDirectorySec()
|