QuantFwdRawTableInit_JPEG

Apply quality factor to the raw quantization table

Synopsis

FwStatus   fwiQuantFwdRawTableInit_JPEG_8u ( Fw8u * pQuantRawTableint qualityFactor );

Parameters

pQuantRawTable   Pointer to the raw quantization table.
qualityFactor   JPEG image quality factor (value between 1 and 100).

Description

This function applies a specified quality factor value between 1 and 100 to the initial raw quantization table.

If a factor value less than or equal to 0 is specified, a value of 1 is used; if a value equal to or greater than 100 is specified, a value of 100 is used.