ReconstructLumaIntra_AVS

Reconstructs intra luma macroblock.

Syntax

IppStatus ippiReconstructLumaIntra_AVS_16s8u_C1R(Ipp16s** ppSrcCoeff, Ipp8u* pSrcDstYPlane, Ipp32s srcDstYStep, const IppIntra8x8PredMode_AVS*pMBIntraTypes, const Ipp32s* pSrcNumCoeffs, Ipp32u cbp8x8, Ipp32u QP, 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 luminance 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.

pSrcDstYPlane

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

srcDstYStep

Y-Plane step.

pMBIntraTypes

Array of Intra_8x8 luma prediction modes for each subblock. pMBIntraTypes[i] is defined in the same order as the coded subblocks go.

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 < 4), i-th 8x8 AC luma block is not zero-filled and it exists in ppSrcCoeff.

QP

Quantization parameter (CurrentQP in [AVS]). It must be within the range [0;63].

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 ippiReconstructLumaIntra_AVS_16s8u_C1R is declared in the ippvc.h file. This function reconstructs intra luma 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

QP is less than 0 or greater than 63.


Submit feedback on this help topic

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