History

interface clean and inside modification

clean and comment some API. move the SKIP mv pred location remove the unused buffer in intra construction.

huili2 committed 12 years ago

Commit 32fd2c41 parent 42389009 files · +162 −185Browse files

Showing the changes to codec/decoder/core/src/decoder_core.cpp (1 of 9 files). Show all

Unified · Split

codec/decoder/core/src/decoder_core.cpp+0−11
@@ -628,17 +628,6 @@ int32_t ParseSliceHeaderSyntaxs (PWelsDecoderContext pCtx, PBitStringAux pBs, co · 627 unmodified lines
628 pSliceHead->uiRefCount[1] = pPps->uiNumRefIdxL1Active;628 pSliceHead->uiRefCount[1] = pPps->uiNumRefIdxL1Active;
629 if (kbExtensionFlag) {629 if (kbExtensionFlag) {
630 uiQualityId = pNalHeaderExt->uiQualityId;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 } else if (uiSliceType == P_SLICE || uiSliceType == SP_SLICE || uiSliceType == B_SLICE) {631 } else if (uiSliceType == P_SLICE || uiSliceType == SP_SLICE || uiSliceType == B_SLICE) {
643 const bool_t kbBipredFlag = (B_SLICE == uiSliceType);632 const bool_t kbBipredFlag = (B_SLICE == uiSliceType);
644 if (kbBipredFlag) {633 if (kbBipredFlag) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t