hi_venc_jpeg_huffman_param

Function

Defines the advanced Huffman coding parameters of a JPEGE channel.

Definition

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;

For details about basic data type hi_u32, see Basic Data Types.

Members

Member

Description

dc_tables[]

Luminance DC Huffman code table. For details, see hi_venc_huffman_dc_table.

Ensure that Cb and Cr components are the same.

ac_tables[]

Chrominance AC Huffman code table. For details, see hi_venc_huffman_ac_table.

Ensure that Cb and Cr components are the same.

reserved[]

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