Files
Yanjun Liao bd3c609e49 feat[mpi_enc]: Support load ref_cfg json file
1.Support loading ref_cfg from standalone json file via -ref_cfg.
2.Priority: -ref_cfg > -g > -cfg gop_mode.
3.Include ref_cfg json configs for gop_mode 0-3.

Change-Id: Ide89d112c51c4fab77538d3d37a2b1a21ea4a05b
Signed-off-by: Yanjun Liao <yanjun.liao@rock-chips.com>
2026-05-18 16:25:26 +08:00
..
2017-06-09 08:56:59 +08:00
2025-11-14 17:01:42 +08:00
2025-11-14 17:00:41 +08:00
2026-03-30 17:16:09 +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_enc_mt_test:

multi-instance encoder test using multiple threads.

mpi_dec_test:

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

mpi_dec_mt_test:

multi-thread decoder test using decode_put_packet and decode_get_frame.

mpi_dec_multi_test:

multi-instance decoder test, each instance runs in its own thread.

mpi_dec_nt_test:

decoder test using sync decode interface with no timeout retry.

mpi_rc2_test:

decode then re-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_info_test:

print MPP library version and compatibility information.

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.