hi_venc_h264_mod_param
Function
Defines the H.264E module parameters of VENC on the device.
Definition
typedef struct {
hi_u32 one_stream_buf;
hi_u32 mini_buf_mode;
hi_u32 low_power_mode;
hi_vb_src vb_src;
hi_bool qp_hist_en;
hi_u32 max_user_data_len;
} hi_venc_h264_mod_param;For details about basic data types hi_u32 and hi_bool, see Basic Data Types.
Members
Member |
Description |
|---|---|
one_stream_buf |
Configuration mode of encoding stream frames. Defaults to 1.
|
mini_buf_mode |
Stream buffer allocation mode. Reserved. Defaults to 1. 0: The stream buffers are allocated based on the resolution. 1: The stream buffer size is 32 KB at a minimum. |
low_power_mode |
(Reserved) Low-power mode. Defaults to 0.
Note that enabling the low-power mode and the ultra-low-power mode can cause image quality loss. |
vb_src |
Frame buffer allocation mode for the reference frame and reconstruction frame. Defaults to HI_VB_SRC_PRIVATE. For details, see hi_vb_src.
|
qp_hist_en |
QP histogram output control. Reserved. Defaults to 1.
|
max_user_data_len |
Maximum memory allocation in bytes for user data. Reserved. Defaults to 1024. |