hi_venc_jpeg_mod_param

Function

Defines the JPEGE module parameters of VENC on the device.

Definition

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;

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

Members

Member

Description

one_stream_buf

Encoding stream frame mode. Defaults to 1.

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

mini_buf_mode

(Reserved) Stream buffer allocation mode. Defaults to 0.

  • 0: 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. Defaults to 1.

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

dering_mode

Reserved. Defaults to 0.