From: Jim Bankoski Date: Tue, 11 Mar 2014 16:28:45 +0000 (-0700) Subject: vp9_block.h static reconverted to inline X-Git-Tag: v1.4.0~1999 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=35af423e8eec380829c8ebd2296536808008fb0b;p=libvpx vp9_block.h static reconverted to inline Change-Id: I0e7d2815839d8a64250116a5486570d03659a4c0 --- diff --git a/vp9/encoder/vp9_block.h b/vp9/encoder/vp9_block.h index 888984cce..360bb11c1 100644 --- a/vp9/encoder/vp9_block.h +++ b/vp9/encoder/vp9_block.h @@ -197,7 +197,8 @@ struct macroblock { // TODO(jingning): the variables used here are little complicated. need further // refactoring on organizing the temporary buffers, when recursive // partition down to 4x4 block size is enabled. -static PICK_MODE_CONTEXT *get_block_context(MACROBLOCK *x, BLOCK_SIZE bsize) { +static INLINE PICK_MODE_CONTEXT *get_block_context(MACROBLOCK *x, + BLOCK_SIZE bsize) { switch (bsize) { case BLOCK_64X64: return &x->sb64_context;