Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Xiph.Org
aom-rav1e
Commits
10f62d07
Commit
10f62d07
authored
Nov 26, 2014
by
Yaowu Xu
Committed by
Gerrit Code Review
Nov 26, 2014
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Separate rate_correction_factor for boosted GFs"
parents
31bb7a25
e4234b3f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
vp9/encoder/vp9_ratectrl.c
vp9/encoder/vp9_ratectrl.c
+2
-2
No files found.
vp9/encoder/vp9_ratectrl.c
View file @
10f62d07
...
...
@@ -370,7 +370,7 @@ static double get_rate_correction_factor(const VP9_COMP *cpi) {
}
else
{
if
((
cpi
->
refresh_alt_ref_frame
||
cpi
->
refresh_golden_frame
)
&&
!
rc
->
is_src_frame_alt_ref
&&
!
cpi
->
use_svc
&&
cpi
->
oxcf
.
rc_mode
!=
VPX_CBR
)
(
cpi
->
oxcf
.
rc_mode
!=
VPX_CBR
||
cpi
->
oxcf
.
gf_cbr_boost_pct
>
20
)
)
return
rc
->
rate_correction_factors
[
GF_ARF_STD
];
else
return
rc
->
rate_correction_factors
[
INTER_NORMAL
];
...
...
@@ -389,7 +389,7 @@ static void set_rate_correction_factor(VP9_COMP *cpi, double factor) {
}
else
{
if
((
cpi
->
refresh_alt_ref_frame
||
cpi
->
refresh_golden_frame
)
&&
!
rc
->
is_src_frame_alt_ref
&&
!
cpi
->
use_svc
&&
cpi
->
oxcf
.
rc_mode
!=
VPX_CBR
)
(
cpi
->
oxcf
.
rc_mode
!=
VPX_CBR
||
cpi
->
oxcf
.
gf_cbr_boost_pct
>
20
)
)
rc
->
rate_correction_factors
[
GF_ARF_STD
]
=
factor
;
else
rc
->
rate_correction_factors
[
INTER_NORMAL
]
=
factor
;
...
...
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