ref: af522899bdecb3b770539dff222fd3b42885ec75
parent: d7b74190400423f592c17fb17a7cabfab445d875
author: volvet <[email protected]>
date: Tue Mar 18 14:00:18 EDT 2014
remove black space at lineend
--- a/codec/processing/src/scenechangedetection/SceneChangeDetection.cpp
+++ b/codec/processing/src/scenechangedetection/SceneChangeDetection.cpp
@@ -39,7 +39,7 @@
switch(eMethod){
case METHOD_SCENE_CHANGE_DETECTION_VIDEO:
return new CSceneChangeDetection<CSceneChangeDetectorVideo>(eMethod, iCpuFlag);
- break;
+ break;
case METHOD_SCENE_CHANGE_DETECTION_SCREEN:
default:
// not support yet
--- a/codec/processing/src/scenechangedetection/SceneChangeDetection.h
+++ b/codec/processing/src/scenechangedetection/SceneChangeDetection.h
@@ -74,7 +74,7 @@
virtual int32_t operator () (uint8_t* pSrcY, int32_t iSrcStrideY, uint8_t* pRefY, int32_t iRefStrideY) {
return m_pfSad(pSrcY, iSrcStrideY, pRefY, iSrcStrideY);
}
-private:
+protected:
SadFuncPtr m_pfSad;
};
@@ -87,7 +87,7 @@
}
~CSceneChangeDetection(){
- }
+ }
EResult Process (int32_t iType, SPixMap* pSrcPixMap, SPixMap* pRefPixMap){
EResult eReturn = RET_INVALIDPARAM;
@@ -117,7 +117,7 @@
for (int32_t j = 0; j < iBlock8x8Height; j ++) {
pRefTmp = pRefY;
- pCurTmp = pCurY;
+ pCurTmp = pCurY;
for (int32_t i = 0; i < iBlock8x8Width; i++) {
iBlockSad = m_cDetector(pRefTmp, iRefStride, pCurTmp, iCurStride);