[vp8e]: Fix vp8e reencode and ivf problems

1. Not do reencode in vp8 enc
2. Add api to control whether need to add ivf header
   (default: have ivf header)

Signed-off-by: yandong.lin <yandong.lin@rock-chips.com>
Change-Id: I59a3a7193abead6c73e6e1eed593a115add77888
This commit is contained in:
yandong.lin
2020-10-22 09:51:48 +08:00
committed by Herman Chen
parent 0f8aeda99d
commit e54234a11b
4 changed files with 24 additions and 15 deletions

View File

@@ -911,6 +911,7 @@ typedef struct MppEncJpegCfg_t {
*/
typedef enum MppEncVP8CfgChange_e {
MPP_ENC_VP8_CFG_CHANGE_QP = (1 << 0),
MPP_ENC_VP8_CFG_CHANGE_DIS_IVF = (1 << 1),
MPP_ENC_VP8_CFG_CHANGE_ALL = (0xFFFFFFFF),
} MppEncVP8CfgChange;
@@ -924,6 +925,7 @@ typedef struct MppEncVp8Cfg_t {
RK_S32 qp_min;
RK_S32 qp_min_i;
RK_S32 qp_max_step;
RK_S32 disable_ivf;
} MppEncVp8Cfg;
/**