ReconstructChromaInterMB_H264

Reconstructs inter chroma macroblock.

Syntax

IppStatus ippiReconstructChromaInterMB_H264_16s8u_P2R(Ipp16s** ppSrcCoeff, Ipp8u* pSrcDstUPlane, Ipp8u* pSrcDstVPlane, const Ipp32u srcDstStep, const Ipp32u cbp4x4, const Ipp32u ChromaQP);

IppStatus ippiReconstructChromaInterMB_H264_16s8u_C2R(Ipp16s** ppSrcDstCoeff, Ipp8u* pSrcDstUVPlane, Ipp32s srcDstUVStep, Ipp32u cbp4x4, Ipp32u ChromaQP);

Parameters

ppSrcCoeff, 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 of [JVTG050]. 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.

pSrcDstUVPlane

Pointer to current U and V planes in the N12 format, which are reconstructed.

srcDstStep

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 ppSrcCoeff. 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 ppSrcCoeff. 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 ppSrcCoeff. 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 ppSrcCoeff.

ChromaQP

chroma quantizer ( QPC in [JVTG050]). It must be within the range [0;39].

Description

The functions ippiReconstructChromaInterMB_H264_16s8u_P2R and ippiReconstructChromaInterMB_H264_16s8u_C2R are declared in the ippvc.h file.

ippiReconstructChromaInterMB_H264_16s8u_P2R reconstructs an intra chroma macroblock (an 8x8 U macroblock and an 8x8 V macroblock).

ippiReconstructChromaInterMB_H264_16s8u_C2R reconstructs an intra chroma macroblock (a 16x8 UV macroblock in the N12 chroma format).

Each of the functions works as follows:

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

ChromaQP is less than 0 or greater than 39.

ippStsStepErr

Indicates an error condition if srcDstUVStep is less than 0.


Submit feedback on this help topic

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