From c26b4b6f55b005f60ce992b9b3d7c55b711bc0c0 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer <michaelni@gmx.at> Date: Wed, 23 Apr 2014 22:00:55 +0200 Subject: [PATCH] fate/libswresample: use linear interpolation on both aresample filters This also tests LINEAR_CORE_FLT_SSE Found-by: jamrial Signed-off-by: Michael Niedermayer <michaelni@gmx.at> --- tests/fate/libswresample.mak | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/fate/libswresample.mak b/tests/fate/libswresample.mak index 0f86d4d3f91..6a5c314d599 100644 --- a/tests/fate/libswresample.mak +++ b/tests/fate/libswresample.mak @@ -269,7 +269,7 @@ endef define ARESAMPLE_LIN FATE_SWR_RESAMPLE += fate-swr-resample_lin-$(3)-$(1)-$(2) fate-swr-resample_lin-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav -fate-swr-resample_lin-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -af atrim=end_sample=10240,aresample=$(2):linear_interp=1:internal_sample_fmt=$(3),aformat=$(3),aresample=$(1):internal_sample_fmt=$(3) -f wav -acodec pcm_s16le - +fate-swr-resample_lin-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -af atrim=end_sample=10240,aresample=$(2):linear_interp=1:internal_sample_fmt=$(3),aformat=$(3),aresample=$(1):linear_interp=1:internal_sample_fmt=$(3) -f wav -acodec pcm_s16le - fate-swr-resample_lin-$(3)-$(1)-$(2): CMP = stddev fate-swr-resample_lin-$(3)-$(1)-$(2): CMP_UNIT = $(5) @@ -291,7 +291,7 @@ fate-swr-resample_lin-s16p-44100-48000: SIZE_TOLERANCE = 529200 - 20482 fate-swr-resample_lin-s16p-48000-8000: CMP_TARGET = 62.41 fate-swr-resample_lin-s16p-48000-8000: SIZE_TOLERANCE = 576000 - 20484 -fate-swr-resample_lin-s16p-48000-44100: CMP_TARGET = 0.86 +fate-swr-resample_lin-s16p-48000-44100: CMP_TARGET = 0.68 fate-swr-resample_lin-s16p-48000-44100: SIZE_TOLERANCE = 576000 - 20480 fate-swr-resample_lin-fltp-8000-44100: CMP_TARGET = 14.61 @@ -309,7 +309,7 @@ fate-swr-resample_lin-fltp-44100-48000: SIZE_TOLERANCE = 529200 - 20482 fate-swr-resample_lin-fltp-48000-8000: CMP_TARGET = 62.41 fate-swr-resample_lin-fltp-48000-8000: SIZE_TOLERANCE = 576000 - 20484 -fate-swr-resample_lin-fltp-48000-44100: CMP_TARGET = 0.79 +fate-swr-resample_lin-fltp-48000-44100: CMP_TARGET = 0.63 fate-swr-resample_lin-fltp-48000-44100: SIZE_TOLERANCE = 576000 - 20480 endef -- GitLab