Lines Matching refs:sumL
97 uint32 sumL, ctrL; in bim_ToneDownBGSupp_BGGreyLevelOutside() local
126 sumL = 0; in bim_ToneDownBGSupp_BGGreyLevelOutside()
134 sumL += *imgPtrL; in bim_ToneDownBGSupp_BGGreyLevelOutside()
146 sumL += *imgPtrL; in bim_ToneDownBGSupp_BGGreyLevelOutside()
159 sumL += imgPtrL[ iL ]; in bim_ToneDownBGSupp_BGGreyLevelOutside()
169 sumL += imgPtrL[ iL ]; in bim_ToneDownBGSupp_BGGreyLevelOutside()
176 *meanBGGrayLevelA = ( sumL << 16 ) / ( uint32 ) ctrL; in bim_ToneDownBGSupp_BGGreyLevelOutside()
179 *meanBGGrayLevelA = sumL / ctrL; /* integer division */ in bim_ToneDownBGSupp_BGGreyLevelOutside()
180 sumL = sumL - *meanBGGrayLevelA * ctrL; /* result always greater than or equal to zero */ in bim_ToneDownBGSupp_BGGreyLevelOutside()
182 *meanBGGrayLevelA = *meanBGGrayLevelA + ( sumL << 16 ) / ctrL; /* add residue */ in bim_ToneDownBGSupp_BGGreyLevelOutside()
198 uint32 sumL, ctrL; in bim_ToneDownBGSupp_BGGreyLevelContour() local
270 sumL = 0; in bim_ToneDownBGSupp_BGGreyLevelContour()
280 sumL += imgPtr0L[ iL ]; in bim_ToneDownBGSupp_BGGreyLevelContour()
281 sumL += imgPtr1L[ iL ]; in bim_ToneDownBGSupp_BGGreyLevelContour()
287 sumL += *imgPtr0L; in bim_ToneDownBGSupp_BGGreyLevelContour()
288 sumL += *imgPtr1L; in bim_ToneDownBGSupp_BGGreyLevelContour()
297 *meanBGGrayLevelA = ( sumL << 16 ) / ( uint32 ) ctrL; in bim_ToneDownBGSupp_BGGreyLevelContour()
300 *meanBGGrayLevelA = sumL / ctrL; /* integer division */ in bim_ToneDownBGSupp_BGGreyLevelContour()
301 sumL = sumL - *meanBGGrayLevelA * ctrL; /* result always greater than or equal to zero */ in bim_ToneDownBGSupp_BGGreyLevelContour()
303 *meanBGGrayLevelA = *meanBGGrayLevelA + ( sumL << 16 ) / ctrL; /* add residue */ in bim_ToneDownBGSupp_BGGreyLevelContour()
345 int32 opSrcL, opBGL, sumL; /* R=[0.0...255.0], bpb=[24,8] */ in bim_ToneDownBGSupp_suppress() local
487 sumL = opSrcL + opBGL; /* OF impossible */ in bim_ToneDownBGSupp_suppress()
488 imgPtrL[ iL ] = sumL >> 16; /* round to byte */ in bim_ToneDownBGSupp_suppress()
509 sumL = opSrcL + opBGL; /* OF impossible */ in bim_ToneDownBGSupp_suppress()
510 imgPtrL[ iL ] = sumL >> 16; /* round to byte */ in bim_ToneDownBGSupp_suppress()
528 sumL = opSrcL + opBGL; /* OF impossible */ in bim_ToneDownBGSupp_suppress()
529 imgPtrL[ iL ] = sumL >> 16; /* round to byte */ in bim_ToneDownBGSupp_suppress()
543 sumL = opSrcL + opBGL; /* OF impossible */ in bim_ToneDownBGSupp_suppress()
544 imgPtrL[ iL ] = sumL >> 16; /* round to byte */ in bim_ToneDownBGSupp_suppress()