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
069e2458
Commit
069e2458
authored
Mar 13, 2014
by
Dmitry Kovalev
Committed by
Gerrit Code Review
Mar 13, 2014
Browse files
Merge "Removing unused select_cq_level() function."
parents
aa7ec14c
d548de69
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp9/encoder/vp9_firstpass.c
View file @
069e2458
...
...
@@ -62,22 +62,6 @@ static void swap_yv12(YV12_BUFFER_CONFIG *a, YV12_BUFFER_CONFIG *b) {
*
b
=
temp
;
}
static
int
select_cq_level
(
int
qindex
)
{
int
ret_val
=
QINDEX_RANGE
-
1
;
int
i
;
double
target_q
=
(
vp9_convert_qindex_to_q
(
qindex
)
*
0
.
5847
)
+
1
.
0
;
for
(
i
=
0
;
i
<
QINDEX_RANGE
;
++
i
)
{
if
(
target_q
<=
vp9_convert_qindex_to_q
(
i
))
{
ret_val
=
i
;
break
;
}
}
return
ret_val
;
}
static
int
gfboost_qadjust
(
int
qindex
)
{
const
double
q
=
vp9_convert_qindex_to_q
(
qindex
);
return
(
int
)((
0
.
00000
828
*
q
*
q
*
q
)
+
...
...
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