1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00
FFmpeg/libswresample
Ronald S. Bultje 9b53853756 Rewrite main resampling loop (common and linear).
This removes a branch at a performance-sensitive point (in the middle
of the loop). In fate-swr-resample-s32p-8000-2626, this makes the code
about 10% faster. It also simplifies the loops, allowing us to rewrite
it in yasm at some later point.

The compensation_distance != 0 code and index < 0 code are still kind
of hairy. For compensation_distance != 0, this should likely be handled
in the caller, so that it calls swri_resample twice (once until the
dst_incr switch-point, and once with the remainder of the samples). For
index < 0, the code should probably be rewritten to break out of the
loop once sample_index >= 0, and then resume (e.g. as a tail-call) to
the common or linear resampling loops.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-06-02 00:47:54 +02:00
..
arm Fix libswresample compilation with Apple Neon assembler. 2014-02-17 17:40:10 +01:00
x86 swresample: add swri_resample_float_avx 2014-05-16 05:27:03 +02:00
audioconvert.c audioconvert: support simd code with specific alignment requirements. 2012-12-14 04:47:17 +01:00
audioconvert.h audioconvert: support simd code with specific alignment requirements. 2012-12-14 04:47:17 +01:00
dither_template.c swr: fix "may be used uninitialized in this function" warnings 2013-01-20 17:09:48 +01:00
dither.c swresample/dither: use av_malloc_array() 2014-04-08 00:29:20 +02:00
libswresample.v
log2_tab.c swresample: include ff_log2_tab for shared builds 2012-10-20 01:58:04 +02:00
Makefile Add Windows resource file support for shared libraries 2013-12-05 23:42:07 +01:00
noise_shaping_data.c swr/noise_shaping_data: pad coeffs to multiple of 4 when they are 1 below 2013-01-12 19:09:54 +01:00
rematrix_template.c swresample/rematrix_template: Fix integer overflow in mix8to2 2013-06-10 03:03:17 +02:00
rematrix.c swresample: fix AV_CH_LAYOUT_STEREO_DOWNMIX input 2014-04-24 01:25:46 +02:00
resample_template.c Rewrite main resampling loop (common and linear). 2014-06-02 00:47:54 +02:00
resample.c swresample: add swri_resample_float_avx 2014-05-16 05:27:03 +02:00
soxr_resample.c soxr: libsoxr 0.1.1 support 2013-03-01 14:38:02 +01:00
swresample_internal.h swresample: Make rematrix maxvalue user settable 2013-07-22 03:23:54 +02:00
swresample-test.c swr-test: Fix clip to 32bit 2013-02-04 04:05:59 +01:00
swresample.c swresample: swr_close() 2014-05-15 18:27:23 +02:00
swresample.h swresample: swr_close() 2014-05-15 18:27:23 +02:00
swresampleres.rc Add Windows resource file support for shared libraries 2013-12-05 23:42:07 +01:00
version.h swresample: swr_close() 2014-05-15 18:27:23 +02:00