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

Function WelsMbIntraPredictionConstruction

codec/decoder/core/src/decode_slice.cpp:288–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286}
287
288int32_t WelsMbIntraPredictionConstruction (PWelsDecoderContext pCtx, PDqLayer pCurDqLayer, bool bOutput) {
289//seems IPCM should not enter this path
290 int32_t iMbXy = pCurDqLayer->iMbXyIndex;
291
292 WelsFillRecNeededMbInfo (pCtx, bOutput, pCurDqLayer);
293
294 if (IS_INTRA16x16 (pCurDqLayer->pDec->pMbType[iMbXy])) {
295 RecI16x16Mb (iMbXy, pCtx, pCurDqLayer->pScaledTCoeff[iMbXy], pCurDqLayer);
296 } else if (IS_INTRA8x8 (pCurDqLayer->pDec->pMbType[iMbXy])) {
297 RecI8x8Mb (iMbXy, pCtx, pCurDqLayer->pScaledTCoeff[iMbXy], pCurDqLayer);
298 } else if (IS_INTRA4x4 (pCurDqLayer->pDec->pMbType[iMbXy])) {
299 RecI4x4Mb (iMbXy, pCtx, pCurDqLayer->pScaledTCoeff[iMbXy], pCurDqLayer);
300 }
301 return ERR_NONE;
302}
303
304int32_t WelsMbInterPrediction (PWelsDecoderContext pCtx, PDqLayer pCurDqLayer) {
305 int32_t iMbX = pCurDqLayer->iMbX;

Callers 1

WelsTargetMbConstructionFunction · 0.85

Calls 4

WelsFillRecNeededMbInfoFunction · 0.85
RecI16x16MbFunction · 0.85
RecI8x8MbFunction · 0.85
RecI4x4MbFunction · 0.85

Tested by

no test coverage detected