hi_frame_rate_ctrl

Description

Defines the frame rate control.

Prototype

typedef struct {
    hi_s32 src_frame_rate;
    hi_s32 dst_frame_rate;
} hi_frame_rate_ctrl;

Members

Member

Description

src_frame_rate

Source frame rate, that is, input frame rate.

Value range: -1 or [1, 240].

dst_frame_rate

Target frame rate, that is, output frame rate. When the source frame rate is –1, the target frame rate must be –1, indicating that no frame rate control is performed. In other cases, the target frame rate cannot be greater than the source frame rate.

Value range: [-1, src_frame_rate]