hi_venc_jpeg_mod_param

Description

Defines the JPEGE module parameters of VENC on the device.

Prototype

typedef struct {
    hi_u32 one_stream_buf; 
    hi_u32 mini_buf_mode; 
    hi_u32 clear_stream_buf; 
    hi_u32 dering_mode; 
} hi_venc_jpeg_mod_param;

Members

Member

Description

one_stream_buf

Frame mode select.

  • 0 (reserved): multi-packet mode
  • 1: single-packet mode.

mini_buf_mode

Stream buffer allocation mode. Reserved.

  • 0 (default): The stream buffers are allocated based on the resolution.
  • 1: The stream buffer size is 32 KB at a minimum.

clear_stream_buf

Whether to clear the stream buffer when the attributes of a JPEG encoding channel are updated. Reserved.

  • 0: The stream buffers and context count are retained when the channel attributes are updated.
  • 1 (default): The stream buffers are cleared when the channel attributes are updated.

dering_mode

Reserved. The default value is 0.