hi_venc_chn_param
Description
Defines the VENC channel parameters.
Prototype
hi_venc_chn_param = {"color_to_grey_en": color_to_grey_en,
"priority": priority,
"max_stream_cnt": max_stream_cnt,
"poll_wake_up_frame_cnt": poll_wake_up_frame_cnt,
"crop_info": hi_crop_info,
"frame_rate": hi_frame_rate_ctrl}
Members
Member |
Description |
|---|---|
color_to_grey_en |
Int, color-to-grayscale conversion enable. |
priority |
Int, channel priority. Defaults to 0. A larger value indicates a higher priority. Value range: [0, 2) |
max_stream_cnt |
Int, maximum number of frames in the stream buffer, reserved. |
poll_wake_up_frame_cnt |
Int, number of frames to wait before waking up a blocking API if a channel obtains streams in timeout or blocking mode, reserved. Must be greater than 0. Default value: 1 |
crop_info |
Dictionary, reserved. |
frame_rate |
Dictionary, frame rate control for a channel, reserved. |
Parent topic: Video/Image Encoding