Showing the changes to codec/encoder/core/src/encode_mb_aux.cpp (1 of 4 files). Show all
Unified · Split
| @@ -526,6 +526,7 @@ void WelsInitEncodingFuncs (SWelsFuncPtrList* pFuncList, uint32_t uiCpuFlag) { · 525 unmodified lines | |||
| 526 | if (uiCpuFlag & WELS_CPU_SSE42) { | 526 | if (uiCpuFlag & WELS_CPU_SSE42) { |
| 527 | pFuncList->pfGetNoneZeroCount = WelsGetNoneZeroCount_sse42; | 527 | pFuncList->pfGetNoneZeroCount = WelsGetNoneZeroCount_sse42; |
| 528 | } | 528 | } |
| 529 | #if defined(HAVE_AVX2) | ||
| 529 | if (uiCpuFlag & WELS_CPU_AVX2) { | 530 | if (uiCpuFlag & WELS_CPU_AVX2) { |
| 530 | pFuncList->pfDctT4 = WelsDctT4_avx2; | 531 | pFuncList->pfDctT4 = WelsDctT4_avx2; |
| 531 | pFuncList->pfDctFourT4 = WelsDctFourT4_avx2; | 532 | pFuncList->pfDctFourT4 = WelsDctFourT4_avx2; |
| @@ -535,7 +536,7 @@ void WelsInitEncodingFuncs (SWelsFuncPtrList* pFuncList, uint32_t uiCpuFlag) { · 3 unmodified lines | |||
| 535 | pFuncList->pfQuantizationFour4x4 = WelsQuantFour4x4_avx2; | 536 | pFuncList->pfQuantizationFour4x4 = WelsQuantFour4x4_avx2; |
| 536 | pFuncList->pfQuantizationFour4x4Max = WelsQuantFour4x4Max_avx2; | 537 | pFuncList->pfQuantizationFour4x4Max = WelsQuantFour4x4Max_avx2; |
| 537 | } | 538 | } |
| 538 | 539 | #endif | |
| 539 | //#endif//MACOS | 540 | //#endif//MACOS |
| 540 | 541 | ||
| 541 | #endif//X86_ASM | 542 | #endif//X86_ASM |