[x264-devel] [PATCH] Move the prototype of x264_rc_analyse_slice function from ratecontrol.c

Loic Le Loarer lll+vlc at m4x.org
Sun Aug 3 20:09:29 CEST 2008


---
 encoder/ratecontrol.c |    1 -
 encoder/ratecontrol.h |    1 +
 2 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/encoder/ratecontrol.c b/encoder/ratecontrol.c
index d8c1b2d..9c0f2b6 100644
--- a/encoder/ratecontrol.c
+++ b/encoder/ratecontrol.c
@@ -149,7 +149,6 @@ static void update_vbv( x264_t *h, int bits );
 static void update_vbv_plan( x264_t *h );
 static double predict_size( predictor_t *p, double q, double var );
 static void update_predictor( predictor_t *p, double q, double var, double bits );
-int  x264_rc_analyse_slice( x264_t *h );
 
 /* Terminology:
  * qp = h.264's quantizer
diff --git a/encoder/ratecontrol.h b/encoder/ratecontrol.h
index c87414c..d5e3371 100644
--- a/encoder/ratecontrol.h
+++ b/encoder/ratecontrol.h
@@ -37,6 +37,7 @@ void x264_ratecontrol_summary( x264_t * );
 void x264_adaptive_quant( x264_t * );
 void x264_ratecontrol_set_estimated_size( x264_t *, int bits );
 int  x264_ratecontrol_get_estimated_size( x264_t const *);
+int  x264_rc_analyse_slice( x264_t *h );
 
 #endif
 
-- 
1.5.6



More information about the x264-devel mailing list