ReconstructChroma422Intra4x4_H264High

Reconstructs 4X4 intra chroma macroblock for 4:2:2 chroma mode.

Syntax

IppStatus ippiReconstructChroma422Intra4x4_H264High_32s16u_IP2R(const IppiReconstructHighMB_32s16u* pReconstructInfo[2], IppIntraChromaPredMode_H264 intraChromaMode, Ipp32u edgeType, Ipp32u levelScaleDCU, Ipp32u levelScaleDCV);

IppStatus ippiReconstructChroma422Intra4x4_H264High_16s8u_IP2R(const IppiReconstructHighMB_16s8u* pReconstructInfo[2], IppIntraChromaPredMode_H264 intraChromaMode, Ipp32u edgeType, Ipp32u levelScaleDCU, Ipp32u levelScaleDCV);

Parameters

ppSrcDstCoeff

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

pSrcDstUPlane

Pointer to macroblock that is reconstructed in current U plane. This macroblock must contain intra prediction samples.

pSrcDstVPlane

Pointer to macroblock that is reconstructed in current V plane. This macroblock must contain intra prediction samples.

srcDstUVStep

Plane step.

intraChromaMode

Prediction mode of the Intra_chroma prediction process for chroma samples. This mode is defined in the same way as in PredictIntraChroma8x8_H264 function.

cbp4x4

Coded block pattern. If cbp4x4 & (1<<(IPPVC_CBP_1ST_CHROMA_DC_BITPOS) is not equal to 0, 2x2 DC U-block is not zero-filled and exists in ppSrcDstCoeff. If cbp4x4 & (1<<(IPPVC_CBP_1ST_CHROMA_DC_BITPOS+ 1)) is not equal to 0, 2x2 DC U-block is not zero-filled and exists in ppSrcDstCoeff. If cbp4x4 & (1<<(IPPVC_CBP_1ST_CHROMA_AC_BITPOS+ i)) is not equal to 0, (0 ≤ i < 8), i-th 4x4 AC U-block is not zero-filled and exists in ppSrcDstCoeff. If cbp4x4 & (1<<(IPPVC_CBP_1ST_CHROMA_AC_BITPOS+ i+8)) is not equal to 0, (0 ≤ i < 8), i-th 4x4 AC U-block is not zero-filled and exists in ppSrcDstCoeff.

ChromaQPU

Chroma quantizer for U plane (QPC in [ITUH264]). It must be within the range [0;39].

ChromaQPV

Chroma quantizer for V plane (QPC in [ITUH264]). It must be within the range [0;39].

levelScaleDCU

Chroma quantizer for U plane (LevelScale(QPC,DC%6, 0, 0)) in [ITUH264]) for chroma DC coefficients.

levelScaleDCV

Chroma quantizer for V plane (LevelScale(QPC,DC%6, 0, 0)) in [ITUH264]) for chroma DC coefficients.

edgeType

Flag that specifies the availability of the macroblocks used for prediction. If the upper macroblock is not available for intra prediction, edgeType&IPPVC_TOP_EDGE must be non-zero. If the left macroblock is not available for intra prediction, edgeType&IPPVC_LEFT_EDGE must be non-zero. If the upper-left macroblock is not available for intra prediction, edgeType&IPPVC_TOP_LEFT_EDGE must be non-zero.

pQuantTableU

Pointer to the quantization table for U plane (LevelScale(qP%6, i, j) in [ITUH264]).

pQuantTableV

Pointer to the quantization table for V plane (LevelScale(qP%6, i, j) in [ITUH264]).

bypassFlag

Flag enabling lossless coding.

pReconstructInfo[2]

Pointer to the IppiReconstructHighMB_32s16u and IppiReconstructHighMB_16s8u structures. The first pointer pReconstructInfo[0] points to the structure with parameters for restructuring chroma macroblock of plane U, and the second pointer pReconstructInfo[1] points to the structure with parameters for restructuring Chroms macroblock of plane V.

Description

The functions ippiReconstructChroma422Intra4x4_H264High_32s16u_IP2R and ippiReconstructChroma422Intra4x4_H264High_16s8u_IP2R are declared in the ippvc.h file. These functions reconstruct eight 4x4 intra chroma macroblocks (16x8 U macroblock and 16x8 V macroblock) for chroma format 4:2:2 (chroma_format_idc is equal to 2):

These functions ares 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

ChromaQPU or ChromaQPV is less than 0 or greater than 39.


Submit feedback on this help topic

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