Home
last modified time | relevance | path

Searched refs:cntmotionpixelnum (Results 1 – 1 of 1) sorted by relevance

/third_party/gstreamer/gstplugins_bad/ext/opencv/
DMotionCells.cpp394 double cntmotionpixelnum = 0; in calculateMotionPercentInCell() local
410 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()