[test]: Rename data type in mpi_dec_mt_test

Change-Id: Ia060fea489f3e5b63f1098db64fd5e0ea3dbd463
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
Herman Chen
2021-10-13 15:44:51 +08:00
parent 0589fb5bd3
commit 1894648650

View File

@@ -56,11 +56,11 @@ typedef struct {
/* runtime flag */
RK_U32 quiet;
} MpiDecLoopData;
} MpiDecMtLoopData;
void *thread_input(void *arg)
{
MpiDecLoopData *data = (MpiDecLoopData *)arg;
MpiDecMtLoopData *data = (MpiDecMtLoopData *)arg;
MppCtx ctx = data->ctx;
MppApi *mpi = data->mpi;
char *buf = data->buf;
@@ -110,7 +110,7 @@ void *thread_input(void *arg)
void *thread_output(void *arg)
{
MpiDecLoopData *data = (MpiDecLoopData *)arg;
MpiDecMtLoopData *data = (MpiDecMtLoopData *)arg;
MppCtx ctx = data->ctx;
MppApi *mpi = data->mpi;
MppFrame frame = NULL;
@@ -275,7 +275,7 @@ int mt_dec_decode(MpiDecTestCmd *cmd)
pthread_t thd_in;
pthread_t thd_out;
pthread_attr_t attr;
MpiDecLoopData data;
MpiDecMtLoopData data;
mpp_log("mpi_dec_test start\n");
memset(&data, 0, sizeof(data));