ref: de3fc51712e6c3a72207f0054814e3c36211e852
parent: ed39c40a2ed9b75a3261d78357eeecfb06478995
author: Alex Converse <aconverse@google.com>
date: Tue Mar 25 10:15:42 EDT 2014
Add consts to cost_mv_ref. Change-Id: Ie5dadb5c2bcfe80a703edb58a71dc453644c9ade
--- a/vp9/encoder/vp9_rdopt.c
+++ b/vp9/encoder/vp9_rdopt.c
@@ -1450,9 +1450,9 @@
*mode_uv = x->e_mbd.mi_8x8[0]->mbmi.uv_mode;
}
-static int cost_mv_ref(VP9_COMP *cpi, MB_PREDICTION_MODE mode,
+static int cost_mv_ref(const VP9_COMP *cpi, MB_PREDICTION_MODE mode,
int mode_context) {
- MACROBLOCK *const x = &cpi->mb;
+ const MACROBLOCK *const x = &cpi->mb;
const int segment_id = x->e_mbd.mi_8x8[0]->mbmi.segment_id;
// Don't account for mode here if segment skip is enabled.
--
⑨