[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:
Herman Chen
2017-01-05 20:23:21 +08:00
parent 5fca2c7645
commit b1a5c18ef9
16 changed files with 383 additions and 603 deletions

View File

@@ -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);