Commit 5acb622f authored by Paul Wilkins's avatar Paul Wilkins Committed by Gerrit Code Review
Browse files

Merge "firstpass: make local symbols static." into experimental

parents 42d5e31e 4c6a2d22
...@@ -798,9 +798,10 @@ void vp8_first_pass(VP8_COMP *cpi) { ...@@ -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)); return -(log(prob) / log(2.0));
} }
static long long estimate_modemvcost(VP8_COMP *cpi, static long long estimate_modemvcost(VP8_COMP *cpi,
FIRSTPASS_STATS *fpstats) { FIRSTPASS_STATS *fpstats) {
int mv_cost; int mv_cost;
...@@ -1911,7 +1912,7 @@ static void assign_std_frame_bits(VP8_COMP *cpi, FIRSTPASS_STATS *this_frame) { ...@@ -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. // 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 i;
int ret_val = new_maxqi; int ret_val = new_maxqi;
double old_q; double old_q;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment