From 84fccfe47565c3f134afce7d9dda62271b9a53cd Mon Sep 17 00:00:00 2001 From: Jingning Han Date: Fri, 26 Aug 2016 08:42:51 -0700 Subject: [PATCH] Fix VS build warnings in vp9_alt_ref_aq files Change-Id: I5b19ec00a1eb8b148026f665d217c12eb50b614a --- vp9/encoder/vp9_alt_ref_aq.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/vp9/encoder/vp9_alt_ref_aq.h b/vp9/encoder/vp9_alt_ref_aq.h index e12d7682e..638218ab8 100644 --- a/vp9/encoder/vp9_alt_ref_aq.h +++ b/vp9/encoder/vp9_alt_ref_aq.h @@ -95,27 +95,30 @@ void vp9_alt_ref_aq_set_nsegments(struct ALT_REF_AQ *self, int nsegments); * \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 * * \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 * * \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" -- 2.40.0