Showing the changes to codec/encoder/core/src/sample.cpp (1 of 4 files). Show all
Unified · Split
| @@ -404,14 +404,14 @@ void WelsInitSampleSadFunc (SWelsFuncPtrList* pFuncList, uint32_t uiCpuFlag) { · 403 unmodified lines | |||
| 404 | pFuncList->sSampleDealingFuncs.pfIntra16x16Combined3Satd = WelsIntra16x16Combined3Satd_sse41; | 404 | pFuncList->sSampleDealingFuncs.pfIntra16x16Combined3Satd = WelsIntra16x16Combined3Satd_sse41; |
| 405 | pFuncList->sSampleDealingFuncs.pfIntra8x8Combined3Satd = WelsIntraChroma8x8Combined3Satd_sse41; | 405 | pFuncList->sSampleDealingFuncs.pfIntra8x8Combined3Satd = WelsIntraChroma8x8Combined3Satd_sse41; |
| 406 | } | 406 | } |
| 407 | 407 | #if defined(HAVE_AVX2) | |
| 408 | if (uiCpuFlag & WELS_CPU_AVX2) { | 408 | if (uiCpuFlag & WELS_CPU_AVX2) { |
| 409 | pFuncList->sSampleDealingFuncs.pfSampleSatd[BLOCK_16x16] = WelsSampleSatd16x16_avx2; | 409 | pFuncList->sSampleDealingFuncs.pfSampleSatd[BLOCK_16x16] = WelsSampleSatd16x16_avx2; |
| 410 | pFuncList->sSampleDealingFuncs.pfSampleSatd[BLOCK_16x8] = WelsSampleSatd16x8_avx2; | 410 | pFuncList->sSampleDealingFuncs.pfSampleSatd[BLOCK_16x8] = WelsSampleSatd16x8_avx2; |
| 411 | pFuncList->sSampleDealingFuncs.pfSampleSatd[BLOCK_8x16] = WelsSampleSatd8x16_avx2; | 411 | pFuncList->sSampleDealingFuncs.pfSampleSatd[BLOCK_8x16] = WelsSampleSatd8x16_avx2; |
| 412 | pFuncList->sSampleDealingFuncs.pfSampleSatd[BLOCK_8x8] = WelsSampleSatd8x8_avx2; | 412 | pFuncList->sSampleDealingFuncs.pfSampleSatd[BLOCK_8x8] = WelsSampleSatd8x8_avx2; |
| 413 | } | 413 | } |
| 414 | 414 | #endif | |
| 415 | #endif //(X86_ASM) | 415 | #endif //(X86_ASM) |
| 416 | 416 | ||
| 417 | #if defined (HAVE_NEON) | 417 | #if defined (HAVE_NEON) |