Unified · Split
| @@ -282,6 +282,19 @@ CComplexityAnalysisScreen::CComplexityAnalysisScreen (int32_t iCpuFlag) { · 281 unmodified lines | |||
| 282 | m_pSadFunc = WelsSampleSad16x16_sse2; | 282 | m_pSadFunc = WelsSampleSad16x16_sse2; |
| 283 | } | 283 | } |
| 284 | #endif | 284 | #endif |
| 285 | |||
| 286 | #if defined (HAVE_NEON) | ||
| 287 | if (iCpuFlag & WELS_CPU_NEON) { | ||
| 288 | m_pSadFunc = WelsSampleSad16x16_neon; | ||
| 289 | } | ||
| 290 | #endif | ||
| 291 | |||
| 292 | #if defined (HAVE_NEON_AARCH64) | ||
| 293 | if (iCpuFlag & WELS_CPU_NEON) { | ||
| 294 | m_pSadFunc = WelsSampleSad16x16_AArch64_neon; | ||
| 295 | } | ||
| 296 | #endif | ||
| 297 | |||
| 285 | } | 298 | } |
| 286 | 299 | ||
| 287 | CComplexityAnalysisScreen::~CComplexityAnalysisScreen() { | 300 | CComplexityAnalysisScreen::~CComplexityAnalysisScreen() { |