diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-10-31 23:40:12 +0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2013-01-08 23:52:43 +0400 |
commit | 1fb8f6a44f06e48386450fe0363aefc02583d24a (patch) | |
tree | 10646418de90866bc7b3393b2c6a04107ddba4da /libavresample/dither.c | |
parent | 142c39097c306d84624107070622f78c61981fc6 (diff) |
x86: lavr: add SSE2 quantize() for dithering
Diffstat (limited to 'libavresample/dither.c')
-rw-r--r-- | libavresample/dither.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavresample/dither.c b/libavresample/dither.c index dfff03e756..f24bf5c765 100644 --- a/libavresample/dither.c +++ b/libavresample/dither.c @@ -336,6 +336,9 @@ static void dither_init(DitherDSPContext *ddsp, ddsp->dither_int_to_float = dither_int_to_float_rectangular_c; else ddsp->dither_int_to_float = dither_int_to_float_triangular_c; + + if (ARCH_X86) + ff_dither_init_x86(ddsp, method); } DitherContext *ff_dither_alloc(AVAudioResampleContext *avr, |