]> granicus.if.org Git - libvpx/commitdiff
firstpass: make local symbols static.
authorRonald S. Bultje <rbultje@google.com>
Tue, 30 Oct 2012 04:26:53 +0000 (21:26 -0700)
committerRonald S. Bultje <rbultje@google.com>
Tue, 30 Oct 2012 04:26:53 +0000 (21:26 -0700)
Change-Id: Iee0f707abbfe427b10058f6cf3be21b89d6a6e65

vp8/encoder/firstpass.c

index 09d5a762eeb1d464ffb74ca06931d6219ca34bee..2a622ffef34a7902bc1306b66750f1ba80919d9e 100644 (file)
@@ -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;