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
bd716226
Commit
bd716226
authored
Jun 30, 2015
by
James Zern
Browse files
vp9_dsubexp: replace some divides with shifts
Change-Id: I24e10c37ea8f06600cd04b43512efa6170e23e5c
parent
56098587
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/decoder/vp9_dsubexp.c
View file @
bd716226
...
...
@@ -18,7 +18,7 @@ static int inv_recenter_nonneg(int v, int m) {
if
(
v
>
2
*
m
)
return
v
;
return
v
%
2
?
m
-
(
v
+
1
)
/
2
:
m
+
v
/
2
;
return
(
v
&
1
)
?
m
-
(
(
v
+
1
)
>>
1
)
:
m
+
(
v
>>
1
)
;
}
static
int
decode_uniform
(
vp9_reader
*
r
)
{
...
...
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