hi_venc_jpeg_huffman_param

Description

Defines the advanced Huffman coding parameters of a JPEGE channel.

Prototype

typedef struct {
    hi_venc_huffman_dc_table dc_tables[3]; 
    hi_venc_huffman_ac_table ac_tables[3]; 
    hi_u32 reserved[2];
} hi_venc_jpeg_huffman_param;

Members

Member

Description

dc_tables[]

Luminance DC Huffman code table.

Ensure that Cb and Cr components are the same.

ac_tables[]

Chrominance AC Huffman code table.

Ensure that Cb and Cr components are the same.

reserved[]

Reserved. To ensure compatibility in later versions, use the memset struct for resetting and initialization. Do not explicitly access the reserved field in the code.