Initialize specification structures.
IppStatus ippiQuantIntraInit_MPEG4(const Ipp8u* pQuantMatrix, IppiQuantIntraSpec_MPEG4* pSpec, int bitsPerPixel);
IppStatus ippiQuantInterInit_MPEG4(const Ipp8u* pQuantMatrix, IppiQuantInterSpec_MPEG4* pSpec, int bitsPerPixel);
pQuantMatrix |
Pointer to quantization matrix size of 64. |
pSpec |
Pointer to the initialized specification structure IppiQuantIntraSpec_MPEG4 or IppiQuantInterSpec_MPEG4. |
bitsPerPixel |
Video data precision used for saturation of the result. Valid within the range [4, 12]. |
The functions ippiQuantIntraInit_MPEG4 and ippiQuantInterInit_MPEG4 are declared in the ippvc.h file. These functions initialize specification structure IppiQuantIntraSpec_MPEG4 or IppiQuantInterSpec_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 included into Intel IPP Samples. See introduction to MPEG-4.
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]. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.