mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 01:02:39 +08:00
[h265e]: Add fixqp flow
Move fixqp mode from VBR+CQP to rc_mode FIXQP. Change-Id: Ia29471ecd81bb1a4759f6e6f1d7e37515341eb8c Signed-off-by: sayon.chen <sayon.chen@rock-chips.com> Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
@@ -587,8 +587,7 @@ static MPP_RET mpi_rc_enc_init(MpiRc2TestCtx *ctx)
|
||||
codec_cfg->h264.entropy_coding_mode = 1;
|
||||
codec_cfg->h264.cabac_init_idc = 0;
|
||||
|
||||
if (rc_cfg->rc_mode == MPP_ENC_RC_MODE_VBR &&
|
||||
rc_cfg->quality == MPP_ENC_RC_QUALITY_CQP) {
|
||||
if (rc_cfg->rc_mode == MPP_ENC_RC_MODE_FIXQP) {
|
||||
/* constant QP mode qp is fixed */
|
||||
codec_cfg->h264.qp_max = 26;
|
||||
codec_cfg->h264.qp_min = 26;
|
||||
|
Reference in New Issue
Block a user