[mpp_enc]: implement more encoder control function

git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1119 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
ChenHengming
2016-07-28 06:39:53 +00:00
parent 84b3cd2de7
commit 05e4178f9d
8 changed files with 59 additions and 41 deletions

View File

@@ -155,7 +155,7 @@ int mpi_enc_test(MpiEncTestCmd *cmd)
memset(&mpp_cfg, 0, sizeof(mpp_cfg));
mpp_cfg.width = width;
mpp_cfg.height = height;
mpp_cfg.format = VPU_H264ENC_YUV420_PLANAR;
mpp_cfg.format = ENC_INPUT_YUV420_PLANAR;
mpp_cfg.rc_mode = 1;
mpp_cfg.skip_cnt = 0;
mpp_cfg.bps = SZ_4M * 8;