clean and comment some API. move the SKIP mv pred location remove the unused buffer in intra construction.
Showing the changes to codec/decoder/core/src/decoder_core.cpp (1 of 9 files). Show all
Unified · Split
| @@ -628,17 +628,6 @@ int32_t ParseSliceHeaderSyntaxs (PWelsDecoderContext pCtx, PBitStringAux pBs, co · 627 unmodified lines | ||
| 628 | 628 | pSliceHead->uiRefCount[1] = pPps->uiNumRefIdxL1Active; |
| 629 | 629 | if (kbExtensionFlag) { |
| 630 | 630 | uiQualityId = pNalHeaderExt->uiQualityId; |
| 631 | − if (BASE_QUALITY_ID == uiQualityId && (EP_SLICE == uiSliceType || EB_SLICE == uiSliceType)) { | |
| 632 | − const bool_t kbBipredFlag = (EB_SLICE == uiSliceType); | |
| 633 | − if (kbBipredFlag) { | |
| 634 | − WelsLog (pCtx, WELS_LOG_WARNING, "ParseSliceHeaderSyntaxs(): kbBipredFlag = 1 not supported.\n"); | |
| 635 | − return GENERATE_ERROR_NO (ERR_LEVEL_SLICE_HEADER, ERR_INFO_UNSUPPORTED_BIPRED); | |
| 636 | − } | |
| 637 | − pSliceHead->bNumRefIdxActiveOverrideFlag = !!BsGetOneBit (pBs); | |
| 638 | − if (pSliceHead->bNumRefIdxActiveOverrideFlag) { | |
| 639 | − pSliceHead->uiRefCount[0] = 1 + BsGetUe (pBs); | |
| 640 | − } | |
| 641 | − } | |
| 642 | 631 | } else if (uiSliceType == P_SLICE || uiSliceType == SP_SLICE || uiSliceType == B_SLICE) { |
| 643 | 632 | const bool_t kbBipredFlag = (B_SLICE == uiSliceType); |
| 644 | 633 | if (kbBipredFlag) { |