shithub: libvpx

Download patch

ref: 84fccfe47565c3f134afce7d9dda62271b9a53cd
parent: a91fe33c6d65010fe28b5cf2dec4fc8f6a48edc9
author: Jingning Han <jingning@google.com>
date: Fri Aug 26 04:42:51 EDT 2016

Fix VS build warnings in vp9_alt_ref_aq files

Change-Id: I5b19ec00a1eb8b148026f665d217c12eb50b614a

--- a/vp9/encoder/vp9_alt_ref_aq.h
+++ b/vp9/encoder/vp9_alt_ref_aq.h
@@ -95,7 +95,8 @@
  * \param    self    Instance of the class
  * \param    cpi     Encoder context
  */
-void vp9_alt_ref_aq_setup_mode(struct ALT_REF_AQ *self, struct VP9_COMP *cpi);
+void vp9_alt_ref_aq_setup_mode(struct ALT_REF_AQ *const self,
+                               struct VP9_COMP *const cpi);
 
 /*!\brief Set up LOOKAHEAD_AQ segmentation map and delta quantizers
  *
@@ -102,7 +103,8 @@
  * \param    self    Instance of the class
  * \param    cpi     Encoder context
  */
-void vp9_alt_ref_aq_setup_map(struct ALT_REF_AQ *self, struct VP9_COMP *cpi);
+void vp9_alt_ref_aq_setup_map(struct ALT_REF_AQ *const self,
+                              struct VP9_COMP *const cpi);
 
 /*!\brief Restore main segmentation map mode and reset the class variables
  *
@@ -109,13 +111,14 @@
  * \param    self    Instance of the class
  * \param    cpi     Encoder context
  */
-void vp9_alt_ref_aq_unset_all(struct ALT_REF_AQ *self, struct VP9_COMP *cpi);
+void vp9_alt_ref_aq_unset_all(struct ALT_REF_AQ *const self,
+                              struct VP9_COMP *const cpi);
 
 /*!\brief Destructor
  *
  * \param    self    Instance of the class
  */
-void vp9_alt_ref_aq_destroy(struct ALT_REF_AQ *self);
+void vp9_alt_ref_aq_destroy(struct ALT_REF_AQ *const self);
 
 #ifdef __cplusplus
 }  // extern "C"
--