QuantInv8X8_JPEG

Dequantize data block

Supported Technologies

SSE2

Synopsis

FwStatus   fwiQuantInv8x8_JPEG_16s_C1I ( Fw16s * pSrcDstconst Fw16u * pQuantInvTable );

Parameters

pQuantInvTable   Pointer to the inverse quantization table (decoder).
pSrcDst   Pointer to a location in a buffer that contains both the source and destination.

Description

This function reads a block of uncompressed image data, dequantizes the values, and writes an 8X8 data block of DCT coefficients to the same location.

Dequantization is performed using the following formula.

 s[vu] = (sq[vu]*Q[vu])

Because quantization is lossy, some of the data may be saturated and require up-sampling.