QuantInvTableInit_JPEG

Prepares quantization tables suitable for fast decoding.

Syntax

IppStatus ippiQuantInvTableInit_JPEG_8u16u(const Ipp8u* pQuantRawTable, Ipp16u* pQuantInvTable);

Parameters

pQuantRawTable

Pointer to the raw quantization table.

pQuantInvTable

Pointer to the quantization table for decoding.

Description

The function ippiQuantInvTableInit_JPEG is declared in the ippj.h file. This function prepares a quantization table for fast decoding. It also performs reordering transformation that converts the zigzag sequence of table elements to conventional order (left-to-right, top-to-bottom) that is more suitable for a decoder. See [ISO10918], Annex A.3.6, Zig-zag Sequence for more information on zigzag order.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error condition if one or both of the specified pointers are NULL.

Submit feedback on this help topic

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