Showing the changes to codec/decoder/core/src/deblocking.cpp (1 of 10 files). Show all
Unified · Split
| @@ -131,7 +131,7 @@ static const uint8_t g_kuiTableBIdx[2][8] = { · 130 unmodified lines | ||
| 131 | 131 | }, |
| 132 | 132 | |
| 133 | 133 | { |
| 134 | − 0, 1, 2, 3 , | |
| 134 | + 0, 1, 2, 3, | |
| 135 | 135 | 12, 13, 14, 15 |
| 136 | 136 | }, |
| 137 | 137 | }; |
| @@ -573,7 +573,7 @@ void DeblockingIntraMb (PDqLayer pCurDqLayer, PDeblockingFilter pFilter, int32_ · 435 unmodified lines | ||
| 573 | 573 | } |
| 574 | 574 | |
| 575 | 575 | void WelsDeblockingMb (PDqLayer pCurDqLayer, PDeblockingFilter pFilter, int32_t iBoundryFlag) { |
| 576 | − uint8_t nBS[2][4][4] = { 0 }; | |
| 576 | + uint8_t nBS[2][4][4] = {{{ 0 }}}; | |
| 577 | 577 | |
| 578 | 578 | int32_t iMbXyIndex = pCurDqLayer->iMbXyIndex; |
| 579 | 579 | int32_t iCurMbType = pCurDqLayer->pMbType[iMbXyIndex]; |
| @@ -630,8 +630,8 @@ void WelsDeblockingFilterSlice (PWelsDecoderContext pCtx, PDeblockingFilterMbFun · 50 unmodified lines | ||
| 630 | 630 | int32_t iMbWidth = pCurDqLayer->iMbWidth; |
| 631 | 631 | int32_t iTotalMbCount = pSliceHeaderExt->sSliceHeader.pSps->uiTotalMbCount; |
| 632 | 632 | |
| 633 | − SDeblockingFilter pFilter = {0}; | |
| 634 | − | |
| 633 | + SDeblockingFilter pFilter; | |
| 634 | + memset (&pFilter, 0, sizeof(pFilter)); | |
| 635 | 635 | PFmo pFmo = pCtx->pFmo; |
| 636 | 636 | int32_t iNextMbXyIndex = 0; |
| 637 | 637 | int32_t iTotalNumMb = pCurDqLayer->sLayerInfo.sSliceInLayer.iTotalMbInCurSlice; |