Showing the changes to codec/encoder/core/src/encoder_ext.cpp (1 of 7 files). Show all
Unified · Split
| @@ -2366,7 +2366,12 @@ void PreprocessSliceCoding (sWelsEncCtx* pCtx) { · 2365 unmodified lines | ||
| 2366 | 2366 | } |
| 2367 | 2367 | |
| 2368 | 2368 | if (P_SLICE == pCtx->eSliceType) { |
| 2369 | − pFuncList->pfMotionSearch = WelsMotionEstimateSearch; | |
| 2369 | + pFuncList->pfMotionSearch[0] = WelsMotionEstimateSearch; | |
| 2370 | + pFuncList->pfSearchMethod[BLOCK_16x16] = | |
| 2371 | + pFuncList->pfSearchMethod[BLOCK_16x8] = | |
| 2372 | + pFuncList->pfSearchMethod[BLOCK_8x16] = | |
| 2373 | + pFuncList->pfSearchMethod[BLOCK_8x8] = | |
| 2374 | + pFuncList->pfSearchMethod[BLOCK_4x4] = WelsDiamondSearch; | |
| 2370 | 2375 | pFuncList->pfFirstIntraMode = WelsMdFirstIntraMode; |
| 2371 | 2376 | pFuncList->sSampleDealingFuncs.pfMeCost = pCtx->pFuncList->sSampleDealingFuncs.pfSampleSatd; |
| 2372 | 2377 | if (kbHighestSpatialLayer) { |