Index: source/libvpx/vp9/decoder/vp9_reader.h |
=================================================================== |
--- source/libvpx/vp9/decoder/vp9_reader.h (revision 290053) |
+++ source/libvpx/vp9/decoder/vp9_reader.h (working copy) |
@@ -52,7 +52,7 @@ |
const uint8_t *vp9_reader_find_end(vp9_reader *r); |
-static int vp9_read(vp9_reader *r, int prob) { |
+static INLINE int vp9_read(vp9_reader *r, int prob) { |
unsigned int bit = 0; |
BD_VALUE value; |
BD_VALUE bigsplit; |
@@ -89,11 +89,11 @@ |
return bit; |
} |
-static int vp9_read_bit(vp9_reader *r) { |
+static INLINE int vp9_read_bit(vp9_reader *r) { |
return vp9_read(r, 128); // vp9_prob_half |
} |
-static int vp9_read_literal(vp9_reader *r, int bits) { |
+static INLINE int vp9_read_literal(vp9_reader *r, int bits) { |
int literal = 0, bit; |
for (bit = bits - 1; bit >= 0; bit--) |
@@ -102,8 +102,8 @@ |
return literal; |
} |
-static int vp9_read_tree(vp9_reader *r, const vp9_tree_index *tree, |
- const vp9_prob *probs) { |
+static INLINE int vp9_read_tree(vp9_reader *r, const vp9_tree_index *tree, |
+ const vp9_prob *probs) { |
vp9_tree_index i = 0; |
while ((i = tree[i + vp9_read(r, probs[i >> 1])]) > 0) |