Home
last modified time | relevance | path

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

12

/external/opencv3/3rdparty/libtiff/
Dtif_jbig.c60 TIFFReverseBits(tif->tif_rawdata, tif->tif_rawdatasize); in JBIGDecode()
66 jbg_newlen(tif->tif_rawdata, (size_t)tif->tif_rawdatasize); in JBIGDecode()
80 (size_t)tif->tif_rawdatasize, NULL); in JBIGDecode()
124 if (tif->tif_rawcc + n > tif->tif_rawdatasize) in JBIGCopyEncodedData()
126 n = tif->tif_rawdatasize - tif->tif_rawcc; in JBIGCopyEncodedData()
135 if (tif->tif_rawcc >= tif->tif_rawdatasize && in JBIGCopyEncodedData()
Dtif_read.c65 if (read_ahead*2 > tif->tif_rawdatasize) { in TIFFFillStripPartial()
116 to_read = tif->tif_rawdatasize - unused_data; in TIFFFillStripPartial()
532 tif->tif_rawdatasize = 0; in TIFFFillStrip()
571 tif->tif_rawdatasize = (tmsize_t)bytecount; in TIFFFillStrip()
596 if (bytecountm > tif->tif_rawdatasize) { in TIFFFillStrip()
835 tif->tif_rawdatasize = 0; in TIFFFillTile()
852 tif->tif_rawdatasize = (tmsize_t)bytecount; in TIFFFillTile()
871 if (bytecountm > tif->tif_rawdatasize) { in TIFFFillTile()
925 tif->tif_rawdatasize = 0; in TIFFReadBufferSetup()
928 tif->tif_rawdatasize = size; in TIFFReadBufferSetup()
[all …]
Dtif_zip.c241 sp->stream.avail_out = tif->tif_rawdatasize; in ZIPPreEncode()
242 if ((tmsize_t)sp->stream.avail_out != tif->tif_rawdatasize) in ZIPPreEncode()
281 tif->tif_rawcc = tif->tif_rawdatasize; in ZIPEncode()
284 …sp->stream.avail_out = (uInt) tif->tif_rawdatasize; /* this is a safe typecast, as check is made … in ZIPEncode()
307 if ((tmsize_t)sp->stream.avail_out != tif->tif_rawdatasize) in ZIPPostEncode()
309 tif->tif_rawcc = tif->tif_rawdatasize - sp->stream.avail_out; in ZIPPostEncode()
312 …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_lzma.c259 sp->stream.avail_out = (size_t)tif->tif_rawdatasize; in LZMAPreEncode()
260 if ((tmsize_t)sp->stream.avail_out != tif->tif_rawdatasize) { in LZMAPreEncode()
297 tif->tif_rawcc = tif->tif_rawdatasize; in LZMAEncode()
300 …sp->stream.avail_out = (size_t)tif->tif_rawdatasize; /* this is a safe typecast, as check is made… in LZMAEncode()
323 if ((tmsize_t)sp->stream.avail_out != tif->tif_rawdatasize) { in LZMAPostEncode()
325 tif->tif_rawdatasize - sp->stream.avail_out; in LZMAPostEncode()
328 …sp->stream.avail_out = (size_t)tif->tif_rawdatasize; /* this is a safe typecast, as check is made… in LZMAPostEncode()
Dtif_luv.c435 occ = tif->tif_rawdatasize - tif->tif_rawcc; in LogL16Encode()
440 tif->tif_rawcc = tif->tif_rawdatasize - occ; in LogL16Encode()
444 occ = tif->tif_rawdatasize - tif->tif_rawcc; in LogL16Encode()
472 tif->tif_rawcc = tif->tif_rawdatasize - occ; in LogL16Encode()
476 occ = tif->tif_rawdatasize - tif->tif_rawcc; in LogL16Encode()
492 tif->tif_rawcc = tif->tif_rawdatasize - occ; in LogL16Encode()
523 occ = tif->tif_rawdatasize - tif->tif_rawcc; in LogLuvEncode24()
527 tif->tif_rawcc = tif->tif_rawdatasize - occ; in LogLuvEncode24()
531 occ = tif->tif_rawdatasize - tif->tif_rawcc; in LogLuvEncode24()
539 tif->tif_rawcc = tif->tif_rawdatasize - occ; in LogLuvEncode24()
[all …]
Dtif_pixarlog.c909 sp->stream.avail_out = tif->tif_rawdatasize; in PixarLogPreEncode()
910 if ((tmsize_t)sp->stream.avail_out != tif->tif_rawdatasize) in PixarLogPreEncode()
1164 tif->tif_rawcc = tif->tif_rawdatasize; in PixarLogEncode()
1167 …sp->stream.avail_out = (uInt) tif->tif_rawdatasize; /* this is a safe typecast, as check is made … in PixarLogEncode()
1192 if ((tmsize_t)sp->stream.avail_out != tif->tif_rawdatasize) { in PixarLogPostEncode()
1194 tif->tif_rawdatasize - sp->stream.avail_out; in PixarLogPostEncode()
1197 …sp->stream.avail_out = (uInt) tif->tif_rawdatasize; /* this is a safe typecast, as check is made … in PixarLogPostEncode()
Dtif_packbits.c77 ep = tif->tif_rawdata + tif->tif_rawdatasize; in PackBitsEncode()
Dtif_jpeg.c393 sp->dest.free_in_buffer = (size_t) tif->tif_rawdatasize; in std_init_destination()
403 tif->tif_rawcc = tif->tif_rawdatasize; in std_empty_output_buffer()
413 tif->tif_rawcc = tif->tif_rawdatasize - sp->dest.free_in_buffer; in std_empty_output_buffer()
419 sp->dest.free_in_buffer = (size_t) tif->tif_rawdatasize; in std_empty_output_buffer()
432 tif->tif_rawdatasize - (tmsize_t) sp->dest.free_in_buffer; in std_term_destination()
Dtiffiop.h175 tmsize_t tif_rawdatasize; /* # of bytes in raw data buffer */ member
Dtif_open.c428 tif->tif_rawdatasize = 0;
Dtif_fax3.c568 if ((tif)->tif_rawcc >= (tif)->tif_rawdatasize) \
575 if ((tif)->tif_rawcc >= (tif)->tif_rawdatasize) \
Dtif_write.c591 tif->tif_rawdatasize = size; in TIFFWriteBufferSetup()
/external/pdfium/third_party/libtiff/
Dtif_read.c65 if (read_ahead*2 > tif->tif_rawdatasize) { in TIFFFillStripPartial()
116 to_read = tif->tif_rawdatasize - unused_data; in TIFFFillStripPartial()
532 tif->tif_rawdatasize = 0; in TIFFFillStrip()
571 tif->tif_rawdatasize = (tmsize_t)bytecount; in TIFFFillStrip()
596 if (bytecountm > tif->tif_rawdatasize) { in TIFFFillStrip()
835 tif->tif_rawdatasize = 0; in TIFFFillTile()
852 tif->tif_rawdatasize = (tmsize_t)bytecount; in TIFFFillTile()
871 if (bytecountm > tif->tif_rawdatasize) { in TIFFFillTile()
925 tif->tif_rawdatasize = 0; in TIFFReadBufferSetup()
928 tif->tif_rawdatasize = size; in TIFFReadBufferSetup()
[all …]
Dtif_zip.c243 sp->stream.avail_out = tif->tif_rawdatasize; in ZIPPreEncode()
244 if ((tmsize_t)sp->stream.avail_out != tif->tif_rawdatasize) in ZIPPreEncode()
284 tif->tif_rawcc = tif->tif_rawdatasize; in ZIPEncode()
287 …sp->stream.avail_out = (uInt) tif->tif_rawdatasize; /* this is a safe typecast, as check is made … in ZIPEncode()
310 if ((tmsize_t)sp->stream.avail_out != tif->tif_rawdatasize) in ZIPPostEncode()
312 tif->tif_rawcc = tif->tif_rawdatasize - sp->stream.avail_out; in ZIPPostEncode()
315 …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.c441 occ = tif->tif_rawdatasize - tif->tif_rawcc; in LogL16Encode()
446 tif->tif_rawcc = tif->tif_rawdatasize - occ; in LogL16Encode()
450 occ = tif->tif_rawdatasize - tif->tif_rawcc; in LogL16Encode()
478 tif->tif_rawcc = tif->tif_rawdatasize - occ; in LogL16Encode()
482 occ = tif->tif_rawdatasize - tif->tif_rawcc; in LogL16Encode()
498 tif->tif_rawcc = tif->tif_rawdatasize - occ; in LogL16Encode()
529 occ = tif->tif_rawdatasize - tif->tif_rawcc; in LogLuvEncode24()
533 tif->tif_rawcc = tif->tif_rawdatasize - occ; in LogLuvEncode24()
537 occ = tif->tif_rawdatasize - tif->tif_rawcc; in LogLuvEncode24()
545 tif->tif_rawcc = tif->tif_rawdatasize - occ; in LogLuvEncode24()
[all …]
Dtif_pixarlog.c925 sp->stream.avail_out = tif->tif_rawdatasize; in PixarLogPreEncode()
926 if ((tmsize_t)sp->stream.avail_out != tif->tif_rawdatasize) in PixarLogPreEncode()
1180 tif->tif_rawcc = tif->tif_rawdatasize; in PixarLogEncode()
1183 …sp->stream.avail_out = (uInt) tif->tif_rawdatasize; /* this is a safe typecast, as check is made … in PixarLogEncode()
1208 if ((tmsize_t)sp->stream.avail_out != tif->tif_rawdatasize) { in PixarLogPostEncode()
1210 tif->tif_rawdatasize - sp->stream.avail_out; in PixarLogPostEncode()
1213 …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()
396 if( tif->tif_rawdatasize <= (tmsize_t) td->td_stripbytecount[tile] ) in TIFFWriteEncodedTile()
635 tif->tif_rawdatasize = size; in TIFFWriteBufferSetup()
Dtif_packbits.c77 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.c569 if ((tif)->tif_rawcc >= (tif)->tif_rawdatasize) \
576 if ((tif)->tif_rawcc >= (tif)->tif_rawdatasize) \
Dtif_lzw.c827 sp->enc_rawlimit = tif->tif_rawdata + tif->tif_rawdatasize-1 - 4; in LZWPreEncode()

12