History

fix static block assign in scd screen

volvet committed 12 years ago

Commit 33d20521 parent c43e1c81 file · +2 −2Browse files

Showing the changes to codec/processing/src/scenechangedetection/SceneChangeDetection.h (1 of 1 file). Show all

Unified · Split

codec/processing/src/scenechangedetection/SceneChangeDetection.h+2−2
@@ -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};

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t