]> granicus.if.org Git - libvpx/commitdiff
Mark VP8E_SET_ARNR_TYPE as being deprecated
authorAdrian Grange <agrange@google.com>
Mon, 5 May 2014 18:31:55 +0000 (11:31 -0700)
committerAdrian Grange <agrange@google.com>
Mon, 5 May 2014 18:40:46 +0000 (11:40 -0700)
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

vpx/vp8cx.h

index bc8df807e5346b2147acfbee68209de654443c01..67cbdb1f511f0411e20ac95a69a3eeef4ea10d82 100644 (file)
@@ -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)