ReconstructLumaIntra16x16MB_H264

Reconstructs 16X16 intra luma macroblock.

Syntax

IppStatus ippiReconstructLumaIntra16x16MB_H264_16s8u_C1R(Ipp16s** ppSrcCoeff, Ipp8u* pSrcDstYPlane, Ipp32u srcDstYStep, const IppIntra16x16PredMode_H264 intraLumaMode, const Ipp32u cbp4x4, const Ipp32u QP, const Ipp8u edgeType);

Parameters

ppSrcCoeff

Pointer to the order of 4x4 blocks of residual coefficients for this macroblock, which are taken as a result of Huffman decoding (4x4 DC luma blocks, 4x4 AC luma blocks, if the block is not zero-filled) in the same order as is shown in Figure 6‑6 of [JVTG050]. Pointer is updated by the function and points to the blocks for the next macroblock.

pSrcDstYPlane

Pointer to the current macroblock that is reconstructed in Y-plane.

srcDstYStep

Y-Plane step.

intraLumaMode

Prediction mode of the Intra_16x16 prediction process for luma samples. It is defined in the same way as in PredictIntra_16x16_H264 function.

cbp4x4

Coded block pattern.

If cbp4x4 & IPPVC_CBP_LUMA_DC is not equal to 0, 4x4 DC luma block is not zero-filled and it exists in ppSrcCoeff.

If cbp4x4 & (1<<(IPPVC_CBP_1ST_LUMA_AC_BITPOS+i)) is not equal to 0 (0 ≤ i < 16), i-th 4x4 AC luma block is not zero-filled and it exists in ppSrcCoeff.

QP

Quantization parameter ( QPY in [JVTG050]). It must be within the range [0;51].

edgeType

Flag that specifies the availability of the macroblocks used for prediction.

If the upper macroblock is not available for 16x16 intra prediction, edgeType&IPPVC_TOP_EDGE must be non-zero.

If the left macroblock is not available for 16x16 intra prediction, edgeType&IPPVC_LEFT_EDGE must be non-zero.

If the upper-left macroblock is not available for 16x16 intra prediction, edgeType&IPPVC_TOP_LEFT_EDGE must be non-zero.

Description

The function ippiReconstructLumaIntra16x16MB_H264_16s8u_C1R is declared in the ippvc.h file. This function reconstructs 16x16 intra luma macroblock:

This function is used in the H.264 decoder included into Intel IPP Samples. See introduction to H.264.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error condition if at least one of the specified pointers is NULL.

ippStsOutOfRangeErr

QP is less than 0 or greater than 51.


Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.