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

Function InitRefPicList

codec/decoder/core/src/decoder_core.cpp:2435–2452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2433}
2434
2435int32_t InitRefPicList (PWelsDecoderContext pCtx, const uint8_t kuiNRi, int32_t iPoc) {
2436 int32_t iRet = ERR_NONE;
2437 if (pCtx->eSliceType == B_SLICE) {
2438 iRet = WelsInitBSliceRefList (pCtx, iPoc);
2439 CreateImplicitWeightTable (pCtx);
2440 } else
2441 iRet = WelsInitRefList (pCtx, iPoc);
2442 if ((pCtx->eSliceType != I_SLICE && pCtx->eSliceType != SI_SLICE)) {
2443#if 1
2444 if (pCtx->pSps->uiProfileIdc != 66 && pCtx->pPps->bEntropyCodingModeFlag)
2445 iRet = WelsReorderRefList2 (pCtx);
2446 else
2447#endif
2448 iRet = WelsReorderRefList (pCtx);
2449 }
2450
2451 return iRet;
2452}
2453
2454void InitCurDqLayerData (PWelsDecoderContext pCtx, PDqLayer pCurDq) {
2455 if (NULL != pCtx && NULL != pCurDq) {

Callers 1

DecodeCurrentAccessUnitFunction · 0.85

Calls 5

WelsInitBSliceRefListFunction · 0.85
WelsInitRefListFunction · 0.85
WelsReorderRefList2Function · 0.85
WelsReorderRefListFunction · 0.85

Tested by

no test coverage detected