Showing the changes to codec/processing/src (2 of 2 files). Show all
Unified · Split
| @@ -39,7 +39,7 @@ IStrategy * BuildSceneChangeDetection(EMethods eMethod, int32_t iCpuFlag){ · 38 unmodified lines | ||
| 39 | 39 | switch(eMethod){ |
| 40 | 40 | case METHOD_SCENE_CHANGE_DETECTION_VIDEO: |
| 41 | 41 | return new CSceneChangeDetection<CSceneChangeDetectorVideo>(eMethod, iCpuFlag); |
| 42 | − break; | |
| 42 | + break; | |
| 43 | 43 | case METHOD_SCENE_CHANGE_DETECTION_SCREEN: |
| 44 | 44 | default: |
| 45 | 45 | // not support yet |
| @@ -74,7 +74,7 @@ public: · 73 unmodified lines | ||
| 74 | 74 | virtual int32_t operator () (uint8_t* pSrcY, int32_t iSrcStrideY, uint8_t* pRefY, int32_t iRefStrideY) { |
| 75 | 75 | return m_pfSad(pSrcY, iSrcStrideY, pRefY, iSrcStrideY); |
| 76 | 76 | } |
| 77 | −private: | |
| 77 | +protected: | |
| 78 | 78 | SadFuncPtr m_pfSad; |
| 79 | 79 | }; |
| 80 | 80 | |
| @@ -87,7 +87,7 @@ class CSceneChangeDetection : public IStrategy { · 6 unmodified lines | ||
| 87 | 87 | } |
| 88 | 88 | |
| 89 | 89 | ~CSceneChangeDetection(){ |
| 90 | − } | |
| 90 | + } | |
| 91 | 91 | |
| 92 | 92 | EResult Process (int32_t iType, SPixMap* pSrcPixMap, SPixMap* pRefPixMap){ |
| 93 | 93 | EResult eReturn = RET_INVALIDPARAM; |
| @@ -117,7 +117,7 @@ class CSceneChangeDetection : public IStrategy { · 23 unmodified lines | ||
| 117 | 117 | |
| 118 | 118 | for (int32_t j = 0; j < iBlock8x8Height; j ++) { |
| 119 | 119 | pRefTmp = pRefY; |
| 120 | − pCurTmp = pCurY; | |
| 120 | + pCurTmp = pCurY; | |
| 121 | 121 | |
| 122 | 122 | for (int32_t i = 0; i < iBlock8x8Width; i++) { |
| 123 | 123 | iBlockSad = m_cDetector(pRefTmp, iRefStride, pCurTmp, iCurStride); |