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 For the For the |
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. |