Showing the changes to codec/encoder/core/src/sample.cpp (1 of 5 files). Show all
Unified · Split
| @@ -413,6 +413,23 @@ void WelsInitSampleSadFunc (SWelsFuncPtrList* pFuncList, uint32_t uiCpuFlag) { · 412 unmodified lines | |||
| 413 | pFuncList->sSampleDealingFuncs.pfIntra16x16Combined3Sad = WelsIntra16x16Combined3Sad_neon; | 413 | pFuncList->sSampleDealingFuncs.pfIntra16x16Combined3Sad = WelsIntra16x16Combined3Sad_neon; |
| 414 | } | 414 | } |
| 415 | #endif | 415 | #endif |
| 416 | |||
| 417 | #if defined (HAVE_NEON_AARCH64) | ||
| 418 | if (uiCpuFlag & WELS_CPU_NEON) { | ||
| 419 | pFuncList->sSampleDealingFuncs.pfSampleSad[BLOCK_4x4 ] = WelsSampleSad4x4_AArch64_neon; | ||
| 420 | pFuncList->sSampleDealingFuncs.pfSampleSad[BLOCK_16x16] = WelsSampleSad16x16_AArch64_neon; | ||
| 421 | pFuncList->sSampleDealingFuncs.pfSampleSad[BLOCK_16x8 ] = WelsSampleSad16x8_AArch64_neon; | ||
| 422 | pFuncList->sSampleDealingFuncs.pfSampleSad[BLOCK_8x16] = WelsSampleSad8x16_AArch64_neon; | ||
| 423 | pFuncList->sSampleDealingFuncs.pfSampleSad[BLOCK_8x8] = WelsSampleSad8x8_AArch64_neon; | ||
| 424 | |||
| 425 | pFuncList->sSampleDealingFuncs.pfSample4Sad[BLOCK_16x16] = WelsSampleSadFour16x16_AArch64_neon; | ||
| 426 | pFuncList->sSampleDealingFuncs.pfSample4Sad[BLOCK_16x8] = WelsSampleSadFour16x8_AArch64_neon; | ||
| 427 | pFuncList->sSampleDealingFuncs.pfSample4Sad[BLOCK_8x16] = WelsSampleSadFour8x16_AArch64_neon; | ||
| 428 | pFuncList->sSampleDealingFuncs.pfSample4Sad[BLOCK_8x8] = WelsSampleSadFour8x8_AArch64_neon; | ||
| 429 | pFuncList->sSampleDealingFuncs.pfSample4Sad[BLOCK_4x4] = WelsSampleSadFour4x4_AArch64_neon; | ||
| 430 | |||
| 431 | } | ||
| 432 | #endif | ||
| 416 | } | 433 | } |
| 417 | 434 | ||
| 418 | } // namespace WelsSVCEnc | 435 | } // namespace WelsSVCEnc |