PredictIntraChroma8x8_H264

Performs intra prediction for a 8x8 chroma component.

Syntax

IppStatus ippiPredictIntraChroma8x8_H264_8u_C1IR(Ipp8u* pSrcDst, Ipp32s srcdstStep, IppIntraChroma8x8PredMode predMode, Ipp32s availability);

Parameters

pSrcDst

Pointer to the 8x8 chroma-block, which is inside U-frame or V-frame and which is under reconstruction (destination array).

srcdstStep

Distance in bytes between starts of the consecutive lines in the destination chroma-frame.

predMode

Prediction mode of the Intra_chroma prediction process for chroma samples.

availability

Flag that specifies the availability of the macroblocks used for prediction.

Description

The function ippiPredictIntraChroma8x8_H264_8u_C1IR is declared in the ippvc.h file. This function performs intra prediction for a 8x8 chroma component in accordance with 8.3.3 of [JVTG050] in a given prediction mode predMode (See enumeration IppIntraChromaPredMode_H264).

The flag availability is computed as follows:

B1*IPP_LEFT + B2*IPP_UPPER_LEFT + B3*IPP_UPPER,

where the constants IPP_LEFT, IPP_UPPER_LEFT, IPP_UPPER are from IppLayoutFlag and the variables B1, B2, B3 may take the values of

0 -

if the macroblock is unavailable for intra chroma prediction,

1 -

if the macroblock is available for intra chroma prediction.

Layout of Blocks Used for Prediction



Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error condition if at least one of the specified pointers is NULL.

ippStsOutOfRangeErr

Indicates an error condition if predMode value falls outside [0,3].

ippStsStepErr

Indicates an error condition if srcdstStep value is less than 8.

ippStsLPCCalcErr

Indicates an error condition if predMode is not allowed for this block.


Submit feedback on this help topic

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