Modifies raw quantization tables in accordance with the quality factor.
IppStatus ippiQuantFwdRawTableInit_JPEG_8u(Ipp8u* pQuantRawTable, int qualityFactor);
pQuantRawTable |
Pointer to the raw quantization table. |
qualityFactor |
JPEG quality factor, must be in the range [1..100]. |
The function ippiQuantFwdRawTableInit_JPEG is declared in the ippj.h file. This function modifies the initial raw quantization table in accordance with the quality factor using the algorithm specified in IJG JPEG Library, version 6b (www.ijg.org). This function is optional for JPEG codec implementation.
Example “Using Intel IPP for Quantization of 8x8 Block of DCT Coefficients” and Example “Using Combined DCT Functions” show how to use the function ippiQuantFwdRawTableInit_JPEG_8u.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error condition if any of the specified pointers are NULL. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.