[misc]: Change internal API interface

1. Change internal api RK_S32 cmd to MpiCmd.
2. Remove external MppEncCfgSet in MPI and move it internal data.

Change-Id: I0b93429f3b9f92712a57d0df54a1c76b3e08bf9d
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
Herman Chen
2019-10-14 19:45:46 +08:00
parent 585b187b18
commit ea476ad4d1
103 changed files with 249 additions and 303 deletions

View File

@@ -984,31 +984,4 @@ typedef struct MppEncOSDData_t {
MppEncOSDRegion region[8];
} MppEncOSDData;
typedef struct MppEncMiscCfg_t {
MppEncSliceSplit split;
MppEncGopRef gop_ref;
MppEncROICfg roi;
MppEncOSDData osd_data;
MppEncOSDPlt osd_plt;
} MppEncMiscCfg;
/*
* MppEncCfgSet shows the relationship between different configuration
* Due to the huge amount of configurable parameters we need to setup
* only minimum amount of necessary parameters.
*
* For normal user rc and prep config are enough.
*/
typedef struct MppEncCfgSet_t {
// esential config
MppEncPrepCfg prep;
MppEncRcCfg rc;
// codec detail config
MppEncCodecCfg codec;
// misc extra config
MppEncMiscCfg misc;
} MppEncCfgSet;
#endif /*__RK_VENC_CMD_H__*/