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
Yushin Cho
aom-rav1e
Commits
93908627
Commit
93908627
authored
Oct 07, 2013
by
Deb Mukherjee
Committed by
Gerrit Code Review
Oct 07, 2013
Browse files
Merge "Rate control parameter adjustment"
parents
46b192d3
f43c3199
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_ratectrl.c
View file @
93908627
...
...
@@ -60,7 +60,7 @@ static int kfboost_qadjust(int qindex) {
int
vp9_bits_per_mb
(
FRAME_TYPE
frame_type
,
int
qindex
,
double
correction_factor
)
{
const
double
q
=
vp9_convert_qindex_to_q
(
qindex
);
int
enumerator
=
frame_type
==
KEY_FRAME
?
40
00000
:
25
0
0000
;
int
enumerator
=
frame_type
==
KEY_FRAME
?
33
00000
:
2
2
50000
;
// q based adjustment to baseline enumerator
enumerator
+=
(
int
)(
enumerator
*
q
)
>>
12
;
...
...
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