PredictIntra_16x16_H264

Performs intra prediction for a 16x16 luma component.

Syntax

IppStatus ippiPredictIntra_16x16_H264_8u_C1IR(Ipp8u* pSrcDst, Ipp32s srcdstStep, IppIntra16x16PredMode predMode, Ipp32s availability);

Parameters

pSrcDst

Pointer to the destination array.

srcdstStep

Distance in bytes between starts of the consecutive lines in the destination array.

predMode

Prediction mode of the Intra_16x16 prediction process for luma samples.

availability

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

Description

The function ippiPredictIntra_16x16_H264_8u_C1IR is declared in the ippvc.h file. This function performs intra prediction for a 16x16 luma component in accordance with 8.3.2 of [JVTG050] in a given prediction mode predMode (See enumeration IppIntra16x16PredMode).

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 16x16 prediction,

1 -

if the macroblock is available for 16x16 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.

ippStsStepErr

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

ippStsOutOfRangeErr

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

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.