Searched refs:occ (Results 1 - 17 of 17) sorted by relevance

/external/opencv3/3rdparty/libtiff/
H A Dtif_next.c49 NeXTDecode(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) argument
63 for (op = (unsigned char*) buf, cc = occ; cc-- > 0;)
69 if (occ % scanline)
74 for (row = buf; occ > 0; occ -= scanline, row += scanline) {
H A Dtif_packbits.c213 PackBitsDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) argument
224 while (cc > 0 && occ > 0) {
236 if( occ < (tmsize_t)n )
240 (unsigned long) ((tmsize_t)n - occ));
241 n = (long)occ;
243 occ -= n;
248 if (occ < (tmsize_t)(n + 1))
252 (unsigned long) ((tmsize_t)n - occ + 1));
253 n = (long)occ - 1;
256 op += n; occ
[all...]
H A Dtif_lzw.c363 long occ = (long) occ0; local
378 if ((tmsize_t) occ != occ0)
388 if (residue > occ) {
395 sp->dec_restart += occ;
398 } while (--residue > occ && codep);
400 tp = op + occ;
404 } while (--occ && codep);
411 op += residue, occ -= residue;
432 while (occ > 0) {
452 *op++ = (char)code, occ
588 long occ = (long) occ0; local
[all...]
H A Dtif_luv.c184 LogL16Decode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) argument
200 npixels = occ / sp->pixel_size;
253 LogLuvDecode24(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) argument
266 npixels = occ / sp->pixel_size;
306 LogLuvDecode32(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) argument
323 npixels = occ / sp->pixel_size;
418 tmsize_t occ; local
435 occ = tif->tif_rawdatasize - tif->tif_rawcc;
438 if (occ < 4) {
440 tif->tif_rawcc = tif->tif_rawdatasize - occ;
506 tmsize_t occ; local
558 tmsize_t occ; local
[all...]
H A Dtif_thunder.c168 ThunderDecodeRow(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) argument
174 if (occ % tif->tif_scanlinesize)
179 while (occ > 0) {
182 occ -= tif->tif_scanlinesize;
H A Dtif_fax3.c227 Fax3Decode1D(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) argument
231 if (occ % sp->b.rowbytes)
238 while (occ > 0) {
251 occ -= sp->b.rowbytes;
270 Fax3Decode2D(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) argument
275 if (occ % sp->b.rowbytes)
281 while (occ > 0) {
308 occ -= sp->b.rowbytes;
1381 Fax4Decode(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) argument
1385 if (occ
1505 Fax3DecodeRLE(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) argument
[all...]
H A Dtif_lzma.c67 static int LZMADecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s);
165 LZMADecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) argument
178 sp->stream.avail_out = (size_t) occ;
179 if ((tmsize_t)sp->stream.avail_out != occ) {
H A Dtif_zip.c85 static int ZIPDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s);
147 ZIPDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) argument
164 sp->stream.avail_out = (uInt) occ;
165 if ((tmsize_t)sp->stream.avail_out != occ)
H A Dtif_pixarlog.c597 static int PixarLogDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s);
723 PixarLogDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) argument
735 nsamples = occ / sizeof(float); /* XXX float == 32 bits */
740 nsamples = occ / sizeof(uint16); /* XXX uint16 == 16 bits */
744 nsamples = occ;
/external/pdfium/third_party/libtiff/
H A Dtif_next.c49 NeXTDecode(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) argument
63 for (op = (unsigned char*) buf, cc = occ; cc-- > 0;)
69 if (occ % scanline)
74 for (row = buf; cc > 0 && occ > 0; occ -= scanline, row += scanline) {
H A Dtif_packbits.c213 PackBitsDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) argument
224 while (cc > 0 && occ > 0) {
236 if( occ < (tmsize_t)n )
240 (unsigned long) ((tmsize_t)n - occ));
241 n = (long)occ;
243 occ -= n;
248 if (occ < (tmsize_t)(n + 1))
252 (unsigned long) ((tmsize_t)n - occ + 1));
253 n = (long)occ - 1;
262 op += n; occ
[all...]
H A Dtif_lzw.c365 long occ = (long) occ0; local
381 if ((tmsize_t) occ != occ0)
391 if (residue > occ) {
398 sp->dec_restart += occ;
401 } while (--residue > occ && codep);
403 tp = op + occ;
407 } while (--occ && codep);
414 op += residue, occ -= residue;
435 while (occ > 0) {
457 *op++ = (char)code, occ
593 long occ = (long) occ0; local
[all...]
H A Dtif_thunder.c168 ThunderDecodeRow(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) argument
174 if (occ % tif->tif_scanlinesize)
179 while (occ > 0) {
182 occ -= tif->tif_scanlinesize;
H A Dtif_luv.c184 LogL16Decode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) argument
200 npixels = occ / sp->pixel_size;
253 LogLuvDecode24(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) argument
266 npixels = occ / sp->pixel_size;
306 LogLuvDecode32(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) argument
323 npixels = occ / sp->pixel_size;
424 tmsize_t occ; local
441 occ = tif->tif_rawdatasize - tif->tif_rawcc;
444 if (occ < 4) {
446 tif->tif_rawcc = tif->tif_rawdatasize - occ;
512 tmsize_t occ; local
564 tmsize_t occ; local
[all...]
H A Dtif_fax3.c227 Fax3Decode1D(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) argument
231 if (occ % sp->b.rowbytes)
238 while (occ > 0) {
251 occ -= sp->b.rowbytes;
270 Fax3Decode2D(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) argument
275 if (occ % sp->b.rowbytes)
281 while (occ > 0) {
308 occ -= sp->b.rowbytes;
1382 Fax4Decode(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) argument
1386 if (occ
1506 Fax3DecodeRLE(TIFF* tif, uint8* buf, tmsize_t occ, uint16 s) argument
[all...]
H A Dtif_zip.c87 static int ZIPDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s);
149 ZIPDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) argument
166 sp->stream.avail_out = (uInt) occ;
167 if ((tmsize_t)sp->stream.avail_out != occ)
H A Dtif_pixarlog.c597 static int PixarLogDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s);
739 PixarLogDecode(TIFF* tif, uint8* op, tmsize_t occ, uint16 s) argument
751 nsamples = occ / sizeof(float); /* XXX float == 32 bits */
756 nsamples = occ / sizeof(uint16); /* XXX uint16 == 16 bits */
760 nsamples = occ;

Completed in 248 milliseconds