/external/pdfium/third_party/libtiff/ |
D | tif_lzw.c | 365 long occ = (long) occ0; in LZWDecode() local 381 if ((tmsize_t) occ != occ0) in LZWDecode() 391 if (residue > occ) { in LZWDecode() 398 sp->dec_restart += occ; in LZWDecode() 401 } while (--residue > occ && codep); in LZWDecode() 403 tp = op + occ; in LZWDecode() 407 } while (--occ && codep); in LZWDecode() 414 op += residue, occ -= residue; in LZWDecode() 435 while (occ > 0) { in LZWDecode() 457 *op++ = (char)code, occ--; in LZWDecode() [all …]
|
D | tif_packbits.c | 213 PackBitsDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) in PackBitsDecode() argument 224 while (cc > 0 && occ > 0) { in PackBitsDecode() 236 if( occ < (tmsize_t)n ) in PackBitsDecode() 240 (unsigned long) ((tmsize_t)n - occ)); in PackBitsDecode() 241 n = (long)occ; in PackBitsDecode() 243 occ -= n; in PackBitsDecode() 248 if (occ < (tmsize_t)(n + 1)) in PackBitsDecode() 252 (unsigned long) ((tmsize_t)n - occ + 1)); in PackBitsDecode() 253 n = (long)occ - 1; in PackBitsDecode() 262 op += n; occ -= n; in PackBitsDecode() [all …]
|
D | tif_luv.c | 184 LogL16Decode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) in LogL16Decode() argument 200 npixels = occ / sp->pixel_size; in LogL16Decode() 253 LogLuvDecode24(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) in LogLuvDecode24() argument 266 npixels = occ / sp->pixel_size; in LogLuvDecode24() 306 LogLuvDecode32(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) in LogLuvDecode32() argument 323 npixels = occ / sp->pixel_size; in LogLuvDecode32() 424 tmsize_t occ; in LogL16Encode() local 441 occ = tif->tif_rawdatasize - tif->tif_rawcc; in LogL16Encode() 444 if (occ < 4) { in LogL16Encode() 446 tif->tif_rawcc = tif->tif_rawdatasize - occ; in LogL16Encode() [all …]
|
D | tif_next.c | 49 NeXTDecode(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) in NeXTDecode() argument 63 for (op = (unsigned char*) buf, cc = occ; cc-- > 0;) in NeXTDecode() 69 if (occ % scanline) in NeXTDecode() 74 for (row = buf; cc > 0 && occ > 0; occ -= scanline, row += scanline) { in NeXTDecode()
|
D | tif_thunder.c | 168 ThunderDecodeRow(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) in ThunderDecodeRow() argument 174 if (occ % tif->tif_scanlinesize) in ThunderDecodeRow() 179 while (occ > 0) { in ThunderDecodeRow() 182 occ -= tif->tif_scanlinesize; in ThunderDecodeRow()
|
D | tif_fax3.c | 227 Fax3Decode1D(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) in Fax3Decode1D() argument 231 if (occ % sp->b.rowbytes) in Fax3Decode1D() 238 while (occ > 0) { in Fax3Decode1D() 251 occ -= sp->b.rowbytes; in Fax3Decode1D() 270 Fax3Decode2D(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) in Fax3Decode2D() argument 275 if (occ % sp->b.rowbytes) in Fax3Decode2D() 281 while (occ > 0) { in Fax3Decode2D() 308 occ -= sp->b.rowbytes; in Fax3Decode2D() 1382 Fax4Decode(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) in Fax4Decode() argument 1386 if (occ % sp->b.rowbytes) in Fax4Decode() [all …]
|
D | tif_zip.c | 87 static int ZIPDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s); 149 ZIPDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) in ZIPDecode() argument 166 sp->stream.avail_out = (uInt) occ; in ZIPDecode() 167 if ((tmsize_t)sp->stream.avail_out != occ) in ZIPDecode()
|
D | tif_pixarlog.c | 597 static int PixarLogDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s); 739 PixarLogDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) in PixarLogDecode() argument 751 nsamples = occ / sizeof(float); /* XXX float == 32 bits */ in PixarLogDecode() 756 nsamples = occ / sizeof(uint16); /* XXX uint16 == 16 bits */ in PixarLogDecode() 760 nsamples = occ; in PixarLogDecode()
|
/external/opencv3/3rdparty/libtiff/ |
D | tif_lzw.c | 363 long occ = (long) occ0; in LZWDecode() local 378 if ((tmsize_t) occ != occ0) in LZWDecode() 388 if (residue > occ) { in LZWDecode() 395 sp->dec_restart += occ; in LZWDecode() 398 } while (--residue > occ && codep); in LZWDecode() 400 tp = op + occ; in LZWDecode() 404 } while (--occ && codep); in LZWDecode() 411 op += residue, occ -= residue; in LZWDecode() 432 while (occ > 0) { in LZWDecode() 452 *op++ = (char)code, occ--; in LZWDecode() [all …]
|
D | tif_packbits.c | 213 PackBitsDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) in PackBitsDecode() argument 224 while (cc > 0 && occ > 0) { in PackBitsDecode() 236 if( occ < (tmsize_t)n ) in PackBitsDecode() 240 (unsigned long) ((tmsize_t)n - occ)); in PackBitsDecode() 241 n = (long)occ; in PackBitsDecode() 243 occ -= n; in PackBitsDecode() 248 if (occ < (tmsize_t)(n + 1)) in PackBitsDecode() 252 (unsigned long) ((tmsize_t)n - occ + 1)); in PackBitsDecode() 253 n = (long)occ - 1; in PackBitsDecode() 256 op += n; occ -= n; in PackBitsDecode() [all …]
|
D | tif_luv.c | 184 LogL16Decode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) in LogL16Decode() argument 200 npixels = occ / sp->pixel_size; in LogL16Decode() 253 LogLuvDecode24(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) in LogLuvDecode24() argument 266 npixels = occ / sp->pixel_size; in LogLuvDecode24() 306 LogLuvDecode32(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) in LogLuvDecode32() argument 323 npixels = occ / sp->pixel_size; in LogLuvDecode32() 418 tmsize_t occ; in LogL16Encode() local 435 occ = tif->tif_rawdatasize - tif->tif_rawcc; in LogL16Encode() 438 if (occ < 4) { in LogL16Encode() 440 tif->tif_rawcc = tif->tif_rawdatasize - occ; in LogL16Encode() [all …]
|
D | tif_next.c | 49 NeXTDecode(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) in NeXTDecode() argument 63 for (op = (unsigned char*) buf, cc = occ; cc-- > 0;) in NeXTDecode() 69 if (occ % scanline) in NeXTDecode() 74 for (row = buf; occ > 0; occ -= scanline, row += scanline) { in NeXTDecode()
|
D | tif_thunder.c | 168 ThunderDecodeRow(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) in ThunderDecodeRow() argument 174 if (occ % tif->tif_scanlinesize) in ThunderDecodeRow() 179 while (occ > 0) { in ThunderDecodeRow() 182 occ -= tif->tif_scanlinesize; in ThunderDecodeRow()
|
D | tif_fax3.c | 227 Fax3Decode1D(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) in Fax3Decode1D() argument 231 if (occ % sp->b.rowbytes) in Fax3Decode1D() 238 while (occ > 0) { in Fax3Decode1D() 251 occ -= sp->b.rowbytes; in Fax3Decode1D() 270 Fax3Decode2D(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) in Fax3Decode2D() argument 275 if (occ % sp->b.rowbytes) in Fax3Decode2D() 281 while (occ > 0) { in Fax3Decode2D() 308 occ -= sp->b.rowbytes; in Fax3Decode2D() 1381 Fax4Decode(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) in Fax4Decode() argument 1385 if (occ % sp->b.rowbytes) in Fax4Decode() [all …]
|
D | tif_zip.c | 85 static int ZIPDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s); 147 ZIPDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) in ZIPDecode() argument 164 sp->stream.avail_out = (uInt) occ; in ZIPDecode() 165 if ((tmsize_t)sp->stream.avail_out != occ) in ZIPDecode()
|
D | tif_lzma.c | 67 static int LZMADecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s); 165 LZMADecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) in LZMADecode() argument 178 sp->stream.avail_out = (size_t) occ; in LZMADecode() 179 if ((tmsize_t)sp->stream.avail_out != occ) { in LZMADecode()
|
D | tif_pixarlog.c | 597 static int PixarLogDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s); 723 PixarLogDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) in PixarLogDecode() argument 735 nsamples = occ / sizeof(float); /* XXX float == 32 bits */ in PixarLogDecode() 740 nsamples = occ / sizeof(uint16); /* XXX uint16 == 16 bits */ in PixarLogDecode() 744 nsamples = occ; in PixarLogDecode()
|