[FFmpeg-cvslog] Make ff_float_to_int16*_c() static.
Alex Converse
git
Sun Jan 30 04:15:54 CET 2011
ffmpeg | branch: master | Alex Converse <alex.converse at gmail.com> | Fri Jan 28 06:13:49 2011 +0000| [b5f83debf5384195c8700d024fb760ab8d7250aa] | committer: Michael Niedermayer
Make ff_float_to_int16*_c() static.
Signed-off-by: Mans Rullgard <mans at mansr.com>
(cherry picked from commit 5ce5dbc5f3d0bce1f8d76fea1907c91469ebdd01)
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b5f83debf5384195c8700d024fb760ab8d7250aa
---
libavcodec/dsputil.c | 4 ++--
libavcodec/dsputil.h | 2 --
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c
index 03a5eee..84f91fc 100644
--- a/libavcodec/dsputil.c
+++ b/libavcodec/dsputil.c
@@ -3913,13 +3913,13 @@ static av_always_inline int float_to_int16_one(const float *src){
return av_clip_int16(lrintf(*src));
}
-void ff_float_to_int16_c(int16_t *dst, const float *src, long len){
+static void ff_float_to_int16_c(int16_t *dst, const float *src, long len){
int i;
for(i=0; i<len; i++)
dst[i] = float_to_int16_one(src+i);
}
-void ff_float_to_int16_interleave_c(int16_t *dst, const float **src, long len, int channels){
+static void ff_float_to_int16_interleave_c(int16_t *dst, const float **src, long len, int channels){
int i,j,c;
if(channels==2){
for(i=0; i<len; i++){
diff --git a/libavcodec/dsputil.h b/libavcodec/dsputil.h
index eabecf0..74831cf 100644
--- a/libavcodec/dsputil.h
+++ b/libavcodec/dsputil.h
@@ -70,8 +70,6 @@ void ff_svq3_add_idct_c(uint8_t *dst, DCTELEM *block, int stride, int qp, int dc
void ff_vector_fmul_window_c(float *dst, const float *src0, const float *src1,
const float *win, float add_bias, int len);
-void ff_float_to_int16_c(int16_t *dst, const float *src, long len);
-void ff_float_to_int16_interleave_c(int16_t *dst, const float **src, long len, int channels);
/* encoding scans */
extern const uint8_t ff_alternate_horizontal_scan[64];
More information about the ffmpeg-cvslog
mailing list