Home
last modified time | relevance | path

Searched refs:tif_rawdatasize (Results 1 – 13 of 13) sorted by relevance

/external/pdfium/third_party/libtiff/
Dtif_read.c78 already_read + to_read + rawdata_offset > tif->tif_rawdatasize ) in TIFFReadAndRealloc()
84 if (already_read + to_read + rawdata_offset > tif->tif_rawdatasize) { in TIFFReadAndRealloc()
87 tif->tif_rawdatasize = (tmsize_t)TIFFroundup_64( in TIFFReadAndRealloc()
89 if (tif->tif_rawdatasize==0) { in TIFFReadAndRealloc()
95 tif->tif_rawdata, tif->tif_rawdatasize); in TIFFReadAndRealloc()
103 tif->tif_rawdatasize = 0; in TIFFReadAndRealloc()
114 tif->tif_rawdatasize - rawdata_offset - already_read ); in TIFFReadAndRealloc()
193 if (read_ahead_mod > tif->tif_rawdatasize) { in TIFFFillStripPartial()
242 if( read_ahead_mod > tif->tif_rawdatasize ) in TIFFFillStripPartial()
245 to_read = tif->tif_rawdatasize - unused_data; in TIFFFillStripPartial()
[all …]
Dtif_zip.c247 sp->stream.avail_out = (uInt)tif->tif_rawdatasize; in ZIPPreEncode()
248 if ((tmsize_t)sp->stream.avail_out != tif->tif_rawdatasize) in ZIPPreEncode()
288 tif->tif_rawcc = tif->tif_rawdatasize; in ZIPEncode()
291 …sp->stream.avail_out = (uInt) tif->tif_rawdatasize; /* this is a safe typecast, as check is made … in ZIPEncode()
314 if ((tmsize_t)sp->stream.avail_out != tif->tif_rawdatasize) in ZIPPostEncode()
316 tif->tif_rawcc = tif->tif_rawdatasize - sp->stream.avail_out; in ZIPPostEncode()
319 …sp->stream.avail_out = (uInt) tif->tif_rawdatasize; /* this is a safe typecast, as check is made … in ZIPPostEncode()
Dtif_dumpmode.c52 if (tif->tif_rawcc + n > tif->tif_rawdatasize) in DumpModeEncode()
53 n = tif->tif_rawdatasize - tif->tif_rawcc; in DumpModeEncode()
67 if (tif->tif_rawcc >= tif->tif_rawdatasize && in DumpModeEncode()
Dtif_luv.c469 occ = tif->tif_rawdatasize - tif->tif_rawcc; in LogL16Encode()
474 tif->tif_rawcc = tif->tif_rawdatasize - occ; in LogL16Encode()
478 occ = tif->tif_rawdatasize - tif->tif_rawcc; in LogL16Encode()
506 tif->tif_rawcc = tif->tif_rawdatasize - occ; in LogL16Encode()
510 occ = tif->tif_rawdatasize - tif->tif_rawcc; in LogL16Encode()
526 tif->tif_rawcc = tif->tif_rawdatasize - occ; in LogL16Encode()
562 occ = tif->tif_rawdatasize - tif->tif_rawcc; in LogLuvEncode24()
566 tif->tif_rawcc = tif->tif_rawdatasize - occ; in LogLuvEncode24()
570 occ = tif->tif_rawdatasize - tif->tif_rawcc; in LogLuvEncode24()
578 tif->tif_rawcc = tif->tif_rawdatasize - occ; in LogLuvEncode24()
[all …]
Dtif_pixarlog.c952 sp->stream.avail_out = (uInt)tif->tif_rawdatasize; in PixarLogPreEncode()
953 if ((tmsize_t)sp->stream.avail_out != tif->tif_rawdatasize) in PixarLogPreEncode()
1205 tif->tif_rawcc = tif->tif_rawdatasize; in PixarLogEncode()
1208 …sp->stream.avail_out = (uInt) tif->tif_rawdatasize; /* this is a safe typecast, as check is made … in PixarLogEncode()
1233 if ((tmsize_t)sp->stream.avail_out != tif->tif_rawdatasize) { in PixarLogPostEncode()
1235 tif->tif_rawdatasize - sp->stream.avail_out; in PixarLogPostEncode()
1238 …sp->stream.avail_out = (uInt) tif->tif_rawdatasize; /* this is a safe typecast, as check is made … in PixarLogPostEncode()
Dtif_write.c245 if( tif->tif_rawdatasize <= (tmsize_t)td->td_stripbytecount[strip] ) in TIFFWriteEncodedStrip()
413 if( tif->tif_rawdatasize <= (tmsize_t) td->td_stripbytecount[tile] ) in TIFFWriteEncodedTile()
669 tif->tif_rawdatasize = size; in TIFFWriteBufferSetup()
Dtif_packbits.c78 ep = tif->tif_rawdata + tif->tif_rawdatasize; in PackBitsEncode()
Dtif_jpeg.c407 sp->dest.free_in_buffer = (size_t) tif->tif_rawdatasize; in std_init_destination()
417 tif->tif_rawcc = tif->tif_rawdatasize; in std_empty_output_buffer()
427 tif->tif_rawcc = tif->tif_rawdatasize - sp->dest.free_in_buffer; in std_empty_output_buffer()
433 sp->dest.free_in_buffer = (size_t) tif->tif_rawdatasize; in std_empty_output_buffer()
446 tif->tif_rawdatasize - (tmsize_t) sp->dest.free_in_buffer; in std_term_destination()
Dtiffiop.h180 tmsize_t tif_rawdatasize; /* # of bytes in raw data buffer */ member
Dtif_open.c428 tif->tif_rawdatasize = 0;
Dtif_fax3.c599 if ((tif)->tif_rawcc >= (tif)->tif_rawdatasize) \
606 if ((tif)->tif_rawcc >= (tif)->tif_rawdatasize) \
Dtif_lzw.c841 sp->enc_rawlimit = tif->tif_rawdata + tif->tif_rawdatasize-1 - 4; in LZWPreEncode()
Dtif_dirwrite.c417 tif->tif_rawdatasize = 0; in TIFFWriteDirectorySec()