From 5ebed3e8610988bda027b59552dd8776c1dff8e2 Mon Sep 17 00:00:00 2001 From: Yaowu Xu Date: Thu, 30 Jan 2014 11:48:16 -0800 Subject: Replace inline with INLINE So x86_64-win64-vs11 can build successfully. Change-Id: If354c2ea3921fac8c9b413ed39223e70bc20c535 --- vp9/encoder/vp9_encodeframe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vp9/encoder') 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, -- cgit v1.2.3