]> git.sesse.net Git - x264/blobdiff - encoder/ratecontrol.c
Mark some local functions as static, cosmetics
[x264] / encoder / ratecontrol.c
index 67b64f40e37e31c90989fa5230b7e3c2a2a02b28..7e77accf9774ec8c0317b1c8a73a77f4ac9d359d 100644 (file)
@@ -247,6 +247,7 @@ static NOINLINE uint32_t x264_ac_energy_mb( x264_t *h, int mb_x, int mb_y, x264_
      * function and make sure that its always called before the float math.  Noinline makes
      * sure no reordering goes on. */
     uint32_t var;
+    x264_prefetch_fenc( h, frame, mb_x, mb_y );
     if( h->mb.b_adaptive_mbaff )
     {
         /* We don't know the super-MB mode we're going to pick yet, so
@@ -2384,7 +2385,7 @@ static float rate_estimate_qscale( x264_t *h )
     }
 }
 
-void x264_threads_normalize_predictors( x264_t *h )
+static void x264_threads_normalize_predictors( x264_t *h )
 {
     double totalsize = 0;
     for( int i = 0; i < h->param.i_threads; i++ )