diff options
author | Mans Rullgard <mans@mansr.com> | 2012-09-10 18:47:00 +0400 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-09-13 22:15:43 +0400 |
commit | d26de339afa25f4fdbc53ee1a0ddd514920658a9 (patch) | |
tree | 5764384829381847dc7cdce64fbcbd84c3460b3b /libavresample/arm/audio_convert_init.c | |
parent | 643b5b794f095a1d679568a3a6b3106a1dfd6cdb (diff) |
ARM: libavresample: NEON optimised stereo fltp to s16 conversion
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'libavresample/arm/audio_convert_init.c')
-rw-r--r-- | libavresample/arm/audio_convert_init.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavresample/arm/audio_convert_init.c b/libavresample/arm/audio_convert_init.c index 7c46a80c5c..647111df3a 100644 --- a/libavresample/arm/audio_convert_init.c +++ b/libavresample/arm/audio_convert_init.c @@ -26,6 +26,8 @@ #include "libavresample/audio_convert.h" void ff_conv_flt_to_s16_neon(int16_t *dst, const float *src, int len); +void ff_conv_fltp_to_s16_2ch_neon(int16_t *dst, float *const *src, + int len, int channels); av_cold void ff_audio_convert_init_arm(AudioConvert *ac) { @@ -35,5 +37,8 @@ av_cold void ff_audio_convert_init_arm(AudioConvert *ac) ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLT, 0, 16, 8, "NEON", ff_conv_flt_to_s16_neon); + ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLTP, + 2, 16, 8, "NEON", + ff_conv_fltp_to_s16_2ch_neon); } } |