History

refine common moudle for part of intra prediction function

ruil2 committed 12 years ago

Commit ed341041 parent ffebbdb20 files · +482 −193Browse files

Showing the changes to codec/processing/src/complexityanalysis (1 of 20 files). Show all

Unified · Split

codec/processing/src/complexityanalysis/ComplexityAnalysis.cpp+9−1
@@ -33,10 +33,10 @@ · 32 unmodified lines
33#include "ComplexityAnalysis.h"33#include "ComplexityAnalysis.h"
34#include "cpu.h"34#include "cpu.h"
35#include "macros.h"35#include "macros.h"
36#include "intra_pred_common.h"
36 37
37WELSVP_NAMESPACE_BEGIN38WELSVP_NAMESPACE_BEGIN
38 39
39
40///////////////////////////////////////////////////////////////////////////////////////////////////////////////40///////////////////////////////////////////////////////////////////////////////////////////////////////////////
41 41
42CComplexityAnalysis::CComplexityAnalysis (int32_t iCpuFlag) {42CComplexityAnalysis::CComplexityAnalysis (int32_t iCpuFlag) {
@@ -280,18 +280,26 @@ CComplexityAnalysisScreen::CComplexityAnalysisScreen (int32_t iCpuFlag) { · 237 unmodified lines
280#ifdef X86_ASM280#ifdef X86_ASM
281 if (iCpuFlag & WELS_CPU_SSE2) {281 if (iCpuFlag & WELS_CPU_SSE2) {
282 m_pSadFunc = WelsSampleSad16x16_sse2;282 m_pSadFunc = WelsSampleSad16x16_sse2;
283 m_pIntraFunc[0] = WelsI16x16LumaPredV_sse2;
284 m_pIntraFunc[1] = WelsI16x16LumaPredH_sse2;
285
283 }286 }
284#endif287#endif
285 288
286#if defined (HAVE_NEON)289#if defined (HAVE_NEON)
287 if (iCpuFlag & WELS_CPU_NEON) {290 if (iCpuFlag & WELS_CPU_NEON) {
288 m_pSadFunc = WelsSampleSad16x16_neon;291 m_pSadFunc = WelsSampleSad16x16_neon;
292 m_pIntraFunc[0] = WelsI16x16LumaPredV_neon;
293 m_pIntraFunc[1] = WelsI16x16LumaPredH_neon;
294
289 }295 }
290#endif296#endif
291 297
292#if defined (HAVE_NEON_AARCH64)298#if defined (HAVE_NEON_AARCH64)
293 if (iCpuFlag & WELS_CPU_NEON) {299 if (iCpuFlag & WELS_CPU_NEON) {
294 m_pSadFunc = WelsSampleSad16x16_AArch64_neon;300 m_pSadFunc = WelsSampleSad16x16_AArch64_neon;
301 m_pIntraFunc[0] = WelsI16x16LumaPredV_AArch64_neon;
302 m_pIntraFunc[1] = WelsI16x16LumaPredH_AArch64_neon;
295 }303 }
296#endif304#endif
297 305

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