Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
aom-rav1e
Commits
c50f6739
Commit
c50f6739
authored
Aug 26, 2015
by
Johann Koenig
Committed by
Gerrit Code Review
Aug 26, 2015
Browse files
Merge "Clean up unused function warnings in vp8 decoder"
parents
51b654e8
69097189
Changes
2
Hide whitespace changes
Inline
Side-by-side
vp8/decoder/dboolhuff.h
View file @
c50f6739
...
...
@@ -15,7 +15,7 @@
#include
<stddef.h>
#include
<limits.h>
#include
"vpx_config.h"
#include
"
./
vpx_config.h"
#include
"vpx_ports/mem.h"
#include
"vpx/vp8dx.h"
#include
"vpx/vpx_integer.h"
...
...
@@ -95,7 +95,7 @@ static int vp8dx_decode_bool(BOOL_DECODER *br, int probability) {
return
bit
;
}
static
int
vp8_decode_value
(
BOOL_DECODER
*
br
,
int
bits
)
static
INLINE
int
vp8_decode_value
(
BOOL_DECODER
*
br
,
int
bits
)
{
int
z
=
0
;
int
bit
;
...
...
@@ -108,7 +108,7 @@ static int vp8_decode_value(BOOL_DECODER *br, int bits)
return
z
;
}
static
int
vp8dx_bool_error
(
BOOL_DECODER
*
br
)
static
INLINE
int
vp8dx_bool_error
(
BOOL_DECODER
*
br
)
{
/* Check if we have reached the end of the buffer.
*
...
...
vp8/decoder/treereader.h
View file @
c50f6739
...
...
@@ -12,6 +12,7 @@
#ifndef VP8_DECODER_TREEREADER_H_
#define VP8_DECODER_TREEREADER_H_
#include
"./vpx_config.h"
#include
"vp8/common/treecoder.h"
#include
"dboolhuff.h"
...
...
@@ -28,7 +29,7 @@ typedef BOOL_DECODER vp8_reader;
/* Intent of tree data structure is to make decoding trivial. */
static
int
vp8_treed_read
(
static
INLINE
int
vp8_treed_read
(
vp8_reader
*
const
r
,
/* !!! must return a 0 or 1 !!! */
vp8_tree
t
,
const
vp8_prob
*
const
p
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment