Showing the changes to codec/encoder/core/src/md.cpp (1 of 12 files). Show all
Unified · Split
| @@ -475,21 +475,21 @@ int32_t AnalysisVaaInfoIntra_c (uint8_t* pDataY, const int32_t kiLineSize) { · 474 unmodified lines | ||
| 475 | 475 | |
| 476 | 476 | // for pfGetVarianceFromIntraVaa function ptr adaptive by CPU features, 6/7/2010 |
| 477 | 477 | void InitIntraAnalysisVaaInfo (SWelsFuncPtrList* pFuncList, const uint32_t kuiCpuFlag) { |
| 478 | − pFuncList->pfGetVarianceFromIntraVaa = AnalysisVaaInfoIntra_c; | |
| 479 | − pFuncList->pfGetMbSignFromInterVaa = MdInterAnalysisVaaInfo_c; | |
| 480 | − pFuncList->pfUpdateMbMv = UpdateMbMv_c; | |
| 478 | + pFuncList->pfGetVarianceFromIntraVaa = AnalysisVaaInfoIntra_c; | |
| 479 | + pFuncList->pfGetMbSignFromInterVaa = MdInterAnalysisVaaInfo_c; | |
| 480 | + pFuncList->pfUpdateMbMv = UpdateMbMv_c; | |
| 481 | 481 | |
| 482 | 482 | #if defined(X86_ASM) |
| 483 | 483 | if ((kuiCpuFlag & WELS_CPU_SSE2) == WELS_CPU_SSE2) { |
| 484 | − pFuncList->pfGetVarianceFromIntraVaa = AnalysisVaaInfoIntra_sse2; | |
| 485 | − pFuncList->pfGetMbSignFromInterVaa = MdInterAnalysisVaaInfo_sse2; | |
| 486 | − pFuncList->pfUpdateMbMv = UpdateMbMv_sse2; | |
| 484 | + pFuncList->pfGetVarianceFromIntraVaa = AnalysisVaaInfoIntra_sse2; | |
| 485 | + pFuncList->pfGetMbSignFromInterVaa = MdInterAnalysisVaaInfo_sse2; | |
| 486 | + pFuncList->pfUpdateMbMv = UpdateMbMv_sse2; | |
| 487 | 487 | } |
| 488 | 488 | if ((kuiCpuFlag & WELS_CPU_SSSE3) == WELS_CPU_SSSE3) { |
| 489 | − pFuncList->pfGetVarianceFromIntraVaa = AnalysisVaaInfoIntra_ssse3; | |
| 489 | + pFuncList->pfGetVarianceFromIntraVaa = AnalysisVaaInfoIntra_ssse3; | |
| 490 | 490 | } |
| 491 | 491 | if ((kuiCpuFlag & WELS_CPU_SSE41) == WELS_CPU_SSE41) { |
| 492 | − pFuncList->pfGetMbSignFromInterVaa = MdInterAnalysisVaaInfo_sse41; | |
| 492 | + pFuncList->pfGetMbSignFromInterVaa = MdInterAnalysisVaaInfo_sse41; | |
| 493 | 493 | } |
| 494 | 494 | #endif//X86_ASM |
| 495 | 495 | } |