hi_venc_jpeg_huffman_param

Description

Defines the advanced Huffman coding parameters of a JPEGE channel.

Prototype

hi_venc_jpeg_huffman_param = {"dc_tables": hi_venc_huffman_dc_table[3], # y, Cb, Cr
                              "ac_tables": hi_venc_huffman_ac_table[3], # y, Cb, Cr
                              "reserved": reserved[2]}

Members

Member

Description

dc_tables

List, Huffman coding table of luminance DC.

Ensure that Cb and CR components are the same.

ac_tables

List, Huffman coding table of chrominance AC.

Ensure that Cb and CR components are the same.

reserved

List, reserved attribute. To ensure compatibility in later versions, pass [0, 0] for resetting and initialization. Do not explicitly access the reserved field in the code.