Showing the changes to codec/processing/src/scenechangedetection/SceneChangeDetection.h (1 of 1 file). Show all
Unified · Split
| @@ -90,11 +90,11 @@ public: · 89 unmodified lines | |||
| 90 | void operator() (uint8_t* pSrcY, int32_t iSrcStrideY, uint8_t* pRefY, int32_t iRefStrideY, uint8_t *& pStaticBlockIdc) { | 90 | void operator() (uint8_t* pSrcY, int32_t iSrcStrideY, uint8_t* pRefY, int32_t iRefStrideY, uint8_t *& pStaticBlockIdc) { |
| 91 | int32_t iSad = m_pfSad(pSrcY, iSrcStrideY, pRefY, iSrcStrideY); | 91 | int32_t iSad = m_pfSad(pSrcY, iSrcStrideY, pRefY, iSrcStrideY); |
| 92 | if( iSad == 0 ){ | 92 | if( iSad == 0 ){ |
| 93 | *pStaticBlockIdc ++ = NO_STATIC; | 93 | *pStaticBlockIdc ++ = COLLOCATED_STATIC; |
| 94 | } else { | 94 | } else { |
| 95 | m_sParam.iFrameComplexity += iSad; | 95 | m_sParam.iFrameComplexity += iSad; |
| 96 | m_sParam.iMotionBlockNum += iSad > HIGH_MOTION_BLOCK_THRESHOLD; | 96 | m_sParam.iMotionBlockNum += iSad > HIGH_MOTION_BLOCK_THRESHOLD; |
| 97 | *pStaticBlockIdc ++ = COLLOCATED_STATIC; | 97 | *pStaticBlockIdc ++ = NO_STATIC; |
| 98 | } | 98 | } |
| 99 | } | 99 | } |
| 100 | }; | 100 | }; |