Lines Matching refs:cc
37 static int horAcc8(TIFF* tif, uint8* cp0, tmsize_t cc);
38 static int horAcc16(TIFF* tif, uint8* cp0, tmsize_t cc);
39 static int horAcc32(TIFF* tif, uint8* cp0, tmsize_t cc);
40 static int swabHorAcc16(TIFF* tif, uint8* cp0, tmsize_t cc);
41 static int swabHorAcc32(TIFF* tif, uint8* cp0, tmsize_t cc);
42 static int horDiff8(TIFF* tif, uint8* cp0, tmsize_t cc);
43 static int horDiff16(TIFF* tif, uint8* cp0, tmsize_t cc);
44 static int horDiff32(TIFF* tif, uint8* cp0, tmsize_t cc);
45 static int swabHorDiff16(TIFF* tif, uint8* cp0, tmsize_t cc);
46 static int swabHorDiff32(TIFF* tif, uint8* cp0, tmsize_t cc);
47 static int fpAcc(TIFF* tif, uint8* cp0, tmsize_t cc);
48 static int fpDiff(TIFF* tif, uint8* cp0, tmsize_t cc);
51 static int PredictorEncodeRow(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s);
277 horAcc8(TIFF* tif, uint8* cp0, tmsize_t cc) in horAcc8() argument
282 if((cc%stride)!=0) in horAcc8()
289 if (cc > stride) { in horAcc8()
297 cc -= 3; in horAcc8()
299 while (cc>0) { in horAcc8()
303 cc -= 3; in horAcc8()
311 cc -= 4; in horAcc8()
313 while (cc>0) { in horAcc8()
318 cc -= 4; in horAcc8()
322 cc -= stride; in horAcc8()
326 cc -= stride; in horAcc8()
327 } while (cc>0); in horAcc8()
334 swabHorAcc16(TIFF* tif, uint8* cp0, tmsize_t cc) in swabHorAcc16() argument
337 tmsize_t wc = cc / 2; in swabHorAcc16()
340 return horAcc16(tif, cp0, cc); in swabHorAcc16()
344 horAcc16(TIFF* tif, uint8* cp0, tmsize_t cc) in horAcc16() argument
348 tmsize_t wc = cc / 2; in horAcc16()
350 if((cc%(2*stride))!=0) in horAcc16()
368 swabHorAcc32(TIFF* tif, uint8* cp0, tmsize_t cc) in swabHorAcc32() argument
371 tmsize_t wc = cc / 4; in swabHorAcc32()
374 return horAcc32(tif, cp0, cc); in swabHorAcc32()
378 horAcc32(TIFF* tif, uint8* cp0, tmsize_t cc) in horAcc32() argument
382 tmsize_t wc = cc / 4; in horAcc32()
384 if((cc%(4*stride))!=0) in horAcc32()
405 fpAcc(TIFF* tif, uint8* cp0, tmsize_t cc) in fpAcc() argument
409 tmsize_t wc = cc / bps; in fpAcc()
410 tmsize_t count = cc; in fpAcc()
414 if(cc%(bps*stride)!=0) in fpAcc()
421 tmp = (uint8 *)_TIFFmalloc(cc); in fpAcc()
431 _TIFFmemcpy(tmp, cp0, cc); in fpAcc()
503 horDiff8(TIFF* tif, uint8* cp0, tmsize_t cc) in horDiff8() argument
509 if((cc%stride)!=0) in horDiff8()
516 if (cc > stride) { in horDiff8()
517 cc -= stride; in horDiff8()
531 } while ((cc -= 3) > 0); in horDiff8()
544 } while ((cc -= 4) > 0); in horDiff8()
546 cp += cc - 1; in horDiff8()
549 } while ((cc -= stride) > 0); in horDiff8()
556 horDiff16(TIFF* tif, uint8* cp0, tmsize_t cc) in horDiff16() argument
561 tmsize_t wc = cc/2; in horDiff16()
563 if((cc%(2*stride))!=0) in horDiff16()
582 swabHorDiff16(TIFF* tif, uint8* cp0, tmsize_t cc) in swabHorDiff16() argument
585 tmsize_t wc = cc / 2; in swabHorDiff16()
587 if( !horDiff16(tif, cp0, cc) ) in swabHorDiff16()
595 horDiff32(TIFF* tif, uint8* cp0, tmsize_t cc) in horDiff32() argument
600 tmsize_t wc = cc/4; in horDiff32()
602 if((cc%(4*stride))!=0) in horDiff32()
621 swabHorDiff32(TIFF* tif, uint8* cp0, tmsize_t cc) in swabHorDiff32() argument
624 tmsize_t wc = cc / 4; in swabHorDiff32()
626 if( !horDiff32(tif, cp0, cc) ) in swabHorDiff32()
637 fpDiff(TIFF* tif, uint8* cp0, tmsize_t cc) in fpDiff() argument
641 tmsize_t wc = cc / bps; in fpDiff()
646 if((cc%(bps*stride))!=0) in fpDiff()
653 tmp = (uint8 *)_TIFFmalloc(cc); in fpDiff()
657 _TIFFmemcpy(tmp, cp0, cc); in fpDiff()
672 cp += cc - stride - 1; in fpDiff()
673 for (count = cc; count > stride; count -= stride) in fpDiff()
679 PredictorEncodeRow(TIFF* tif, uint8* bp, tmsize_t cc, uint16 s) in PredictorEncodeRow() argument
688 if( !(*sp->encodepfunc)(tif, bp, cc) ) in PredictorEncodeRow()
690 return (*sp->encoderow)(tif, bp, cc, s); in PredictorEncodeRow()
699 tmsize_t cc = cc0, rowsize; in PredictorEncodeTile() local
731 while (cc > 0) { in PredictorEncodeTile()
733 cc -= rowsize; in PredictorEncodeTile()