mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-06 01:26:49 +08:00
[rk_mpi]: Add encoder query function
Change-Id: I869d30bf11b26feee02f5ba307d98f6bbdcf7058 Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
@@ -47,7 +47,8 @@
|
||||
|
||||
/* encoder control command */
|
||||
#define CMD_ENC_CFG_ALL (0x00000000)
|
||||
#define CMD_ENC_CFG_RC_API (0x00000100)
|
||||
#define CMD_ENC_QUERY (0x00000100)
|
||||
#define CMD_ENC_CFG_RC_API (0x00000200)
|
||||
|
||||
#define CMD_ENC_CFG_MISC (0x00008000)
|
||||
#define CMD_ENC_CFG_SPLIT (0x00008100)
|
||||
@@ -136,6 +137,10 @@ typedef enum {
|
||||
MPP_ENC_SET_ROI_CFG, /* set MppEncROICfg structure */
|
||||
MPP_ENC_SET_CTU_QP, /* for H265 Encoder,set CTU's size and QP */
|
||||
|
||||
MPP_ENC_CMD_QUERY = CMD_MODULE_CODEC | CMD_CTX_ID_ENC | CMD_ENC_QUERY,
|
||||
/* query encoder runtime information for encode stage */
|
||||
MPP_ENC_QUERY, /* set and get MppEncQueryCfg structure */
|
||||
|
||||
/* User define rate control stategy API control */
|
||||
MPP_ENC_CFG_RC_API = CMD_MODULE_CODEC | CMD_CTX_ID_ENC | CMD_ENC_CFG_RC_API,
|
||||
/*
|
||||
|
Reference in New Issue
Block a user