History

add interface for error concealment, to be continued

huili2 committed 12 years ago

Commit 79c0cec1 parent f3050964 files · +26 −4Browse files

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

Unified · Split

codec/decoder/core/src/decoder.cpp+3−0
@@ -163,6 +163,7 @@ void WelsDecoderDefaults (PWelsDecoderContext pCtx) { · 162 unmodified lines
163 pCtx->pPicBuff[LIST_1] = NULL;163 pCtx->pPicBuff[LIST_1] = NULL;
164 164
165 pCtx->bAvcBasedFlag = true;165 pCtx->bAvcBasedFlag = true;
166 pCtx->iErrorConMethod = ERROR_CON_DISABLE;
166 167
167}168}
168 169
@@ -531,6 +532,8 @@ int32_t WelsDecodeBs (PWelsDecoderContext pCtx, const uint8_t* kpBsBuf, const in · 362 unmodified lines
531 }532 }
532 }533 }
533 534
535 //TODO error concealment here
536
534 if ((IS_PARAM_SETS_NALS (pCtx->sCurNalHead.eNalUnitType) || IS_SEI_NAL (pCtx->sCurNalHead.eNalUnitType))537 if ((IS_PARAM_SETS_NALS (pCtx->sCurNalHead.eNalUnitType) || IS_SEI_NAL (pCtx->sCurNalHead.eNalUnitType))
535 && pNalPayload) {538 && pNalPayload) {
536 if (ParseNonVclNal (pCtx, pNalPayload, iDstIdx - iConsumedBytes)) {539 if (ParseNonVclNal (pCtx, pNalPayload, iDstIdx - iConsumedBytes)) {

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