mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 09:06:50 +08:00
[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:
@@ -456,10 +456,12 @@ static MPP_RET mpi_rc_codec(MpiRcTestCtx *ctx)
|
||||
RK_U64 stream_size_1s = 0;
|
||||
|
||||
// runtime config
|
||||
MppEncCfgSet cfg;
|
||||
MppEncRcCfg *rc_cfg = &cfg.rc;
|
||||
MppEncPrepCfg *prep_cfg = &cfg.prep;
|
||||
MppEncCodecCfg *codec_cfg = &cfg.codec;
|
||||
MppEncRcCfg rc;
|
||||
MppEncPrepCfg prep;
|
||||
MppEncCodecCfg codec;
|
||||
MppEncRcCfg *rc_cfg = &rc;
|
||||
MppEncPrepCfg *prep_cfg = &prep;
|
||||
MppEncCodecCfg *codec_cfg = &codec;
|
||||
RK_S32 fps = 20;
|
||||
|
||||
mpp_log_f("test start width %d height %d codingtype %d\n", width, height, type);
|
||||
|
Reference in New Issue
Block a user