| 286 | } |
| 287 | |
| 288 | int32_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 | |
| 304 | int32_t WelsMbInterPrediction (PWelsDecoderContext pCtx, PDqLayer pCurDqLayer) { |
| 305 | int32_t iMbX = pCurDqLayer->iMbX; |
no test coverage detected