shithub: openh264

Download patch

ref: 3a4346a898c7938f8958f91524c5d7f26f105276
parent: b5e263bfd81726b275720acd630971febba769d4
author: ruil2 <[email protected]>
date: Wed Mar 26 09:06:56 EDT 2014

create complexity analysis for screen content

--- a/codec/processing/src/common/WelsFrameWork.cpp
+++ b/codec/processing/src/common/WelsFrameWork.cpp
@@ -284,6 +284,9 @@
   case METHOD_COMPLEXITY_ANALYSIS:
     pStrategy = WelsDynamicCast (IStrategy*, new CComplexityAnalysis (iCpuFlag));
     break;
+  case METHOD_COMPLEXITY_ANALYSIS_SCREEN:
+    pStrategy = WelsDynamicCast (IStrategy*, new CComplexityAnalysisScreen (iCpuFlag));
+    break;
   case METHOD_IMAGE_ROTATE:
     pStrategy = WelsDynamicCast (IStrategy*, new CImageRotating (iCpuFlag));
     break;