| 451 | } |
| 452 | |
| 453 | bool 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 |
no outgoing calls
no test coverage detected