mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 17:16:50 +08:00
[rk_venc_cmd]: Restore skip_cnt for compatibility
Change-Id: Ib542ace59e199752d6316c422ae11b4e57a0990b Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
@@ -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_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_FPS_OUT = (1 << 6), /* change on fps out flex / numerator / denorminator */
|
||||||
MPP_ENC_RC_CFG_CHANGE_GOP = (1 << 7),
|
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),
|
MPP_ENC_RC_CFG_CHANGE_ALL = (0xFFFFFFFF),
|
||||||
} MppEncRcCfgChange;
|
} MppEncRcCfgChange;
|
||||||
|
|
||||||
@@ -269,12 +270,18 @@ typedef struct MppEncRcCfg_t {
|
|||||||
*/
|
*/
|
||||||
RK_S32 gop;
|
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
|
* max_reenc_times - max reencode time for one frame
|
||||||
* 0 - reencode is not allowed
|
* 0 - reencode is not allowed
|
||||||
* 1~3 max reencode time is limited to 3
|
* 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
|
* stat_times - the time of bitrate statistics
|
||||||
|
Reference in New Issue
Block a user