QuantFwdRawTableInit_JPEG

Modifies raw quantization tables in accordance with the quality factor.

Syntax

IppStatus ippiQuantFwdRawTableInit_JPEG_8u(Ipp8u* pQuantRawTable, int qualityFactor);

Parameters

pQuantRawTable

Pointer to the raw quantization table.

qualityFactor

JPEG quality factor, must be in the range [1..100].

Description

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.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error condition if any of the specified pointers are NULL.

Submit feedback on this help topic

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