Home
last modified time | relevance | path

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

/external/pdfium/third_party/libtiff/
Dtif_dumpmode.c49 if (tif->tif_rawcc + n > tif->tif_rawdatasize) in DumpModeEncode()
50 n = tif->tif_rawdatasize - tif->tif_rawcc; in DumpModeEncode()
61 tif->tif_rawcc += n; in DumpModeEncode()
64 if (tif->tif_rawcc >= tif->tif_rawdatasize && !TIFFFlushData1(tif)) in DumpModeEncode()
77 if (tif->tif_rawcc < cc) in DumpModeDecode()
83 tif->tif_row, tif->tif_rawcc, cc); in DumpModeDecode()
93 tif->tif_rawcc -= cc; in DumpModeDecode()
103 tif->tif_rawcc -= nrows * tif->tif_scanlinesize; in DumpModeSeek()
Dtif_write.c136 tif->tif_rawcc = 0; in TIFFWriteScanline()
267 tif->tif_rawcc = 0; in TIFFWriteEncodedStrip()
314 TIFFReverseBits(tif->tif_rawdata, tif->tif_rawcc); in TIFFWriteEncodedStrip()
315 if (tif->tif_rawcc > 0 && in TIFFWriteEncodedStrip()
316 !TIFFAppendToStrip(tif, strip, tif->tif_rawdata, tif->tif_rawcc)) in TIFFWriteEncodedStrip()
318 tif->tif_rawcc = 0; in TIFFWriteEncodedStrip()
450 tif->tif_rawcc = 0; in TIFFWriteEncodedTile()
515 TIFFReverseBits((uint8_t *)tif->tif_rawdata, tif->tif_rawcc); in TIFFWriteEncodedTile()
516 if (tif->tif_rawcc > 0 && in TIFFWriteEncodedTile()
517 !TIFFAppendToStrip(tif, tile, tif->tif_rawdata, tif->tif_rawcc)) in TIFFWriteEncodedTile()
[all …]
Dtif_luv.c216 cc = tif->tif_rawcc; in LogL16Decode()
246 tif->tif_rawcc = cc; in LogL16Decode()
252 tif->tif_rawcc = cc; in LogL16Decode()
288 cc = tif->tif_rawcc; in LogLuvDecode24()
296 tif->tif_rawcc = cc; in LogLuvDecode24()
346 cc = tif->tif_rawcc; in LogLuvDecode32()
376 tif->tif_rawcc = cc; in LogLuvDecode32()
382 tif->tif_rawcc = cc; in LogLuvDecode32()
465 occ = tif->tif_rawdatasize - tif->tif_rawcc; in LogL16Encode()
473 tif->tif_rawcc = tif->tif_rawdatasize - occ; in LogL16Encode()
[all …]
Dtif_packbits.c104 tif->tif_rawcc += (tmsize_t)(lastliteral - tif->tif_rawcp); in PackBitsEncode()
114 tif->tif_rawcc += (tmsize_t)(op - tif->tif_rawcp); in PackBitsEncode()
203 tif->tif_rawcc += (tmsize_t)(op - tif->tif_rawcp); in PackBitsEncode()
244 cc = tif->tif_rawcc; in PackBitsDecode()
300 tif->tif_rawcc = cc; in PackBitsDecode()
Dtif_lzw.c262 if (tif->tif_rawcc >= 2 && tif->tif_rawdata[0] == 0 && in LZWPreDecode()
477 sp->dec_bitsleft += (((uint64_t)tif->tif_rawcc - sp->old_tif_rawcc) << 3); in LZWDecode()
722 tif->tif_rawcc -= (tmsize_t)((uint8_t *)bp - tif->tif_rawcp); in LZWDecode()
724 sp->old_tif_rawcc = tif->tif_rawcc; in LZWDecode()
858 sp->dec_bitsleft += (((uint64_t)tif->tif_rawcc - sp->old_tif_rawcc) << 3); in LZWDecodeCompat()
991 tif->tif_rawcc -= (tmsize_t)((uint8_t *)bp - tif->tif_rawcp); in LZWDecodeCompat()
994 sp->old_tif_rawcc = tif->tif_rawcc; in LZWDecodeCompat()
1213 tif->tif_rawcc = (tmsize_t)(op - tif->tif_rawdata); in LZWEncode()
1306 tif->tif_rawcc = (tmsize_t)(op - tif->tif_rawdata); in LZWPostEncode()
1343 tif->tif_rawcc = (tmsize_t)(op - tif->tif_rawdata); in LZWPostEncode()
Dtif_next.c75 cc = tif->tif_rawcc; in NeXTDecode()
162 tif->tif_rawcc = cc; in NeXTDecode()
Dtif_thunder.c94 cc = tif->tif_rawcc; in ThunderDecode()
154 tif->tif_rawcc = cc; in ThunderDecode()
Dtif_read.c260 tif->tif_rawcc = tif->tif_rawdataloaded; in TIFFFillStripPartial()
284 (uint64_t)tif->tif_rawcc < TIFFGetStrileByteCount(tif, strip)) in TIFFFillStripPartial()
1411 tif->tif_rawcc = 0; in TIFFStartStrip()
1417 tif->tif_rawcc = tif->tif_rawdataloaded; in TIFFStartStrip()
1419 tif->tif_rawcc = (tmsize_t)TIFFGetStrileByteCount(tif, strip); in TIFFStartStrip()
1470 tif->tif_rawcc = 0; in TIFFStartTile()
1476 tif->tif_rawcc = tif->tif_rawdataloaded; in TIFFStartTile()
1478 tif->tif_rawcc = (tmsize_t)TIFFGetStrileByteCount(tif, tile); in TIFFStartTile()
Dtif_fax3.c138 ep = cp + tif->tif_rawcc; \
149 tif->tif_rawcc -= (tmsize_t)((uint8_t *)cp - tif->tif_rawcp); \
600 if ((tif)->tif_rawcc >= (tif)->tif_rawdatasize) \
606 (tif)->tif_rawcc++; \
611 if ((tif)->tif_rawcc >= (tif)->tif_rawdatasize) \
617 (tif)->tif_rawcc++; \
Dtif_jpeg.c529 tif->tif_rawcc = tif->tif_rawdatasize; in std_empty_output_buffer()
540 tif->tif_rawcc = tif->tif_rawdatasize - sp->dest.free_in_buffer; in std_empty_output_buffer()
558 tif->tif_rawcc = tif->tif_rawdatasize - (tmsize_t)sp->dest.free_in_buffer; in std_term_destination()
649 sp->src.bytes_in_buffer = (size_t)tif->tif_rawcc; in std_init_source()
1227 tif->tif_rawcc = sp->src.bytes_in_buffer; in JPEGPreDecode()
1479 sp->src.bytes_in_buffer = (size_t)tif->tif_rawcc; in JPEGDecode()
1513 tif->tif_rawcc = sp->src.bytes_in_buffer; in JPEGDecode()
1534 sp->src.bytes_in_buffer = (size_t)tif->tif_rawcc; in JPEGDecode()
1620 tif->tif_rawcc = sp->src.bytes_in_buffer; in JPEGDecode()
Dtif_pixarlog.c825 sp->stream.avail_in = (uInt)tif->tif_rawcc; in PixarLogPreDecode()
826 if ((tmsize_t)sp->stream.avail_in != tif->tif_rawcc) in PixarLogPreDecode()
871 sp->stream.avail_in = (uInt)tif->tif_rawcc; in PixarLogDecode()
923 tif->tif_rawcc = sp->stream.avail_in; in PixarLogDecode()
1383 tif->tif_rawcc = tif->tif_rawdatasize; in PixarLogEncode()
1418 tif->tif_rawcc = in PixarLogPostEncode()
Dtiffiop.h207 tmsize_t tif_rawcc; /* bytes unread from raw buffer */ member
Dtif_dirwrite.c507 if (tif->tif_rawcc > 0 && (tif->tif_flags & TIFF_BEENWRITING) != 0) in TIFFWriteDirectorySec()
520 tif->tif_rawcc = 0; in TIFFWriteDirectorySec()
Dtif_dir.c2216 tif->tif_rawcc = 0; in TIFFUnlinkDirectory()