Searched refs:cntmotionpixelnum (Results 1 – 1 of 1) sorted by relevance
394 double cntmotionpixelnum = 0; in calculateMotionPercentInCell() local410 cntmotionpixelnum++; in calculateMotionPercentInCell()411 if (cntmotionpixelnum >= thresholdmotionpixelnum) { //we don't need to calculate anymore in calculateMotionPercentInCell()412 *p_motionarea = cntmotionpixelnum; in calculateMotionPercentInCell()413 return (cntmotionpixelnum / cntpixelsnum); in calculateMotionPercentInCell()417 …if ((cntmotionpixelnum + remainingpixelsnum) < thresholdmotionpixelnum) { //moving pixels number w… in calculateMotionPercentInCell()424 return (cntmotionpixelnum / cntpixelsnum); in calculateMotionPercentInCell()