[test]: add new rc test

Change-Id: I1d076b8454d2de6fb5a6e9bf9c8ab9aed96eeca3
Signed-off-by: alpha lin <alpha.lin@rock-chips.com>
This commit is contained in:
alpha lin
2017-01-09 16:05:03 +08:00
parent acba8f17d3
commit 078f6aba84
3 changed files with 1396 additions and 0 deletions

View File

@@ -38,6 +38,9 @@ add_mpp_test(mpi_enc)
# mpi rc unit test
add_mpp_test(mpi_rc)
# new mpi rc unit test
add_mpp_test(mpi_rc2)
macro(add_legacy_test module)
set(test_name ${module}_test)
string(TOUPPER ${test_name} test_tag)

17
test/mpi_rc.cfg Normal file
View File

@@ -0,0 +1,17 @@
[CONFIG]
# index type can be 'frm' or 'msec', frm stand for event trigger at frame index,
# and msec represent event trigger at time (milli second).
index: frm
# loop represent the event will repeat at that point, for example, the first
# index is 1, the last index is 171, and loop is 200, when the last event occur,
# next event will occur after (200 + 1 - 171) times notify. if loop < 0, it
# means there is no loop, event trigger will be stop when all the event had been
# trigger
loop: 200
[EVENT]
#idx bps fps
0 2000000 30
40 4000000 30
100 5000000 30
150 3000000 30
171 6000000 27

1376
test/mpi_rc2_test.c Normal file

File diff suppressed because it is too large Load Diff