QuantInvIntraInit_MPEG4, QuantInvInterInit_MPEG4

Initialize specification structures.

Syntax

IppStatus ippiQuantInvIntraInit_MPEG4(const Ipp8u* pQuantMatrix, IppiQuantInvIntraSpec_MPEG4* pSpec, int bitsPerPixel);

IppStatus ippiQuantInvInterInit_MPEG4(const Ipp8u* pQuantMatrix, IppiQuantInvInterSpec_MPEG4* pSpec, int bitsPerPixel);

Parameters

pQuantMatrix

Pointer to quantization matrix size of 64.

pSpec

Pointer to the initialized specification structure IppiQuantInvIntraSpec_MPEG4 or IppiQuantInvInterSpec_MPEG4.

bitsPerPixel

Video data precision used for saturation of the result. Valid within the range [4, 12].

Description

The functions ippiQuantInvIntraInit_MPEG4 and ippiQuantInvInterInit_MPEG4 are declared in the ippvc.h file. These functions initialize specification structure IppiQuantInvIntraSpec_MPEG4 or IppiQuantInvInterSpec_MPEG4. If pQuantMatrix is NULL, the second quantization method is used; otherwise, the first method is used.

These functions are used in the MPEG-4 encoder and decoder included into Intel IPP Samples. See introduction to MPEG-4.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error pointer pSpec is NULL.

ippStsOutOfRangeErr

Indicates an error condition when bitsPerPixel is out of the range [4, 12].


Submit feedback on this help topic

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