xref: /OK3568_Linux_fs/external/mpp/test/README.md (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun# Unit test description
2*4882a593Smuzhiyun
3*4882a593Smuzhiyun## There are some unit test for testing mpp functions in this catalog.
4*4882a593Smuzhiyun
5*4882a593Smuzhiyun### mpi_enc_test:
6*4882a593Smuzhiyunuse sync interface(poll,dequeue and enqueue), encode raw yuv to compress video.
7*4882a593Smuzhiyun
8*4882a593Smuzhiyun### mpi_dec_test:
9*4882a593Smuzhiyunuse sync interface and async interface(decode_put_packet and decode_get_frame),
10*4882a593Smuzhiyundecode compress video to raw yuv.
11*4882a593Smuzhiyun
12*4882a593Smuzhiyun### mpi_rc_test:
13*4882a593Smuzhiyunencode use detailed bitrate control config.
14*4882a593Smuzhiyun
15*4882a593Smuzhiyun### mpi_rc2_test:
16*4882a593Smuzhiyunencode use detailed bitrate control config,and cfg param come from mpi_rc.cfg.
17*4882a593Smuzhiyun
18*4882a593Smuzhiyun### mpi_test:
19*4882a593Smuzhiyunsimple description of mpi calling method, just for reference
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun### mpp_event_trigger:
22*4882a593Smuzhiyunevent trigger test.
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun### mpp_parse_cfg:
25*4882a593Smuzhiyunmpp parser cfg test.
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun### vpu_api_test
28*4882a593Smuzhiyunencode or decode use legacy interface, in order to compatible with the previous
29*4882a593Smuzhiyunvpu interface.
30