Home
last modified time | relevance | path

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

/external/pdfium/third_party/libtiff/
Dtif_read.c90 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 …]
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()
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 …]
D0012-initialize-tif-rawdata.patch8 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) {
Dtif_close.c72 if (tif->tif_rawdata && (tif->tif_flags&TIFF_MYBUFFER)) in TIFFCleanup()
73 _TIFFfree(tif->tif_rawdata); in TIFFCleanup()
Dtif_lzw.c278 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()
Dtif_zip.c134 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()
DREADME.pdfium24 0012-initialize-tif-rawdata.patch: Initialize tif_rawdata to guard against unitialized access
Dtif_packbits.c77 ep = tif->tif_rawdata + tif->tif_rawdatasize; in PackBitsEncode()
Dtif_pixarlog.c726 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()
Dtif_dir.c1688 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()
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.c411 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()