mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-17 22:50:38 +08:00
[mpi/mpp]: Remove MppEncConfig interface
Change-Id: Ie85b780076b22342bfc1837beef00036f5f40a04 Signed-off-by: Herman Chen <herman.chen@rock-chips.com> Signed-off-by: timkingh.huang <timkingh.huang@rock-chips.com>
This commit is contained in:
@@ -36,7 +36,6 @@ int mpi_test()
|
||||
MPP_RET ret = MPP_NOK;
|
||||
MppCtx ctx = NULL;
|
||||
MppApi *mpi = NULL;
|
||||
MppEncConfig cfg;
|
||||
|
||||
MppPacket dec_in = NULL;
|
||||
MppFrame dec_out = NULL;
|
||||
@@ -190,17 +189,6 @@ int mpi_test()
|
||||
goto MPP_TEST_FAILED;
|
||||
}
|
||||
|
||||
memset(&cfg, 0, sizeof(cfg));
|
||||
|
||||
cmd = MPP_ENC_SET_CFG;
|
||||
param = &cfg;
|
||||
|
||||
ret = mpi->control(ctx, cmd, param);
|
||||
if (MPP_OK != ret) {
|
||||
mpp_err("mpi->control failed\n");
|
||||
goto MPP_TEST_FAILED;
|
||||
}
|
||||
|
||||
// interface with both input and output
|
||||
for (i = 0; i < MPI_ENC_LOOP_COUNT; i++) {
|
||||
mpp_frame_init(&enc_in);
|
||||
|
Reference in New Issue
Block a user