shithub: libvpx

Download patch

ref: 35af423e8eec380829c8ebd2296536808008fb0b
parent: 9895c9d4ddb1408a4f29ec4e313fa9890dd72b7e
author: Jim Bankoski <jimbankoski@google.com>
date: Tue Mar 11 05:28:45 EDT 2014

vp9_block.h static reconverted to inline

Change-Id: I0e7d2815839d8a64250116a5486570d03659a4c0

--- a/vp9/encoder/vp9_block.h
+++ b/vp9/encoder/vp9_block.h
@@ -197,7 +197,8 @@
 // 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;