From 9768d0b184dbcacef6ec7db7a04f496f69355db8 Mon Sep 17 00:00:00 2001 From: Jim Bankoski Date: Sun, 9 Feb 2014 20:06:35 -0800 Subject: [PATCH] Convert functions to inline that are in headers static. Change-Id: If1ec3b64be327e8c48ec7efbacde208d2129fdb0 --- vp9/common/vp9_mvref_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp9/common/vp9_mvref_common.h b/vp9/common/vp9_mvref_common.h index 0936abfcd..f99952f3c 100644 --- a/vp9/common/vp9_mvref_common.h +++ b/vp9/common/vp9_mvref_common.h @@ -48,7 +48,7 @@ void vp9_find_best_ref_mvs(MACROBLOCKD *xd, int allow_hp, int_mv *mvlist, int_mv *nearest, int_mv *near); // TODO(jingning): this mv clamping function should be block size dependent. -static void clamp_mv2(MV *mv, const MACROBLOCKD *xd) { +static INLINE void clamp_mv2(MV *mv, const MACROBLOCKD *xd) { clamp_mv(mv, xd->mb_to_left_edge - LEFT_TOP_MARGIN, xd->mb_to_right_edge + RIGHT_BOTTOM_MARGIN, xd->mb_to_top_edge - LEFT_TOP_MARGIN,