shithub: libvpx

Download patch

ref: 56090b2d1e37f2756ec3c980ec92db7b7dd65c2e
parent: 3a4598cf67df79662d9b04d3b488fd5fd05fdcf7
parent: 9768d0b184dbcacef6ec7db7a04f496f69355db8
author: Jim Bankoski <jimbankoski@google.com>
date: Mon Feb 10 06:34:29 EST 2014

Merge "Convert functions to inline that are in headers static."

--- a/vp9/common/vp9_mvref_common.h
+++ b/vp9/common/vp9_mvref_common.h
@@ -48,7 +48,7 @@
                            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,