MCPcopy Create free account
hub / github.com/cisco/openh264 / NeedErrorCon

Function NeedErrorCon

codec/decoder/core/src/error_concealment.cpp:453–463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

451}
452
453bool NeedErrorCon (PWelsDecoderContext pCtx) {
454 bool bNeedEC = false;
455 int32_t iMbNum = pCtx->pSps->iMbWidth * pCtx->pSps->iMbHeight;
456 for (int32_t i = 0; i < iMbNum; ++i) {
457 if (!pCtx->pCurDqLayer->pMbCorrectlyDecodedFlag[i]) {
458 bNeedEC = true;
459 break;
460 }
461 }
462 return bNeedEC;
463}
464
465// ImplementErrorConceal
466// Do actual error concealment

Callers 2

DecodeCurrentAccessUnitFunction · 0.85
CheckAndFinishLastPicFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected