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
Xiph.Org
aom-rav1e
Commits
a5ce28a1
Commit
a5ce28a1
authored
Apr 10, 2014
by
John Koleszar
Committed by
Gerrit Code Review
Apr 10, 2014
Browse files
Merge "Fix onyx_if.c to not to redefine M_LOG2_E if it's already defined."
parents
045e9f75
409f8da2
Changes
2
Hide whitespace changes
Inline
Side-by-side
vp8/encoder/onyx_if.c
View file @
a5ce28a1
...
...
@@ -1761,8 +1761,11 @@ void vp8_change_config(VP8_COMP *cpi, VP8_CONFIG *oxcf)
}
#ifndef M_LOG2_E
#define M_LOG2_E 0.693147180559945309417
#endif
#define log2f(x) (log (x) / (float) M_LOG2_E)
static
void
cal_mvsadcosts
(
int
*
mvsadcost
[
2
])
{
int
i
=
1
;
...
...
vp9/encoder/vp9_onyx_if.c
View file @
a5ce28a1
...
...
@@ -906,7 +906,9 @@ void vp9_change_config(struct VP9_COMP *cpi, const VP9_CONFIG *oxcf) {
cpi
->
ext_refresh_frame_context_pending
=
0
;
}
#ifndef M_LOG2_E
#define M_LOG2_E 0.693147180559945309417
#endif
#define log2f(x) (log (x) / (float) M_LOG2_E)
static
void
cal_nmvjointsadcost
(
int
*
mvjointsadcost
)
{
...
...
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