History

Decoder WP suppor

missed some part fix clip value update according to wayne's suggestion

zhuiling committed 11 years ago

Commit 9ef0c741 parent 2da0ce66 files · +235 −8Browse files

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

Unified · Split

codec/decoder/core/src/au_parser.cpp+3−3
@@ -1342,10 +1342,10 @@ int32_t ParsePps (PWelsDecoderContext pCtx, PPps pPpsList, PBitStringAux pBsAux, · 1341 unmodified lines
13421342 pPps->bWeightedPredFlag = !!uiCode;
13431343 WELS_READ_VERIFY (BsGetBits (pBsAux, 2, &uiCode)); //weighted_bipred_idc
13441344 pPps->uiWeightedBipredIdc = uiCode;
1345− if (pPps->bWeightedPredFlag || pPps->uiWeightedBipredIdc != 0) {
1345+ if (pPps->uiWeightedBipredIdc != 0) {
13461346 WelsLog (& (pCtx->sLogCtx), WELS_LOG_WARNING,
1347− "ParsePps(): weighted_pred_flag (%d) weighted_bipred_idc (%d) neither supported.\n",
1348− pPps->bWeightedPredFlag, pPps->uiWeightedBipredIdc);
1347+ "ParsePps(): weighted_bipred_idc (%d) not supported.\n",
1348+ pPps->uiWeightedBipredIdc);
13491349 return GENERATE_ERROR_NO (ERR_LEVEL_PARAM_SETS, ERR_INFO_UNSUPPORTED_WP);
13501350 }
13511351

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