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