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
166d8142
Commit
166d8142
authored
Jan 06, 2014
by
Marco Paniconi
Committed by
Gerrit Code Review
Jan 06, 2014
Browse files
Merge "Code cleanup: remove unneeded lines."
parents
9aa16eec
3817c7c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_ratectrl.c
View file @
166d8142
...
...
@@ -374,8 +374,6 @@ static int target_size_from_buffer_level(const VP9_COMP *cpi) {
/
one_percent_bits
);
if
(
percent_low
>
cpi
->
oxcf
.
under_shoot_pct
)
{
percent_low
=
cpi
->
oxcf
.
under_shoot_pct
;
}
else
if
(
percent_low
<
0
)
{
percent_low
=
0
;
}
// Lower the target bandwidth for this frame.
this_frame_target
-=
(
this_frame_target
*
percent_low
)
/
200
;
...
...
@@ -384,8 +382,6 @@ static int target_size_from_buffer_level(const VP9_COMP *cpi) {
/
one_percent_bits
);
if
(
percent_high
>
cpi
->
oxcf
.
over_shoot_pct
)
{
percent_high
=
cpi
->
oxcf
.
over_shoot_pct
;
}
else
if
(
percent_high
<
0
)
{
percent_high
=
0
;
}
// Increase the target bandwidth for this frame.
this_frame_target
+=
(
this_frame_target
*
percent_high
)
/
200
;
...
...
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