summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_encodeframe.c
diff options
context:
space:
mode:
authorYaowu Xu <yaowu@google.com>2014-01-30 11:48:16 -0800
committerYaowu Xu <yaowu@google.com>2014-01-30 11:48:16 -0800
commit5ebed3e8610988bda027b59552dd8776c1dff8e2 (patch)
tree3203f3fb083778720a0c3b7d2b34c44aa8a8f018 /vp9/encoder/vp9_encodeframe.c
parentc0856b98ccec175a8dd211f6c64bb2b64ee161e7 (diff)
downloadlibvpx-5ebed3e8610988bda027b59552dd8776c1dff8e2.tar
libvpx-5ebed3e8610988bda027b59552dd8776c1dff8e2.tar.gz
libvpx-5ebed3e8610988bda027b59552dd8776c1dff8e2.tar.bz2
libvpx-5ebed3e8610988bda027b59552dd8776c1dff8e2.zip
Replace inline with INLINE
So x86_64-win64-vs11 can build successfully. Change-Id: If354c2ea3921fac8c9b413ed39223e70bc20c535
Diffstat (limited to 'vp9/encoder/vp9_encodeframe.c')
-rw-r--r--vp9/encoder/vp9_encodeframe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vp9/encoder/vp9_encodeframe.c b/vp9/encoder/vp9_encodeframe.c
index b97fd0293..dbbd4e339 100644
--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -2480,10 +2480,10 @@ static void set_mode_info(MB_MODE_INFO *mbmi, BLOCK_SIZE bsize,
mbmi->sb_type = bsize;
mbmi->segment_id = 0;
}
-static inline int get_block_row(int b32i, int b16i, int b8i) {
+static INLINE int get_block_row(int b32i, int b16i, int b8i) {
return ((b32i >> 1) << 2) + ((b16i >> 1) << 1) + (b8i >> 1);
}
-static inline int get_block_col(int b32i, int b16i, int b8i) {
+static INLINE int get_block_col(int b32i, int b16i, int b8i) {
return ((b32i & 1) << 2) + ((b16i & 1) << 1) + (b8i & 1);
}
static void rtc_use_partition(VP9_COMP *cpi,