mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-21 16:19:23 +08:00

When mpp output packet binary file with size config file test case should be enable to parser the corresponding config file. This patch implement the config file option with "-c" prefix. Command line sample: mpi_dec_test -t 7 -i /sdcard/in.bin -i /sdcard/ops.bin Then the test case will read in.bin file with size division specified in ops.bin. Change-Id: I8b18a6475d77f0303f12614a063888dcd9505f16 Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
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.