Showing the changes to codec/decoder/core/src/decode_slice.cpp (1 of 4 files). Show all
Unified · Split
| @@ -183,8 +183,7 @@ int32_t WelsMbInterConstruction (PWelsDecoderContext pCtx, PDqLayer pCurLayer) { · 182 unmodified lines | |||
| 183 | GetInterPred (pDstY, pDstCb, pDstCr, pCtx); | 183 | GetInterPred (pDstY, pDstCb, pDstCr, pCtx); |
| 184 | WelsMbInterSampleConstruction (pCtx, pCurLayer, pDstY, pDstCb, pDstCr, iLumaStride, iChromaStride); | 184 | WelsMbInterSampleConstruction (pCtx, pCurLayer, pDstY, pDstCb, pDstCr, iLumaStride, iChromaStride); |
| 185 | 185 | ||
| 186 | pCtx->sBlockFunc.pWelsSetNonZeroCountFunc (NULL, | 186 | pCtx->sBlockFunc.pWelsSetNonZeroCountFunc (pCurLayer->pNzc[pCurLayer->iMbXyIndex]); // set all none-zero nzc to 1; dbk can be opti! |
| 187 | pCurLayer->pNzc[pCurLayer->iMbXyIndex]); // set all none-zero nzc to 1; dbk can be opti! | ||
| 188 | return 0; | 187 | return 0; |
| 189 | } | 188 | } |
| 190 | 189 | ||
| @@ -1054,7 +1053,7 @@ void WelsBlockFuncInit (SBlockFunc* pFunc, int32_t iCpu) { · 863 unmodified lines | |||
| 1054 | #endif | 1053 | #endif |
| 1055 | } | 1054 | } |
| 1056 | 1055 | ||
| 1057 | void SetNonZeroCount_c (int16_t* pBlock, int8_t* pNonZeroCount) { | 1056 | void SetNonZeroCount_c (int8_t* pNonZeroCount) { |
| 1058 | int32_t i; | 1057 | int32_t i; |
| 1059 | 1058 | ||
| 1060 | for (i = 0; i < 24; i++) { | 1059 | for (i = 0; i < 24; i++) { |