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
e2ab65ab
Commit
e2ab65ab
authored
Apr 08, 2014
by
Yaowu Xu
Committed by
Gerrit Code Review
Apr 08, 2014
Browse files
Merge "vp9_ratectrl: change ARF overlays rate correction factor"
parents
8f684689
4664b219
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_ratectrl.c
View file @
e2ab65ab
...
...
@@ -227,6 +227,7 @@ static double get_rate_correction_factor(const VP9_COMP *cpi) {
return
cpi
->
rc
.
key_frame_rate_correction_factor
;
}
else
{
if
((
cpi
->
refresh_alt_ref_frame
||
cpi
->
refresh_golden_frame
)
&&
!
cpi
->
rc
.
is_src_frame_alt_ref
&&
!
(
cpi
->
use_svc
&&
cpi
->
oxcf
.
end_usage
==
USAGE_STREAM_FROM_SERVER
))
return
cpi
->
rc
.
gf_rate_correction_factor
;
else
...
...
@@ -239,6 +240,7 @@ static void set_rate_correction_factor(VP9_COMP *cpi, double factor) {
cpi
->
rc
.
key_frame_rate_correction_factor
=
factor
;
}
else
{
if
((
cpi
->
refresh_alt_ref_frame
||
cpi
->
refresh_golden_frame
)
&&
!
cpi
->
rc
.
is_src_frame_alt_ref
&&
!
(
cpi
->
use_svc
&&
cpi
->
oxcf
.
end_usage
==
USAGE_STREAM_FROM_SERVER
))
cpi
->
rc
.
gf_rate_correction_factor
=
factor
;
else
...
...
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