shithub: libvpx

Download patch

ref: a7657056b6a6af954399ad5846876c60530d0c4a
parent: 93a8a1eb8c8b9febb40329897d6486d7ade3f2f8
author: Adrian Grange <agrange@google.com>
date: Mon May 5 07:31:55 EDT 2014

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

--- a/vpx/vp8cx.h
+++ b/vpx/vp8cx.h
@@ -162,8 +162,10 @@
   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_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)
 
--