archived-mpp/test
Herman Chen ced006c2a8 refactor[test]: Refactor C++ test file to C
1. Refactor test cpp files to c.
2. Update test license to Apache-2.0 OR MIT.

Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
Change-Id: I02f3e23ddae8435ca851a5f0164f04ef5f51ccc2
2025-09-03 11:15:38 +08:00
..
CMakeLists.txt refactor[test]: Refactor C++ test file to C 2025-09-03 11:15:38 +08:00
mpi_dec_mt_test.c refactor[test]: Refactor C++ test file to C 2025-09-03 11:15:38 +08:00
mpi_dec_multi_test.c refactor[test]: Refactor C++ test file to C 2025-09-03 11:15:38 +08:00
mpi_dec_nt_test.c refactor[test]: Refactor C++ test file to C 2025-09-03 11:15:38 +08:00
mpi_dec_test.c refactor[test]: Refactor C++ test file to C 2025-09-03 11:15:38 +08:00
mpi_enc_mt_test.c refactor[test]: Refactor C++ test file to C 2025-09-03 11:15:38 +08:00
mpi_enc_test.c refactor[test]: Refactor C++ test file to C 2025-09-03 11:15:38 +08:00
mpi_rc.cfg [test]: add new rc test 2017-06-09 08:56:59 +08:00
mpi_rc2_test.c refactor[test]: Refactor C++ test file to C 2025-09-03 11:15:38 +08:00
mpp_event_trigger.c refactor[test]: Refactor C++ test file to C 2025-09-03 11:15:38 +08:00
mpp_event_trigger.h refactor[test]: Refactor C++ test file to C 2025-09-03 11:15:38 +08:00
mpp_info_test.c refactor[test]: Refactor C++ test file to C 2025-09-03 11:15:38 +08:00
mpp_parse_cfg.c refactor[test]: Refactor C++ test file to C 2025-09-03 11:15:38 +08:00
mpp_parse_cfg.h refactor[test]: Refactor C++ test file to C 2025-09-03 11:15:38 +08:00
README.md [test]: add README.md for mpi unit test 2017-09-07 17:43:27 +08:00
vpu_api_test.c refactor[test]: Refactor C++ test file to C 2025-09-03 11:15:38 +08:00

Unit test description

There are some unit test for testing mpp functions in this catalog.

mpi_enc_test:

use sync interface(poll,dequeue and enqueue), encode raw yuv to compress video.

mpi_dec_test:

use sync interface and async interface(decode_put_packet and decode_get_frame), decode compress video to raw yuv.

mpi_rc_test:

encode use detailed bitrate control config.

mpi_rc2_test:

encode use detailed bitrate control config,and cfg param come from mpi_rc.cfg.

mpi_test:

simple description of mpi calling method, just for reference

mpp_event_trigger:

event trigger test.

mpp_parse_cfg:

mpp parser cfg test.

vpu_api_test

encode or decode use legacy interface, in order to compatible with the previous vpu interface.