QuantInvTableInit_JPEG

Change quantization table order for fast decode

Synopsis

FwStatus   fwiQuantInvTableInit_JPEG_8u16u ( const Fw8u * pQuantRawTableFw16u * pQuantInvTable );

Parameters

pQuantInvTable   Pointer to the inverse quantization table (decoder).
pQuantRawTable   Pointer to the raw quantization table.

Description

This function reads the raw quantization table in zigzag order, scales the values by 15 bits, and writes a new table in left-to-right, top-to-bottom order.