[FFmpeg-cvslog] FATE: add tests for more resampling modes

Anton Khirnov git at videolan.org
Sun Apr 13 14:29:29 CEST 2014


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Mar  4 12:03:19 2014 +0100| [13164e479f1c87829096c19003d2cc658ccc1fd4] | committer: Anton Khirnov

FATE: add tests for more resampling modes

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=13164e479f1c87829096c19003d2cc658ccc1fd4
---

 tests/fate/libavresample.mak |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/tests/fate/libavresample.mak b/tests/fate/libavresample.mak
index 768747f..4a48c9c 100644
--- a/tests/fate/libavresample.mak
+++ b/tests/fate/libavresample.mak
@@ -46,6 +46,20 @@ $(call CROSS_TEST,$(SAMPLERATES),RESAMPLE,s32p,s32le,s16)
 $(call CROSS_TEST,$(SAMPLERATES),RESAMPLE,fltp,f32le,f32)
 $(call CROSS_TEST,$(SAMPLERATES),RESAMPLE,dblp,f64le,f64)
 
+FATE_LAVR_RESAMPLE += fate-lavr-resample-linear
+fate-lavr-resample-linear: tests/data/asynth-44100-1.wav
+fate-lavr-resample-linear: CMD = avconv -i $(TARGET_PATH)/tests/data/asynth-44100-1.wav -ar 48000 -filter_size 32 -linear_interp 1 -f s16le -af atrim=end_sample=10240 -
+fate-lavr-resample-linear: CMP = oneoff
+fate-lavr-resample-linear: CMP_UNIT = s16
+fate-lavr-resample-linear: REF = $(SAMPLES)/lavr/lavr-resample-linear
+
+FATE_LAVR_RESAMPLE += fate-lavr-resample-nearest
+fate-lavr-resample-nearest: tests/data/asynth-48000-1.wav
+fate-lavr-resample-nearest: CMD = avconv -i $(TARGET_PATH)/tests/data/asynth-48000-1.wav -ar 44100 -filter_size 0 -phase_shift 0 -f s16le -af atrim=end_sample=10240 -
+fate-lavr-resample-nearest: CMP = oneoff
+fate-lavr-resample-nearest: CMP_UNIT = s16
+fate-lavr-resample-nearest: REF = $(SAMPLES)/lavr/lavr-resample-nearest
+
 FATE_LAVR_RESAMPLE-$(call FILTERDEMDECENCMUX, RESAMPLE, WAV, PCM_S16LE, PCM_S16LE, WAV) += $(FATE_LAVR_RESAMPLE)
 fate-lavr-resample: $(FATE_LAVR_RESAMPLE-yes)
 FATE_LAVR += $(FATE_LAVR_RESAMPLE-yes)



More information about the ffmpeg-cvslog mailing list