ReconstructChromaIntra_AVS

Reconstructs intra chroma macroblock.

Syntax

IppStatus ippiReconstructChromaIntra_AVS_16s8u_C1R(Ipp16s** ppSrcCoeff, Ipp8u* pSrcDstUPlane, Ipp8u* pSrcDstVPlane, Ipp32s srcDstUVStep, const IppIntraChromaPredMode_AVS predMode, const Ipp32s* pSrcNumCoeffs, Ipp32u cbp8x8, Ipp32u chromaQP, Ipp32u edgeType);

Parameters

ppSrcCoeff

Pointer to the order of 8x8 blocks of residual coefficients for this macroblock, which are taken as a result of entropy decoding (8x8 chrominance intra blocks, if the block is not zero-filled) in the same order as is shown in Figure 6‑7 of [AVS]. The pointer is updated by the function and points to the blocks for the next macroblock.

pSrcDstUPlane

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

pSrcDstVPlane

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

srcDstUVStep

Chrominance planes step.

predMode

Chrominance prediction mode for both subblock.

pSrcNumCoeffs

Array of indices of the last coefficient in each subblock. pSrcNumCoeffs[i] is defined in the same order as the coded subblocks go.

cbp8x8

Coded block pattern. If cbp8x8 & (1<<(1+i)) is not equal to 0 (0 ≤ i < 2), i-th 8x8 AC chroma block is not zero-filled and it exists in ppSrcCoeff.

chromaQP

Quantization parameter (QP from Table 9-6 in [AVS]). 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 8x8 intra prediction, edgeType&IPPVC_TOP_EDGE must be non-zero.

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

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

If the upper-right macroblock is not available for 8x8 intra prediction, edgeType&IPPVC_TOP_RIGHT_EDGE must be non-zero.

Description

The function ippiReconstructChromaIntra_AVS_16s8u_C1R is declared in the ippvc.h file. This function reconstructs intra chroma macroblocks. The process for each 8x8 block in the same order as is shown in Figure 6‑7 of [AVS] is described below:

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


Submit feedback on this help topic

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