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
Xiph.Org
aom-rav1e
Commits
4c6a2d22
Commit
4c6a2d22
authored
Oct 29, 2012
by
Ronald S. Bultje
Browse files
firstpass: make local symbols static.
Change-Id: Iee0f707abbfe427b10058f6cf3be21b89d6a6e65
parent
8ce9fb8d
Changes
1
Hide whitespace changes
Inline
Side-by-side
vp8/encoder/firstpass.c
View file @
4c6a2d22
...
...
@@ -798,9 +798,10 @@ void vp8_first_pass(VP8_COMP *cpi) {
//
double
bitcost
(
double
prob
)
{
static
double
bitcost
(
double
prob
)
{
return
-
(
log
(
prob
)
/
log
(
2
.
0
));
}
static
long
long
estimate_modemvcost
(
VP8_COMP
*
cpi
,
FIRSTPASS_STATS
*
fpstats
)
{
int
mv_cost
;
...
...
@@ -1911,7 +1912,7 @@ static void assign_std_frame_bits(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame) {
}
// Make a damped adjustment to the active max q.
int
adjust_active_maxq
(
int
old_maxqi
,
int
new_maxqi
)
{
static
int
adjust_active_maxq
(
int
old_maxqi
,
int
new_maxqi
)
{
int
i
;
int
ret_val
=
new_maxqi
;
double
old_q
;
...
...
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