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
d86d834f
Commit
d86d834f
authored
Oct 16, 2014
by
Paul Wilkins
Committed by
Gerrit Code Review
Oct 16, 2014
Browse files
Merge "Change initialization of static_scene_max_gf_interval."
parents
422cf740
716ae78c
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_ratectrl.c
View file @
d86d834f
...
...
@@ -1500,9 +1500,7 @@ void vp9_rc_set_gf_max_interval(const VP9_COMP *const cpi,
rc
->
max_gf_interval
=
16
;
// Extended interval for genuinely static scenes
rc
->
static_scene_max_gf_interval
=
oxcf
->
key_freq
>>
1
;
if
(
rc
->
static_scene_max_gf_interval
>
(
MAX_LAG_BUFFERS
*
2
))
rc
->
static_scene_max_gf_interval
=
MAX_LAG_BUFFERS
*
2
;
rc
->
static_scene_max_gf_interval
=
MAX_LAG_BUFFERS
*
2
;
if
(
is_altref_enabled
(
cpi
))
{
if
(
rc
->
static_scene_max_gf_interval
>
oxcf
->
lag_in_frames
-
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