[enc_utils]: Add tsvc demo (control by gop_mode)

Change-Id: I034d631b3d6c473b82d12e3434860c7f8e9f9318
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
Herman Chen
2020-07-29 14:11:22 +08:00
parent 69c42f78d3
commit c31fd4dc27
3 changed files with 170 additions and 78 deletions

View File

@@ -55,7 +55,7 @@ extern "C" {
RK_S32 mpi_enc_width_default_stride(RK_S32 width, MppFrameFormat fmt);
MPP_RET mpi_enc_gen_ref_cfg(MppEncRefCfg ref);
MPP_RET mpi_enc_gen_ref_cfg(MppEncRefCfg ref, RK_S32 gop_mode);
MPP_RET mpi_enc_gen_osd_data(MppEncOSDData *osd_data, MppBuffer osd_buf, RK_U32 frame_cnt);
MPP_RET mpi_enc_gen_osd_plt(MppEncOSDPlt *osd_plt, RK_U32 *table);