mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-09-26 21:15:53 +08:00
[test]: add new rc test
Change-Id: I1d076b8454d2de6fb5a6e9bf9c8ab9aed96eeca3 Signed-off-by: alpha lin <alpha.lin@rock-chips.com>
This commit is contained in:
@@ -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
17
test/mpi_rc.cfg
Normal 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
1376
test/mpi_rc2_test.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user