History

remove black space at lineend

volvet committed 12 years ago

Commit af522891 parent d7b74192 files · +4 −4Browse files

Showing the changes to codec/processing/src (2 of 2 files). Show all

Unified · Split

2 files
  1. codec/processing/src/scenechangedetection/SceneChangeDetection.cpp +1 −1
  2. codec/processing/src/scenechangedetection/SceneChangeDetection.h +3 −3
codec/processing/src/scenechangedetection/SceneChangeDetection.cpp+1−1
@@ -39,7 +39,7 @@ IStrategy * BuildSceneChangeDetection(EMethods eMethod, int32_t iCpuFlag){ · 38 unmodified lines
3939 switch(eMethod){
4040 case METHOD_SCENE_CHANGE_DETECTION_VIDEO:
4141 return new CSceneChangeDetection<CSceneChangeDetectorVideo>(eMethod, iCpuFlag);
42− break;
42+ break;
4343 case METHOD_SCENE_CHANGE_DETECTION_SCREEN:
4444 default:
4545 // not support yet
codec/processing/src/scenechangedetection/SceneChangeDetection.h+3−3
@@ -74,7 +74,7 @@ public: · 73 unmodified lines
7474 virtual int32_t operator () (uint8_t* pSrcY, int32_t iSrcStrideY, uint8_t* pRefY, int32_t iRefStrideY) {
7575 return m_pfSad(pSrcY, iSrcStrideY, pRefY, iSrcStrideY);
7676 }
77−private:
77+protected:
7878 SadFuncPtr m_pfSad;
7979 };
8080
@@ -87,7 +87,7 @@ class CSceneChangeDetection : public IStrategy { · 6 unmodified lines
8787 }
8888
8989 ~CSceneChangeDetection(){
90− }
90+ }
9191
9292 EResult Process (int32_t iType, SPixMap* pSrcPixMap, SPixMap* pRefPixMap){
9393 EResult eReturn = RET_INVALIDPARAM;
@@ -117,7 +117,7 @@ class CSceneChangeDetection : public IStrategy { · 23 unmodified lines
117117
118118 for (int32_t j = 0; j < iBlock8x8Height; j ++) {
119119 pRefTmp = pRefY;
120− pCurTmp = pCurY;
120+ pCurTmp = pCurY;
121121
122122 for (int32_t i = 0; i < iBlock8x8Width; i++) {
123123 iBlockSad = m_cDetector(pRefTmp, iRefStride, pCurTmp, iCurStride);

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