diff options
author | Mans Rullgard <mans@mansr.com> | 2012-09-10 15:47:00 +0100 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-09-13 19:15:43 +0100 |
commit | 8ff78578612f5d8b28164445e94e8805a9899daf (patch) | |
tree | da7762ce8a53478464ebb6fada312ed25c625730 /libavresample/arm/audio_convert_init.c | |
parent | d26de339afa25f4fdbc53ee1a0ddd514920658a9 (diff) | |
download | ffmpeg-8ff78578612f5d8b28164445e94e8805a9899daf.tar.gz |
ARM: libavresample: NEON optimised generic 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 647111df3a..bbb7bae514 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_neon(int16_t *dst, float *const *src, + int len, int channels); void ff_conv_fltp_to_s16_2ch_neon(int16_t *dst, float *const *src, int len, int channels); @@ -38,6 +40,9 @@ av_cold void ff_audio_convert_init_arm(AudioConvert *ac) 0, 16, 8, "NEON", ff_conv_flt_to_s16_neon); ff_audio_convert_set_func(ac, AV_SAMPLE_FMT_S16, AV_SAMPLE_FMT_FLTP, + 0, 16, 8, "NEON", + ff_conv_fltp_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); } |