Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
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
57d59f6e
Commit
57d59f6e
authored
May 26, 2010
by
Paul Wilkins
Committed by
Code Review
May 26, 2010
Browse files
Merge "Correct bit allocation when the alternative reference frame"
parents
4071d167
ea4b6f18
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp8/encoder/ratectrl.c
View file @
57d59f6e
...
...
@@ -1118,8 +1118,9 @@ void vp8_calc_pframe_target_size(VP8_COMP *cpi)
cpi
->
this_frame_target
=
(
baseline_bits_at_q
(
1
,
Q
,
cpi
->
common
.
MBs
)
*
cpi
->
last_boost
)
/
100
;
}
// If there is an active ARF at this location use the minimum bits on this frame
else
// If there is an active ARF at this location use the minimum
// bits on this frame unless it was a contructed arf.
else
if
(
cpi
->
oxcf
.
arnr_max_frames
==
0
)
{
cpi
->
this_frame_target
=
0
;
// Minimial spend on gf that is replacing an arf
}
...
...
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