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
62245162
Commit
62245162
authored
Feb 20, 2014
by
Tom Finegan
Committed by
Gerrit Code Review
Feb 20, 2014
Browse files
Merge "vp9_vaq.c: Cast result of round() to int to silence warning caused by clamp() call."
parents
15e95086
76c1896f
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_vaq.c
View file @
62245162
...
...
@@ -144,5 +144,5 @@ int vp9_block_energy(VP9_COMP *cpi, MACROBLOCK *x, BLOCK_SIZE bs) {
vp9_clear_system_state
();
energy
=
0
.
9
*
(
log
(
var
+
1
.
0
)
-
10
.
0
);
return
clamp
(
round
(
energy
),
ENERGY_MIN
,
ENERGY_MAX
);
return
clamp
(
(
int
)
round
(
energy
),
ENERGY_MIN
,
ENERGY_MAX
);
}
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