From: Adrian Grange Date: Mon, 5 May 2014 18:31:55 +0000 (-0700) Subject: Mark VP8E_SET_ARNR_TYPE as being deprecated X-Git-Tag: v1.4.0~1649^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a7657056b6a6af954399ad5846876c60530d0c4a;p=libvpx Mark VP8E_SET_ARNR_TYPE as being deprecated In a future release we plan to remove the option of setting the ARNR filter type. This patch marks this control as being deprecated as advance warning that it will be removed from the API at some point. Change-Id: I5dcca804b44c7c93b1a10da7d69d19ba6061869c --- diff --git a/vpx/vp8cx.h b/vpx/vp8cx.h index bc8df807e..67cbdb1f5 100644 --- a/vpx/vp8cx.h +++ b/vpx/vp8cx.h @@ -162,8 +162,10 @@ enum vp8e_enc_control_id { VP8E_SET_ARNR_MAXFRAMES, /**< control function to set the max number of frames blurred creating arf*/ VP8E_SET_ARNR_STRENGTH, //!< control function to set the filter //!< strength for the arf - VP8E_SET_ARNR_TYPE, //!< control function to set the type of - //!< filter to use for the arf + + /*!\deprecated control function to set the filter type to use for the arf */ + VP8E_SET_ARNR_TYPE, + VP8E_SET_TUNING, /**< control function to set visual tuning */ /*!\brief control function to set constrained quality level * @@ -349,7 +351,7 @@ VPX_CTRL_USE_TYPE(VP8E_SET_TOKEN_PARTITIONS, int) /* vp8e_token_partitions */ VPX_CTRL_USE_TYPE(VP8E_SET_ARNR_MAXFRAMES, unsigned int) VPX_CTRL_USE_TYPE(VP8E_SET_ARNR_STRENGTH, unsigned int) -VPX_CTRL_USE_TYPE(VP8E_SET_ARNR_TYPE, unsigned int) +VPX_CTRL_USE_TYPE_DEPRECATED(VP8E_SET_ARNR_TYPE, unsigned int) VPX_CTRL_USE_TYPE(VP8E_SET_TUNING, int) /* vp8e_tuning */ VPX_CTRL_USE_TYPE(VP8E_SET_CQ_LEVEL, unsigned int)