mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-04 08:46:24 +08:00
[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:
@@ -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 */
|
||||
|
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user