Showing the changes to codec/decoder/core/src/decode_slice.cpp (1 of 14 files). Show all
Unified · Split
| @@ -183,7 +183,8 @@ 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 (pCurLayer->pNzc[pCurLayer->iMbXyIndex]); // set all none-zero nzc to 1; dbk can be opti! | 186 | pCtx->sBlockFunc.pWelsSetNonZeroCountFunc ( |
| 187 | pCurLayer->pNzc[pCurLayer->iMbXyIndex]); // set all none-zero nzc to 1; dbk can be opti! | ||
| 187 | return 0; | 188 | return 0; |
| 188 | } | 189 | } |
| 189 | 190 | ||
| @@ -322,7 +323,7 @@ int32_t WelsDecodeSlice (PWelsDecoderContext pCtx, bool bFirstSliceInLayer, PNal · 132 unmodified lines | |||
| 322 | int32_t iMbX, iMbY; | 323 | int32_t iMbX, iMbY; |
| 323 | const int32_t kiCountNumMb = pSliceHeader->pSps->uiTotalMbCount; //need to be correct when fmo or multi slice | 324 | const int32_t kiCountNumMb = pSliceHeader->pSps->uiTotalMbCount; //need to be correct when fmo or multi slice |
| 324 | PBitStringAux pBs = pCurLayer->pBitStringAux; | 325 | PBitStringAux pBs = pCurLayer->pBitStringAux; |
| 325 | int32_t iUsedBits = 0; | 326 | intX_t iUsedBits = 0; |
| 326 | 327 | ||
| 327 | PWelsDecMbCavlcFunc pDecMbCavlcFunc; | 328 | PWelsDecMbCavlcFunc pDecMbCavlcFunc; |
| 328 | 329 | ||