diff --git a/inc/rk_venc_cmd.h b/inc/rk_venc_cmd.h index e664df44..557cfb43 100644 --- a/inc/rk_venc_cmd.h +++ b/inc/rk_venc_cmd.h @@ -158,7 +158,8 @@ typedef enum MppEncRcCfgChange_e { MPP_ENC_RC_CFG_CHANGE_FPS_IN = (1 << 5), /* change on fps in flex / numerator / denorminator */ MPP_ENC_RC_CFG_CHANGE_FPS_OUT = (1 << 6), /* change on fps out flex / numerator / denorminator */ MPP_ENC_RC_CFG_CHANGE_GOP = (1 << 7), - MPP_ENC_RC_CFG_CHANGE_MAX_REENC = (1 << 8), + MPP_ENC_RC_CFG_CHANGE_SKIP_CNT = (1 << 8), + MPP_ENC_RC_CFG_CHANGE_MAX_REENC = (1 << 9), MPP_ENC_RC_CFG_CHANGE_ALL = (0xFFFFFFFF), } MppEncRcCfgChange; @@ -269,12 +270,18 @@ typedef struct MppEncRcCfg_t { */ RK_S32 gop; + /* + * skip_cnt - max continuous frame skip count + * 0 - frame skip is not allow + */ + RK_S16 skip_cnt; + /* * max_reenc_times - max reencode time for one frame * 0 - reencode is not allowed * 1~3 max reencode time is limited to 3 */ - RK_U32 max_reenc_times; + RK_U16 max_reenc_times; /* * stat_times - the time of bitrate statistics