hi_venc_chn_param

Description

Defines the VENC channel parameters.

Prototype

typedef struct {
    hi_bool color_to_grey_en;
    hi_u32 priority;
    hi_u32 max_stream_cnt;
    hi_u32 poll_wake_up_frame_cnt;
    hi_crop_info crop_info;
    hi_frame_rate_ctrl frame_rate;
} hi_venc_chn_param;

Members

Member

Description

color_to_grey_en

Whether to enable or disable color-to-grayscale conversion for a channel.

For the Atlas A3 training products/Atlas A3 inference products, this parameter is not supported.

For the Atlas A2 training products/Atlas A2 inference products, this parameter is not supported.

For the Atlas inference products, this parameter is reserved.

priority

Channel priority. Defaults to 0. A larger value indicates a higher priority.

Value range: [0, 2)

max_stream_cnt

Maximum number of frames in the stream buffer. Reserved.

poll_wake_up_frame_cnt

Number of frames to wait before waking up a blocking API if a channel obtains streams in timeout or blocking mode. Reserved.

The value must be greater than 0.

Default value: 1

crop_info

Reserved.

frame_rate

Frame rate. Reserved.