Home | History | Annotate | Download | only in libtiff

Lines Matching defs:cc

37 static void horAcc8(TIFF* tif, uint8* cp0, tmsize_t cc);
38 static void horAcc16(TIFF* tif, uint8* cp0, tmsize_t cc);
39 static void horAcc32(TIFF* tif, uint8* cp0, tmsize_t cc);
40 static void swabHorAcc16(TIFF* tif, uint8* cp0, tmsize_t cc);
41 static void swabHorAcc32(TIFF* tif, uint8* cp0, tmsize_t cc);
42 static void horDiff8(TIFF* tif, uint8* cp0, tmsize_t cc);
43 static void horDiff16(TIFF* tif, uint8* cp0, tmsize_t cc);
44 static void horDiff32(TIFF* tif, uint8* cp0, tmsize_t cc);
45 static void swabHorDiff16(TIFF* tif, uint8* cp0, tmsize_t cc);
46 static void swabHorDiff32(TIFF* tif, uint8* cp0, tmsize_t cc);
47 static void fpAcc(TIFF* tif, uint8* cp0, tmsize_t cc);
48 static void fpDiff(TIFF* tif, uint8* cp0, tmsize_t cc);
51 static int PredictorEncodeRow(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s);
268 horAcc8(TIFF* tif, uint8* cp0, tmsize_t cc)
273 assert((cc%stride)==0);
274 if (cc > stride) {
282 cc -= 3;
284 while (cc>0) {
288 cc -= 3;
296 cc -= 4;
298 while (cc>0) {
303 cc -= 4;
307 cc -= stride;
311 cc -= stride;
312 } while (cc>0);
318 swabHorAcc16(TIFF* tif, uint8* cp0, tmsize_t cc)
321 tmsize_t wc = cc / 2;
324 horAcc16(tif, cp0, cc);
328 horAcc16(TIFF* tif, uint8* cp0, tmsize_t cc)
332 tmsize_t wc = cc / 2;
334 assert((cc%(2*stride))==0);
346 swabHorAcc32(TIFF* tif, uint8* cp0, tmsize_t cc)
349 tmsize_t wc = cc / 4;
352 horAcc32(tif, cp0, cc);
356 horAcc32(TIFF* tif, uint8* cp0, tmsize_t cc)
360 tmsize_t wc = cc / 4;
362 assert((cc%(4*stride))==0);
377 fpAcc(TIFF* tif, uint8* cp0, tmsize_t cc)
381 tmsize_t wc = cc / bps;
382 tmsize_t count = cc;
384 uint8 *tmp = (uint8 *)_TIFFmalloc(cc);
386 assert((cc%(bps*stride))==0);
397 _TIFFmemcpy(tmp, cp0, cc);
463 horDiff8(TIFF* tif, uint8* cp0, tmsize_t cc)
469 assert((cc%stride)==0);
471 if (cc > stride) {
472 cc -= stride;
486 } while ((cc -= 3) > 0);
499 } while ((cc -= 4) > 0);
501 cp += cc - 1;
504 } while ((cc -= stride) > 0);
510 horDiff16(TIFF* tif, uint8* cp0, tmsize_t cc)
515 tmsize_t wc = cc/2;
517 assert((cc%(2*stride))==0);
530 swabHorDiff16(TIFF* tif, uint8* cp0, tmsize_t cc)
533 tmsize_t wc = cc / 2;
535 horDiff16(tif, cp0, cc);
541 horDiff32(TIFF* tif, uint8* cp0, tmsize_t cc)
546 tmsize_t wc = cc/4;
548 assert((cc%(4*stride))==0);
561 swabHorDiff32(TIFF* tif, uint8* cp0, tmsize_t cc)
564 tmsize_t wc = cc / 4;
566 horDiff32(tif, cp0, cc);
575 fpDiff(TIFF* tif, uint8* cp0, tmsize_t cc)
579 tmsize_t wc = cc / bps;
582 uint8 *tmp = (uint8 *)_TIFFmalloc(cc);
584 assert((cc%(bps*stride))==0);
589 _TIFFmemcpy(tmp, cp0, cc);
604 cp += cc - stride - 1;
605 for (count = cc; count > stride; count -= stride)
610 PredictorEncodeRow(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s)
619 (*sp->encodepfunc)(tif, bp, cc);
620 return (*sp->encoderow)(tif, bp, cc, s);
629 tmsize_t cc = cc0, rowsize;
655 while (cc > 0) {
657 cc -= rowsize;