Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Yushin Cho
aom-rav1e
Commits
7129d4b4
Commit
7129d4b4
authored
Apr 21, 2014
by
Yaowu Xu
Committed by
Gerrit Code Review
Apr 21, 2014
Browse files
Merge "Remove an unused function"
parents
a439f5af
bae205fd
Changes
1
Show whitespace changes
Inline
Side-by-side
vp9/decoder/vp9_dsubexp.c
View file @
7129d4b4
...
...
@@ -26,22 +26,6 @@ static int decode_uniform(vp9_reader *r) {
return
v
<
m
?
v
:
(
v
<<
1
)
-
m
+
vp9_read_bit
(
r
);
}
static
int
merge_index
(
int
v
,
int
n
,
int
modulus
)
{
int
max1
=
(
n
-
1
-
modulus
/
2
)
/
modulus
+
1
;
if
(
v
<
max1
)
{
v
=
v
*
modulus
+
modulus
/
2
;
}
else
{
int
w
;
v
-=
max1
;
w
=
v
;
v
+=
(
v
+
modulus
-
modulus
/
2
)
/
modulus
;
while
(
v
%
modulus
==
modulus
/
2
||
w
!=
v
-
(
v
+
modulus
-
modulus
/
2
)
/
modulus
)
v
++
;
}
return
v
;
}
static
int
inv_remap_prob
(
int
v
,
int
m
)
{
static
int
inv_map_table
[
MAX_PROB
-
1
]
=
{
6
,
19
,
32
,
45
,
58
,
71
,
84
,
97
,
110
,
123
,
136
,
149
,
162
,
175
,
188
,
...
...
Write
Preview
Markdown
is supported
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