hi_venc_mjpeg_cbr

Function

Defines the CBR attributes of an MJPEG encoding channel. This structure is not supported currently.

Definition

typedef struct {
    hi_u32 stats_time;          // RW; Range:[1, 60]; the rate statistic time, the unit is seconds(s)
    hi_u32 src_frame_rate;   // RW; Range:[1, 240]; the input frame rate of the venc channel
    hi_u32 dst_frame_rate;   // RW; Range:[1, 240]; the target frame rate of the venc channel,
    // can not be larger than src_frame_rate
    hi_u32 bit_rate;              // RW; Range:[2, 614400]; average bitrate
} hi_venc_mjpeg_cbr;

For details about basic data type hi_u32, see Basic Data Types.