hi_venc_mjpeg_cbr

Description

(Reserved) Defines the CBR attributes of an MJPEG encoding channel.

Prototype

typedef struct {
    hi_u32 stats_time; // Rate statistic time, RW. Range: [1, 60]. Unit: second (s).
    hi_u32 src_frame_rate; // Input frame rate of the VENC channel, RW. Range:[1, 240].
    hi_u32 dst_frame_rate; // Target frame rate of the VENC channel, RW. Range:[1, 240].
                          // Cannot be larger than src_frame_rate.
    hi_u32 bit_rate; // Average bitrate, RW; Range:[2, 614400].
} hi_venc_mjpeg_cbr;