Convert functions to inline that are in headers static.
authorJim Bankoski <jimbankoski@google.com>
Mon, 10 Feb 2014 04:06:35 +0000 (20:06 -0800)
committerJim Bankoski <jimbankoski@google.com>
Mon, 10 Feb 2014 04:06:35 +0000 (20:06 -0800)
Change-Id: If1ec3b64be327e8c48ec7efbacde208d2129fdb0

vp9/common/vp9_mvref_common.h

index 0936abf..f99952f 100644 (file)
@@ -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,