[mpp_enc]: Deprecate MPP_ENC_PRE_ALLOC_BUFF

Change-Id: I42ea6ce9897af4e5b6f1a1d1bf3beb5173a8f568
Signed-off-by: Herman Chen <herman.chen@rock-chips.com>
This commit is contained in:
Herman Chen
2021-01-20 17:19:13 +08:00
parent 0ce3ed3048
commit c440a5ee28
2 changed files with 5 additions and 1 deletions

View File

@@ -120,7 +120,7 @@ typedef enum {
MPP_ENC_GET_EXTRA_INFO, /* deprecated */
MPP_ENC_SET_SEI_CFG, /* SEI: Supplement Enhancemant Information, parameter is MppSeiMode */
MPP_ENC_GET_SEI_DATA, /* SEI: Supplement Enhancemant Information, parameter is MppPacket */
MPP_ENC_PRE_ALLOC_BUFF, /* allocate buffers before encoding */
MPP_ENC_PRE_ALLOC_BUFF, /* deprecated */
MPP_ENC_SET_QP_RANGE, /* used for adjusting qp range, the parameter can be 1 or 2 */
MPP_ENC_SET_ROI_CFG, /* set MppEncROICfg structure */
MPP_ENC_SET_CTU_QP, /* for H265 Encoder,set CTU's size and QP */

View File

@@ -656,6 +656,10 @@ MPP_RET mpp_enc_proc_cfg(MppEncImpl *enc, MpiCmd cmd, void *param)
enc->hdr_status.added_by_ctrl = 1;
} break;
case MPP_ENC_PRE_ALLOC_BUFF : {
/* deprecated control */
mpp_log("deprecated MPP_ENC_PRE_ALLOC_BUFF control\n");
} break;
case MPP_ENC_GET_RC_API_ALL : {
RcApiQueryAll *query = (RcApiQueryAll *)param;