History

codec/processing: [loongson] Add mmi optimization for m_pfSad.

gxw committed 7 years ago

Commit b682a021 parent 6482d7b1 file · +6 −0Browse files

Showing the changes to codec/processing/src (1 of 1 file). Show all

Unified · Split

codec/processing/src/scenechangedetection/SceneChangeDetection.h+6−0
@@ -89,6 +89,12 @@ class CSceneChangeDetectorVideo { · 88 unmodified lines
8989 }
9090 #endif
9191
92+#ifdef HAVE_MMI
93+ if (iCpuFlag & WELS_CPU_MMI) {
94+ m_pfSad = WelsSampleSad8x8_mmi;
95+ }
96+#endif
97+
9298 m_fSceneChangeMotionRatioLarge = SCENE_CHANGE_MOTION_RATIO_LARGE_VIDEO;
9399 m_fSceneChangeMotionRatioMedium = SCENE_CHANGE_MOTION_RATIO_MEDIUM;
94100 }

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