ReconstructChroma422Inter4x4_H264High

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

Syntax

IppStatus ippiReconstructChroma422Inter4x4_H264High_32s16u_IP2R(const IppiReconstructHighMB_32s16u* pReconstructInfo[2], Ipp32u levelScaleDCU, Ipp32u levelScaleDCV);

IppStatus ippiReconstructChroma422Inter4x4_H264High_16s8u_IP2R(const IppiReconstructHighMB_16s8u* pReconstructInfo[2], 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 inter prediction samples.

pSrcDstVPlane

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

srcDstUVStep

Plane step.

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 < 4), i-th 4x4 AC U-block is not zero-filled and exists in ppSrcDstCoeff. If cbp4x4 & (1<<(IPPVC_CBP_1ST_CHROMA_AC_BITPOS+ i+4)) is not equal to 0, (0 ≤ i < 4), 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(QP C, DC %6, 0, 0)) in [ITUH264] ) for chroma DC coefficients.

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 ippiReconstructChroma422Inter4x4_H264High_32s16u_IP2R and ippiReconstructChroma422Inter4x4_H264High_16s8u_IP2R are declared in the ippvc.h file. These functions reconstruct eight 4x4 inter chroma macroblocks (16x8 U macroblock and 16x8 V macroblock) for chroma format 4:2:2 (chroma_format_idc is equal to 2):

These functions are 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.