mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-12-26 11:17:44 +01:00
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 |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| mpi_dec_mt_test.c | ||
| mpi_dec_multi_test.c | ||
| mpi_dec_test.c | ||
| mpi_enc_test.c | ||
| mpi_rc.cfg | ||
| mpi_rc2_test.c | ||
| mpp_event_trigger.c | ||
| mpp_event_trigger.h | ||
| mpp_info_test.c | ||
| mpp_parse_cfg.c | ||
| mpp_parse_cfg.h | ||
| README.md | ||
| vpu_api_test.c | ||
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.