Showing the changes to codec/decoder/core/src/decode_slice.cpp (1 of 64 files). Show all
Unified · Split
| @@ -601,10 +601,10 @@ int32_t ParseIntra16x16Mode (PWelsDecoderContext pCtx, PWelsNeighAvail pNeighAva · 600 unmodified lines | |||
| 601 | } | 601 | } |
| 602 | 602 | ||
| 603 | int32_t WelsDecodeMbCabacISliceBaseMode0 (PWelsDecoderContext pCtx, uint32_t& uiEosFlag) { | 603 | int32_t WelsDecodeMbCabacISliceBaseMode0 (PWelsDecoderContext pCtx, uint32_t& uiEosFlag) { |
| 604 | PDqLayer pCurLayer = pCtx->pCurDqLayer; | 604 | PDqLayer pCurLayer = pCtx->pCurDqLayer; |
| 605 | PBitStringAux pBsAux = pCurLayer->pBitStringAux; | 605 | PBitStringAux pBsAux = pCurLayer->pBitStringAux; |
| 606 | PSlice pSlice = &pCurLayer->sLayerInfo.sSliceInLayer; | 606 | PSlice pSlice = &pCurLayer->sLayerInfo.sSliceInLayer; |
| 607 | PSliceHeader pSliceHeader = &pSlice->sSliceHeaderExt.sSliceHeader; | 607 | PSliceHeader pSliceHeader = &pSlice->sSliceHeaderExt.sSliceHeader; |
| 608 | SWelsNeighAvail sNeighAvail; | 608 | SWelsNeighAvail sNeighAvail; |
| 609 | int32_t iScanIdxStart = pSlice->sSliceHeaderExt.uiScanIdxStart; | 609 | int32_t iScanIdxStart = pSlice->sSliceHeaderExt.uiScanIdxStart; |
| 610 | int32_t iScanIdxEnd = pSlice->sSliceHeaderExt.uiScanIdxEnd; | 610 | int32_t iScanIdxEnd = pSlice->sSliceHeaderExt.uiScanIdxEnd; |
| @@ -812,10 +812,10 @@ int32_t WelsDecodeMbCabacISlice (PWelsDecoderContext pCtx, PNalUnit pNalCur, uin · 201 unmodified lines | |||
| 812 | } | 812 | } |
| 813 | 813 | ||
| 814 | int32_t WelsDecodeMbCabacPSliceBaseMode0 (PWelsDecoderContext pCtx, PWelsNeighAvail pNeighAvail, uint32_t& uiEosFlag) { | 814 | int32_t WelsDecodeMbCabacPSliceBaseMode0 (PWelsDecoderContext pCtx, PWelsNeighAvail pNeighAvail, uint32_t& uiEosFlag) { |
| 815 | PDqLayer pCurLayer = pCtx->pCurDqLayer; | 815 | PDqLayer pCurLayer = pCtx->pCurDqLayer; |
| 816 | PBitStringAux pBsAux = pCurLayer->pBitStringAux; | 816 | PBitStringAux pBsAux = pCurLayer->pBitStringAux; |
| 817 | PSlice pSlice = &pCurLayer->sLayerInfo.sSliceInLayer; | 817 | PSlice pSlice = &pCurLayer->sLayerInfo.sSliceInLayer; |
| 818 | PSliceHeader pSliceHeader = &pSlice->sSliceHeaderExt.sSliceHeader; | 818 | PSliceHeader pSliceHeader = &pSlice->sSliceHeaderExt.sSliceHeader; |
| 819 | 819 | ||
| 820 | int32_t iScanIdxStart = pSlice->sSliceHeaderExt.uiScanIdxStart; | 820 | int32_t iScanIdxStart = pSlice->sSliceHeaderExt.uiScanIdxStart; |
| 821 | int32_t iScanIdxEnd = pSlice->sSliceHeaderExt.uiScanIdxEnd; | 821 | int32_t iScanIdxEnd = pSlice->sSliceHeaderExt.uiScanIdxEnd; |
| @@ -1048,9 +1048,9 @@ int32_t WelsDecodeMbCabacPSliceBaseMode0 (PWelsDecoderContext pCtx, PWelsNeighAv · 226 unmodified lines | |||
| 1048 | } | 1048 | } |
| 1049 | 1049 | ||
| 1050 | int32_t WelsDecodeMbCabacPSlice (PWelsDecoderContext pCtx, PNalUnit pNalCur, uint32_t& uiEosFlag) { | 1050 | int32_t WelsDecodeMbCabacPSlice (PWelsDecoderContext pCtx, PNalUnit pNalCur, uint32_t& uiEosFlag) { |
| 1051 | PDqLayer pCurLayer = pCtx->pCurDqLayer; | 1051 | PDqLayer pCurLayer = pCtx->pCurDqLayer; |
| 1052 | PSlice pSlice = &pCurLayer->sLayerInfo.sSliceInLayer; | 1052 | PSlice pSlice = &pCurLayer->sLayerInfo.sSliceInLayer; |
| 1053 | PSliceHeader pSliceHeader = &pSlice->sSliceHeaderExt.sSliceHeader; | 1053 | PSliceHeader pSliceHeader = &pSlice->sSliceHeaderExt.sSliceHeader; |
| 1054 | PPicture* ppRefPic = pCtx->sRefPic.pRefList[LIST_0]; | 1054 | PPicture* ppRefPic = pCtx->sRefPic.pRefList[LIST_0]; |
| 1055 | uint32_t uiCode; | 1055 | uint32_t uiCode; |
| 1056 | int32_t iMbXy = pCurLayer->iMbXyIndex; | 1056 | int32_t iMbXy = pCurLayer->iMbXyIndex; |
| @@ -1260,10 +1260,10 @@ int32_t WelsDecodeSlice (PWelsDecoderContext pCtx, bool bFirstSliceInLayer, PNal · 203 unmodified lines | |||
| 1260 | 1260 | ||
| 1261 | int32_t WelsActualDecodeMbCavlcISlice (PWelsDecoderContext pCtx) { | 1261 | int32_t WelsActualDecodeMbCavlcISlice (PWelsDecoderContext pCtx) { |
| 1262 | SVlcTable* pVlcTable = &pCtx->sVlcTable; | 1262 | SVlcTable* pVlcTable = &pCtx->sVlcTable; |
| 1263 | PDqLayer pCurLayer = pCtx->pCurDqLayer; | 1263 | PDqLayer pCurLayer = pCtx->pCurDqLayer; |
| 1264 | PBitStringAux pBs = pCurLayer->pBitStringAux; | 1264 | PBitStringAux pBs = pCurLayer->pBitStringAux; |
| 1265 | PSlice pSlice = &pCurLayer->sLayerInfo.sSliceInLayer; | 1265 | PSlice pSlice = &pCurLayer->sLayerInfo.sSliceInLayer; |
| 1266 | PSliceHeader pSliceHeader = &pSlice->sSliceHeaderExt.sSliceHeader; | 1266 | PSliceHeader pSliceHeader = &pSlice->sSliceHeaderExt.sSliceHeader; |
| 1267 | 1267 | ||
| 1268 | SWelsNeighAvail sNeighAvail; | 1268 | SWelsNeighAvail sNeighAvail; |
| 1269 | int32_t iMbResProperty; | 1269 | int32_t iMbResProperty; |
| @@ -1579,10 +1579,10 @@ int32_t WelsDecodeMbCavlcISlice (PWelsDecoderContext pCtx, PNalUnit pNalCur, uin · 309 unmodified lines | |||
| 1579 | 1579 | ||
| 1580 | int32_t WelsActualDecodeMbCavlcPSlice (PWelsDecoderContext pCtx) { | 1580 | int32_t WelsActualDecodeMbCavlcPSlice (PWelsDecoderContext pCtx) { |
| 1581 | SVlcTable* pVlcTable = &pCtx->sVlcTable; | 1581 | SVlcTable* pVlcTable = &pCtx->sVlcTable; |
| 1582 | PDqLayer pCurLayer = pCtx->pCurDqLayer; | 1582 | PDqLayer pCurLayer = pCtx->pCurDqLayer; |
| 1583 | PBitStringAux pBs = pCurLayer->pBitStringAux; | 1583 | PBitStringAux pBs = pCurLayer->pBitStringAux; |
| 1584 | PSlice pSlice = &pCurLayer->sLayerInfo.sSliceInLayer; | 1584 | PSlice pSlice = &pCurLayer->sLayerInfo.sSliceInLayer; |
| 1585 | PSliceHeader pSliceHeader = &pSlice->sSliceHeaderExt.sSliceHeader; | 1585 | PSliceHeader pSliceHeader = &pSlice->sSliceHeaderExt.sSliceHeader; |
| 1586 | 1586 | ||
| 1587 | int32_t iScanIdxStart = pSlice->sSliceHeaderExt.uiScanIdxStart; | 1587 | int32_t iScanIdxStart = pSlice->sSliceHeaderExt.uiScanIdxStart; |
| 1588 | int32_t iScanIdxEnd = pSlice->sSliceHeaderExt.uiScanIdxEnd; | 1588 | int32_t iScanIdxEnd = pSlice->sSliceHeaderExt.uiScanIdxEnd; |
| @@ -1909,10 +1909,10 @@ int32_t WelsActualDecodeMbCavlcPSlice (PWelsDecoderContext pCtx) { · 320 unmodified lines | |||
| 1909 | } | 1909 | } |
| 1910 | 1910 | ||
| 1911 | int32_t WelsDecodeMbCavlcPSlice (PWelsDecoderContext pCtx, PNalUnit pNalCur, uint32_t& uiEosFlag) { | 1911 | int32_t WelsDecodeMbCavlcPSlice (PWelsDecoderContext pCtx, PNalUnit pNalCur, uint32_t& uiEosFlag) { |
| 1912 | PDqLayer pCurLayer = pCtx->pCurDqLayer; | 1912 | PDqLayer pCurLayer = pCtx->pCurDqLayer; |
| 1913 | PBitStringAux pBs = pCurLayer->pBitStringAux; | 1913 | PBitStringAux pBs = pCurLayer->pBitStringAux; |
| 1914 | PSlice pSlice = &pCurLayer->sLayerInfo.sSliceInLayer; | 1914 | PSlice pSlice = &pCurLayer->sLayerInfo.sSliceInLayer; |
| 1915 | PSliceHeader pSliceHeader = &pSlice->sSliceHeaderExt.sSliceHeader; | 1915 | PSliceHeader pSliceHeader = &pSlice->sSliceHeaderExt.sSliceHeader; |
| 1916 | PPicture* ppRefPic = pCtx->sRefPic.pRefList[LIST_0]; | 1916 | PPicture* ppRefPic = pCtx->sRefPic.pRefList[LIST_0]; |
| 1917 | intX_t iUsedBits; | 1917 | intX_t iUsedBits; |
| 1918 | const int32_t iMbXy = pCurLayer->iMbXyIndex; | 1918 | const int32_t iMbXy = pCurLayer->iMbXyIndex; |