QuantInvIntra_MPEG2

Performs inverse quantization for intra frames according to MPEG-2 standard.

Syntax

IppStatus ippiQuantInvIntra_MPEG2_16s_C1I(Ipp16s* pSrcDst, int QP, Ipp16s* pQPMatrix);

Parameters

pSrcDst

Pointer to the start of the block.

QP

Quantizer scale factor read from the bit stream.

pQPMatrix

Pointer to the weighting matrix imposed by the MPEG standard or user-defined.

Description

This function is declared in the ippvc.h header file. The function ippiQuantInvIntra_MPEG2_16s_C1I multiplies the DCT coefficients from pSrcDst by QP and by corresponding values from pQPMatrix and sends the result back to pSrcDst.

This function is used in the MPEG-2 encoder included into Intel IPP Samples. See introduction to MPEG-1 and MPEG-2.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error when at least one input pointer is NULL.


Submit feedback on this help topic

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