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