History

put EC before output

root committed 12 years ago

Commit 67afd911 parent 91cd93e2 files · +18 −24Browse files

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

Unified · Split

codec/decoder/core/src/error_concealment.cpp+0−11
@@ -172,9 +172,6 @@ bool NeedErrorCon (PWelsDecoderContext pCtx) { · 171 unmodified lines
172172 // ImplementErrorConceal
173173 // Do actual error concealment
174174 void ImplementErrorCon (PWelsDecoderContext pCtx) {
175− if (!NeedErrorCon (pCtx))
176− return;
177−
178175 if (ERROR_CON_DISABLE == pCtx->iErrorConMethod) {
179176 pCtx->iErrorCode |= dsBitstreamError;
180177 return;
@@ -183,14 +180,6 @@ void ImplementErrorCon (PWelsDecoderContext pCtx) { · 2 unmodified lines
183180 } else if (ERROR_CON_SLICE_COPY == pCtx->iErrorConMethod) {
184181 DoErrorConSliceCopy (pCtx);
185182 } //TODO add other EC methods here in the future
186−
187− //mark the erroneous frame as Ref pic in DPB
188− MarkECFrameAsRef (pCtx);
189− //need update frame_num due current frame is well decoded
190− pCtx->iPrevFrameNum = pCtx->pSliceHeader->iFrameNum;
191− if (pCtx->bLastHasMmco5)
192− pCtx->iPrevFrameNum = 0;
193−
194183 }
195184
196185 } // namespace WelsDec

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