diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-09-22 18:13:57 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-11-26 11:29:06 -0500 |
commit | 284ea790d89441fa1e6b2d72d3c1ed6d61972f0b (patch) | |
tree | bcfcca17dd96f1ea102ed069072abde7a57920bf /libavcodec/dsputil.c | |
parent | 1e276553886a7ca315a055c489fabe456e789e3f (diff) | |
download | ffmpeg-284ea790d89441fa1e6b2d72d3c1ed6d61972f0b.tar.gz |
dsputil: move vector_fmul_scalar() to AVFloatDSPContext in libavutil
Diffstat (limited to 'libavcodec/dsputil.c')
-rw-r--r-- | libavcodec/dsputil.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index 7a3fdba299..d4471dc24c 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -2392,14 +2392,6 @@ static void vector_fmul_window_c(float *dst, const float *src0, } } -static void vector_fmul_scalar_c(float *dst, const float *src, float mul, - int len) -{ - int i; - for (i = 0; i < len; i++) - dst[i] = src[i] * mul; -} - static void butterflies_float_c(float *restrict v1, float *restrict v2, int len) { @@ -2869,7 +2861,6 @@ av_cold void ff_dsputil_init(DSPContext* c, AVCodecContext *avctx) c->scalarproduct_float = ff_scalarproduct_float_c; c->butterflies_float = butterflies_float_c; c->butterflies_float_interleave = butterflies_float_interleave_c; - c->vector_fmul_scalar = vector_fmul_scalar_c; c->shrink[0]= av_image_copy_plane; c->shrink[1]= ff_shrink22; |