jpeg_alloc_quant_table

Name

jpeg_alloc_quant_table -- allocate quantization table

Synopsis

#include <jpeglib.h>

JQUANT_TBL * jpeg_alloc_quant_table(j_common_ptr cinfo);

Description

jpeg_alloc_quant_table() shall allocate memory for a structure holding quantization table.

Return Value

jpeg_alloc_quant_table() shall return a pointer to allocated data structure for the quantization table.