]> granicus.if.org Git - libvpx/commitdiff
vp9_block.h static reconverted to inline
authorJim Bankoski <jimbankoski@google.com>
Tue, 11 Mar 2014 16:28:45 +0000 (09:28 -0700)
committerGerrit Code Review <gerrit@gerrit.golo.chromium.org>
Mon, 24 Mar 2014 13:30:39 +0000 (06:30 -0700)
Change-Id: I0e7d2815839d8a64250116a5486570d03659a4c0

vp9/encoder/vp9_block.h

index 888984cceb5a39774a7dbb4aea1777462447bf8f..360bb11c19d8e46261858ffb1c65d14436e7be60 100644 (file)
@@ -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;