1. Add dct_mmi.c in codec/decoder/core/mips 2. Add vaa_mmi.c in codec/processing/src/mips 3. Add optimization functions in codec/common/src/mc.cpp
Showing the changes to codec/decoder/core/src/decoder.cpp (1 of 14 files). Show all
Unified · Split
| @@ -1023,6 +1023,23 @@ void InitPredFunc (PWelsDecoderContext pCtx, uint32_t uiCpuFlag) { · 1022 unmodified lines | |||
| 1023 | #endif | 1023 | #endif |
| 1024 | 1024 | ||
| 1025 | #endif | 1025 | #endif |
| 1026 | |||
| 1027 | #if defined(HAVE_MMI) | ||
| 1028 | if (uiCpuFlag & WELS_CPU_MMI) { | ||
| 1029 | pCtx->pIdctResAddPredFunc = IdctResAddPred_mmi; | ||
| 1030 | |||
| 1031 | pCtx->pGetI16x16LumaPredFunc[I16_PRED_DC] = WelsDecoderI16x16LumaPredDc_mmi; | ||
| 1032 | pCtx->pGetI16x16LumaPredFunc[I16_PRED_P] = WelsDecoderI16x16LumaPredPlane_mmi; | ||
| 1033 | pCtx->pGetI16x16LumaPredFunc[I16_PRED_H] = WelsDecoderI16x16LumaPredH_mmi; | ||
| 1034 | pCtx->pGetI16x16LumaPredFunc[I16_PRED_V] = WelsDecoderI16x16LumaPredV_mmi; | ||
| 1035 | pCtx->pGetI16x16LumaPredFunc[I16_PRED_DC_T ] = WelsDecoderI16x16LumaPredDcTop_mmi; | ||
| 1036 | pCtx->pGetI16x16LumaPredFunc[I16_PRED_DC_128] = WelsDecoderI16x16LumaPredDcNA_mmi; | ||
| 1037 | pCtx->pGetIChromaPredFunc[C_PRED_P ] = WelsDecoderIChromaPredPlane_mmi; | ||
| 1038 | pCtx->pGetIChromaPredFunc[C_PRED_DC] = WelsDecoderIChromaPredDc_mmi; | ||
| 1039 | pCtx->pGetIChromaPredFunc[C_PRED_DC_T] = WelsDecoderIChromaPredDcTop_mmi; | ||
| 1040 | pCtx->pGetI4x4LumaPredFunc[I4_PRED_H] = WelsDecoderI4x4LumaPredH_mmi; | ||
| 1041 | } | ||
| 1042 | #endif//HAVE_MMI | ||
| 1026 | } | 1043 | } |
| 1027 | 1044 | ||
| 1028 | //reset decoder number related statistics info | 1045 | //reset decoder number related statistics info |