mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-12 20:40:07 +08:00
[test]: remove roi control cfg except avc type
ROI cmd just avaiable in rkvenc,but also we need to ignore it in vpu. or will leads to warning about unknow vpu cmd. Change-Id: I9a630171df5698ae5d39bb2e5c38f06b2f988893 Signed-off-by: sliver.chen <sliver.chen@rock-chips.com>
This commit is contained in:
@@ -802,6 +802,7 @@ MPP_RET test_mpp_run(MpiEncTestData *p)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if MPI_ENC_TEST_SET_ROI
|
#if MPI_ENC_TEST_SET_ROI
|
||||||
|
if (p->type == MPP_VIDEO_CodingAVC) {
|
||||||
MppEncROIRegion *region = p->roi_region;
|
MppEncROIRegion *region = p->roi_region;
|
||||||
MppEncROICfg roi_cfg;
|
MppEncROICfg roi_cfg;
|
||||||
|
|
||||||
@@ -825,6 +826,7 @@ MPP_RET test_mpp_run(MpiEncTestData *p)
|
|||||||
mpp_err("mpi control enc set roi data failed\n");
|
mpp_err("mpi control enc set roi data failed\n");
|
||||||
goto RET;
|
goto RET;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ret = mpi->enqueue(ctx, MPP_PORT_INPUT, task);
|
ret = mpi->enqueue(ctx, MPP_PORT_INPUT, task);
|
||||||
|
Reference in New Issue
Block a user