From: Jim Bankoski Date: Mon, 10 Feb 2014 04:06:35 +0000 (-0800) Subject: Convert functions to inline that are in headers static. X-Git-Tag: v1.4.0~2450^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9768d0b184dbcacef6ec7db7a04f496f69355db8;p=libvpx Convert functions to inline that are in headers static. Change-Id: If1ec3b64be327e8c48ec7efbacde208d2129fdb0 --- 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,