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
163163 pCtx->pPicBuff[LIST_1] = NULL;
164164
165165 pCtx->bAvcBasedFlag = true;
166+ pCtx->iErrorConMethod = ERROR_CON_DISABLE;
166167
167168 }
168169
@@ -531,6 +532,8 @@ int32_t WelsDecodeBs (PWelsDecoderContext pCtx, const uint8_t* kpBsBuf, const in · 362 unmodified lines
531532 }
532533 }
533534
535+ //TODO error concealment here
536+
534537 if ((IS_PARAM_SETS_NALS (pCtx->sCurNalHead.eNalUnitType) || IS_SEI_NAL (pCtx->sCurNalHead.eNalUnitType))
535538 && pNalPayload) {
536539 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