History

(1) remove the weighted prediction sytax limit (2) fix the 4:0:0 support bug

Haibo Zhu committed 10 years ago

Commit 687f9ef1 parent d97f4c52 files · +5 −6Browse files

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

Unified · Split

codec/decoder/core/src/au_parser.cpp+1−6
@@ -1377,12 +1377,7 @@ int32_t ParsePps (PWelsDecoderContext pCtx, PPps pPpsList, PBitStringAux pBsAux, · 1376 unmodified lines
13771377 pPps->bWeightedPredFlag = !!uiCode;
13781378 WELS_READ_VERIFY (BsGetBits (pBsAux, 2, &uiCode)); //weighted_bipred_idc
13791379 pPps->uiWeightedBipredIdc = uiCode;
1380− if (pPps->uiWeightedBipredIdc != 0) {
1381− WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING,
1382− "ParsePps(): weighted_bipred_idc (%d) not supported.\n",
1383− pPps->uiWeightedBipredIdc);
1384− return GENERATE_ERROR_NO (ERR_LEVEL_PARAM_SETS, ERR_INFO_UNSUPPORTED_WP);
1385− }
1380+ // weighted_bipred_idc > 0 NOT supported now, but no impact when we ignore it
13861381
13871382 WELS_READ_VERIFY (BsGetSe (pBsAux, &iCode)); //pic_init_qp_minus26
13881383 pPps->iPicInitQp = PIC_INIT_QP_OFFSET + iCode;

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