QuantFwdTableInit_JPEG

Change quantization table order for fast encode

Synopsis

FwStatus   fwiQuantFwdTableInit_JPEG_8u16u ( const Fw8u * pQuantRawTableFw16u * pQuantFwdTable );

Parameters

pQuantFwdTable   Pointer to the forward quantization table (encoder).
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.