Browse code

Make ff_float_to_int16*_c() static.

Signed-off-by: Mans Rullgard <mans@mansr.com>

Alex Converse authored on 2011/01/28 15:13:49
Showing 2 changed files
... ...
@@ -3913,13 +3913,13 @@ static av_always_inline int float_to_int16_one(const float *src){
3913 3913
     return av_clip_int16(lrintf(*src));
3914 3914
 }
3915 3915
 
3916
-void ff_float_to_int16_c(int16_t *dst, const float *src, long len){
3916
+static void ff_float_to_int16_c(int16_t *dst, const float *src, long len){
3917 3917
     int i;
3918 3918
     for(i=0; i<len; i++)
3919 3919
         dst[i] = float_to_int16_one(src+i);
3920 3920
 }
3921 3921
 
3922
-void ff_float_to_int16_interleave_c(int16_t *dst, const float **src, long len, int channels){
3922
+static void ff_float_to_int16_interleave_c(int16_t *dst, const float **src, long len, int channels){
3923 3923
     int i,j,c;
3924 3924
     if(channels==2){
3925 3925
         for(i=0; i<len; i++){
... ...
@@ -70,8 +70,6 @@ void ff_svq3_add_idct_c(uint8_t *dst, DCTELEM *block, int stride, int qp, int dc
70 70
 
71 71
 void ff_vector_fmul_window_c(float *dst, const float *src0, const float *src1,
72 72
                              const float *win, float add_bias, int len);
73
-void ff_float_to_int16_c(int16_t *dst, const float *src, long len);
74
-void ff_float_to_int16_interleave_c(int16_t *dst, const float **src, long len, int channels);
75 73
 
76 74
 /* encoding scans */
77 75
 extern const uint8_t ff_alternate_horizontal_scan[64];