diff options
author | Muhammad Faiz <mfcc64@gmail.com> | 2016-06-16 00:17:35 +0700 |
---|---|---|
committer | Muhammad Faiz <mfcc64@gmail.com> | 2016-06-21 05:18:21 +0700 |
commit | 6031e5d1af934727e7a014b521aa8303f669a2f3 (patch) | |
tree | c7e7feb5c82dffa6b4ab8f7f8016c9d227deb848 /libswresample/x86/resample_init.c | |
parent | d0bde818acc7de44140a2ebfb52e3556e2eb47c9 (diff) | |
download | ffmpeg-6031e5d1af934727e7a014b521aa8303f669a2f3.tar.gz |
swresample/x86: add support for exact_rational
phase_shift and phase_mask is removed
generally exact_rational=on is faster than exact_rational=off
Signed-off-by: Muhammad Faiz <mfcc64@gmail.com>
Diffstat (limited to 'libswresample/x86/resample_init.c')
-rw-r--r-- | libswresample/x86/resample_init.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libswresample/x86/resample_init.c b/libswresample/x86/resample_init.c index f05397fecb..9d7d5cf89e 100644 --- a/libswresample/x86/resample_init.c +++ b/libswresample/x86/resample_init.c @@ -47,10 +47,6 @@ av_cold void swri_resample_dsp_x86_init(ResampleContext *c) { int av_unused mm_flags = av_get_cpu_flags(); - /* FIXME use phase_count on asm */ - if (c->phase_count != 1 << c->phase_shift) - return; - switch(c->format){ case AV_SAMPLE_FMT_S16P: if (ARCH_X86_32 && EXTERNAL_MMXEXT(mm_flags)) { |