Showing the changes to codec/processing/src/complexityanalysis (1 of 20 files). Show all
Unified · Split
| @@ -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 | ||
| 37 | WELSVP_NAMESPACE_BEGIN | 38 | WELSVP_NAMESPACE_BEGIN |
| 38 | 39 | ||
| 39 | |||
| 40 | /////////////////////////////////////////////////////////////////////////////////////////////////////////////// | 40 | /////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
| 41 | 41 | ||
| 42 | CComplexityAnalysis::CComplexityAnalysis (int32_t iCpuFlag) { | 42 | CComplexityAnalysis::CComplexityAnalysis (int32_t iCpuFlag) { |
| @@ -280,18 +280,26 @@ CComplexityAnalysisScreen::CComplexityAnalysisScreen (int32_t iCpuFlag) { · 237 unmodified lines | |||
| 280 | #ifdef X86_ASM | 280 | #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 | #endif | 287 | #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 | #endif | 296 | #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 | #endif | 304 | #endif |
| 297 | 305 | ||