Reconstruct 4X4 intra chroma macroblock for high profile.
IppStatus ippiReconstructChromaIntra4x4MB_H264_16s8u_P2R(Ipp16s** ppSrcDstCoeff, Ipp8u* pSrcDstUPlane, Ipp8u* pSrcDstVPlane, Ipp32u srcDstUVStep, IppIntraChromaPredMode_H264 intraChromaMode, Ipp32u cbp4x4, Ipp32s ChromaQPU, Ipp32u ChromaQPV, Ipp8u edgeType, const Ipp16s* pQuantTableU, const Ipp16s* pQuantTableV, Ipp8u bypassFlag);
IppStatus ippiReconstructChromaIntra4x4MB_H264_16s8u_C2R(Ipp16s** ppSrcDstCoeff, Ipp8u* pSrcDstUVPlane, Ipp32u srcDstUVStep, IppIntraChromaPredMode_H264 intraChromaMode, Ipp32u cbp4x4, Ipp32s ChromaQPU, Ipp32u ChromaQPV, Ipp8u edgeType, const Ipp16s* pQuantTableU, const Ipp16s* pQuantTableV, Ipp8u bypassFlag);
IppStatus ippiReconstructChromaIntra4x4_H264High_32s16u_IP2R(const IppiReconstructHighMB_32s16u* pReconstructInfo[2], IppIntraChromaPredMode_H264 intraChromaMode, Ipp32u edgeType);
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 [ITUH264]. Pointer is updated by the function and points to the blocks for the next macroblock. |
pSrcDstUPlane |
Pointer to a macroblock that is reconstructed in the current U plane. |
pSrcDstVPlane |
Pointer to a macroblock that is reconstructed in the current V plane. |
pSrcDstUVPlane |
Pointer to a macroblock that is reconstructed in the current UV plane. |
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 < 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]. |
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. |
pQuantTableU |
Pointer to the quantization table for U plane (LevelScale(qP%6, 0, 0)) in [ITUH264]). |
pQuantTableV |
Pointer to the quantization table for V plane (LevelScale(qP%6, 0, 0)) in [ITUH264]). |
bypassFlag |
Flag enabling lossless coding. |
pReconstructInfo[2] |
Pointer to the IppiReconstructHighMB_32s16u structure. 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. |
The functions ippiReconstructChromaIntra4x4MB_H264_16s8u_P2R, ippiReconstructChromaIntra4x4MB_H264_16s8u_C2R, and ippiReconstructChromaIntra4x4_H264High_32s16u_IP2R are declared in the ippvc.h file.
ippiReconstructChromaIntra4x4MB_H264_16s8u_C2R is intended for a chrominance combined plane as in the N12 format (UVUVUVUV...).
These functions reconstruct 4x4 intra chroma macroblock (8x8 U macroblock and 8x8 V macroblock) for high profile:
These functions are used in the H.264 decoder included into Intel IPP Samples. See introduction to H.264.
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. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.