ffmpeg/libswresample
Muhammad Faiz 06f94149c6 swresample/resample: optimize exact_rational=on:linear_interp=on case
separate dsp.resample to dsp.resample_common and dsp.resample_linear
and choose to call faster resample_common even when linear_interp=on
when c->frac and c->dst_incr_mod are both zero

speed up resampling when exact_rational and linear_interp are both
enabled because exact_rational force c->frac and c->dst_incr_mod to
be zero when soft compensation does not happen

benchmark on exact_rational=on:linear_interp=on
        old     new
real    8.432s  5.097s
user    7.679s  4.989s
sys     0.125s  0.107s

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
2016-11-25 03:22:04 +07:00
..
aarch64
arm swresample/resample: optimize exact_rational=on:linear_interp=on case 2016-11-25 03:22:04 +07:00
tests
x86 swresample/resample: optimize exact_rational=on:linear_interp=on case 2016-11-25 03:22:04 +07:00
Makefile
audioconvert.c swresample: add int64 sample format 2016-08-18 15:30:05 +02:00
audioconvert.h
dither.c swresample: Skip over dither steps if dithering scale is 0 2016-08-18 11:52:11 +02:00
dither_template.c
libswresample.v
log2_tab.c
noise_shaping_data.c
options.c swresample: Skip over dither steps if dithering scale is 0 2016-08-18 11:52:11 +02:00
rematrix.c swresample/rematrix: Fix float part of swr_set_matrix() 2016-10-26 19:27:22 +02:00
rematrix_template.c
resample.c swresample/resample: optimize exact_rational=on:linear_interp=on case 2016-11-25 03:22:04 +07:00
resample.h swresample/resample: optimize exact_rational=on:linear_interp=on case 2016-11-25 03:22:04 +07:00
resample_dsp.c swresample/resample: optimize exact_rational=on:linear_interp=on case 2016-11-25 03:22:04 +07:00
resample_template.c
soxr_resample.c
swresample.c swresample: add int64 sample format 2016-08-18 15:30:05 +02:00
swresample.h swresample: Add swr_build_matrix() 2016-09-27 12:54:00 +02:00
swresample_frame.c
swresample_internal.h swresample: Use double and float for matrixes for best quality and speed 2016-09-27 12:53:25 +02:00
swresampleres.rc
version.h Bump minor versions after 3.2 branchpoint to seperate release 2016-10-26 20:52:42 +02:00