projects
/
platform
/
upstream
/
libvpx.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
99e4c50
)
Convert functions to inline that are in headers static.
author
Jim Bankoski
<jimbankoski@google.com>
Mon, 10 Feb 2014 04:06:35 +0000
(20:06 -0800)
committer
Jim Bankoski
<jimbankoski@google.com>
Mon, 10 Feb 2014 04:06:35 +0000
(20:06 -0800)
Change-Id: If1ec3b64be327e8c48ec7efbacde208d2129fdb0
vp9/common/vp9_mvref_common.h
patch
|
blob
|
history
diff --git
a/vp9/common/vp9_mvref_common.h
b/vp9/common/vp9_mvref_common.h
index
0936abf
..
f99952f
100644
(file)
--- 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,