Add scene change detector
Showing the changes to codec/encoder/core/src/wels_preprocess.cpp (1 of 5 files). Show all
Unified · Split
| @@ -603,7 +603,7 @@ void CWelsPreProcess::BilateralDenoising (SPicture* pSrc, const int32_t kiWidth, · 602 unmodified lines | ||
| 603 | 603 | |
| 604 | 604 | bool CWelsPreProcess::DetectSceneChange (SPicture* pCurPicture, SPicture* pRefPicture) { |
| 605 | 605 | bool bSceneChangeFlag = false; |
| 606 | − int32_t iMethodIdx = METHOD_SCENE_CHANGE_DETECTION; | |
| 606 | + int32_t iMethodIdx = METHOD_SCENE_CHANGE_DETECTION_VIDEO; | |
| 607 | 607 | SSceneChangeResult sSceneChangeDetectResult = { SIMILAR_SCENE }; |
| 608 | 608 | SPixMap sSrcPixMap = {0}; |
| 609 | 609 | SPixMap sRefPixMap = {0}; |