hi_venc_jpeg_mod_param

Description

Defines the JPEGE module parameters of VENC on the device.

Prototype

hi_venc_jpeg_mod_param = {"one_stream_buf": one_stream_buf, # RW; Range:[0, 1]; one stream buffer
                          "mini_buf_mode": mini_buf_mode, # RW; Range:[0, 1]; Jpege MiniBufMode
                          "clear_stream_buf": clear_stream_buf, # RW; Range:[0, 1]; JpegClearStreamBuf
                          "dering_mode": dering_mode} # RW; Range:[0, 1]; Jpege Dering Mode };

Members

Member

Description

one_stream_buf

Int, configuration mode of encoding stream frames.

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

mini_buf_mode

Int, configuration mode of the stream buffer, 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

Int, whether to clear the stream buffer when the attributes of a JPEG encoding channel are set, 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.