Skip to content
GitLab
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
edcf74c6
Commit
edcf74c6
authored
Jan 18, 2011
by
Jim Bankoski
Browse files
vp8e -removed undefined max call
Change-Id: I42a86b0488f44115f09551fc5ad6d711fd470f0d
parent
d6d5d437
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp8/encoder/onyx_if.c
View file @
edcf74c6
...
...
@@ -1503,7 +1503,10 @@ void vp8_new_frame_rate(VP8_COMP *cpi, double framerate)
cpi
->
min_frame_bandwidth
=
(
int
)(
cpi
->
av_per_frame_bandwidth
*
cpi
->
oxcf
.
two_pass_vbrmin_section
/
100
);
// Set Maximum gf/arf interval
cpi
->
max_gf_interval
=
max
(((
int
)(
cpi
->
output_frame_rate
/
2
.
0
)
+
2
),
12
);
cpi
->
max_gf_interval
=
((
int
)(
cpi
->
output_frame_rate
/
2
.
0
)
+
2
);
if
(
cpi
->
max_gf_interval
<
12
)
cpi
->
max_gf_interval
=
12
;
// Extended interval for genuinely static scenes
cpi
->
static_scene_max_gf_interval
=
cpi
->
key_frame_frequency
>>
1
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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