archived-mpp/test
Hongjin Li 33269e39e7 [mpp_dec]: Fix the problem of read data error
For data with sizes of 5120x7160 and 8000x8000, the required buffer size
was calculated incorrectly during the encoding process, which caused the
requested buffer to be too large, resulting in drm exceptions.
Therefore, the method of calculating data has been modified.

Signed-off-by: Hongjin Li <vic.hong@rock-chips.com>
Change-Id: I519a76687118d568cf57e7d3d54a150e9019285c
2022-01-17 20:41:06 +08:00
..
CMakeLists.txt [test]: Use new option module 2022-01-11 08:37:41 +08:00
mpi_dec_mt_test.c [test]: Use new option module 2022-01-11 08:37:41 +08:00
mpi_dec_multi_test.c [test]: Use new option module 2022-01-11 08:37:41 +08:00
mpi_dec_test.c [test]: Use new option module 2022-01-11 08:37:41 +08:00
mpi_enc_test.c [mpp_dec]: Fix the problem of read data error 2022-01-17 20:41:06 +08:00
mpi_rc.cfg [test]: add new rc test 2017-06-09 08:56:59 +08:00
mpi_rc2_test.c [test]: update rc2 testcase 2022-01-12 11:50:20 +08:00
mpp_event_trigger.c [test]: add auto test modules 2017-06-09 08:56:50 +08:00
mpp_event_trigger.h [test]: add auto test modules 2017-06-09 08:56:50 +08:00
mpp_info_test.c [cmake]: Add history log 2020-03-04 11:05:50 +08:00
mpp_parse_cfg.c [test]: add auto test modules 2017-06-09 08:56:50 +08:00
mpp_parse_cfg.h [test]: add auto test modules 2017-06-09 08:56:50 +08:00
README.md [test]: add README.md for mpi unit test 2017-09-07 17:43:27 +08:00
vpu_api_test.c [test]: Remove vpu_api_test's dependence on mpp 2020-05-21 09:40:23 +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.