Showing the changes to codec/decoder/core/src/rec_mb.cpp (1 of 6 files). Show all
Unified · Split
| @@ -93,7 +93,7 @@ int32_t RecI4x4Luma (int32_t iMBXY, PWelsDecoderContext pCtx, int16_t* pScoeffLe · 92 unmodified lines | |||
| 93 | 93 | ||
| 94 | pGetI4x4LumaPredFunc[uiMode] (pPredI4x4, iLumaStride); | 94 | pGetI4x4LumaPredFunc[uiMode] (pPredI4x4, iLumaStride); |
| 95 | 95 | ||
| 96 | if (pDqLayer->pNzc[iMBXY][g_kuiMbNonZeroCountIdx[i]]) { | 96 | if (pDqLayer->pNzc[iMBXY][g_kuiMbCountScan4Idx[i]]) { |
| 97 | int16_t* pRSI4x4 = &pRS[i << 4]; | 97 | int16_t* pRSI4x4 = &pRS[i << 4]; |
| 98 | pIdctResAddPredFunc (pPredI4x4, iLumaStride, pRSI4x4); | 98 | pIdctResAddPredFunc (pPredI4x4, iLumaStride, pRSI4x4); |
| 99 | } | 99 | } |
| @@ -149,7 +149,7 @@ int32_t RecI16x16Mb (int32_t iMBXY, PWelsDecoderContext pCtx, int16_t* pScoeffLe · 49 unmodified lines | |||
| 149 | int16_t* pRSI4x4 = pRS + (i << 4); | 149 | int16_t* pRSI4x4 = pRS + (i << 4); |
| 150 | uint8_t* pPredI4x4 = pPred + pBlockOffset[i]; | 150 | uint8_t* pPredI4x4 = pPred + pBlockOffset[i]; |
| 151 | 151 | ||
| 152 | if (pDqLayer->pNzc[iMBXY][g_kuiMbNonZeroCountIdx[i]] || pRSI4x4[0]) { | 152 | if (pDqLayer->pNzc[iMBXY][g_kuiMbCountScan4Idx[i]] || pRSI4x4[0]) { |
| 153 | pIdctResAddPredFunc (pPredI4x4, iYStride, pRSI4x4); | 153 | pIdctResAddPredFunc (pPredI4x4, iYStride, pRSI4x4); |
| 154 | } | 154 | } |
| 155 | } | 155 | } |
| @@ -454,7 +454,7 @@ int32_t RecChroma (int32_t iMBXY, PWelsDecoderContext pCtx, int16_t* pScoeffLeve · 298 unmodified lines | |||
| 454 | int16_t* pRSI4x4 = &pRS[j << 4]; | 454 | int16_t* pRSI4x4 = &pRS[j << 4]; |
| 455 | uint8_t* pPredI4x4 = pPred + pBlockOffset[j]; | 455 | uint8_t* pPredI4x4 = pPred + pBlockOffset[j]; |
| 456 | 456 | ||
| 457 | if (pDqLayer->pNzc[iMBXY][g_kuiMbNonZeroCountIdx[16 + (i << 2) + j]] || pRSI4x4[0]) { | 457 | if (pDqLayer->pNzc[iMBXY][g_kuiMbCountScan4Idx[16 + (i << 2) + j]] || pRSI4x4[0]) { |
| 458 | pIdctResAddPredFunc (pPredI4x4, iChromaStride, pRSI4x4); | 458 | pIdctResAddPredFunc (pPredI4x4, iChromaStride, pRSI4x4); |
| 459 | } | 459 | } |
| 460 | } | 460 | } |