diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-10-13 09:50:33 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-10-13 10:01:56 +0400 |
commit | b35ef855a4fa6d8839f42f4836813bc0050adf96 (patch) | |
tree | 53f9fca0850b89c49a47430dc3fb8161e6617e85 /tests | |
parent | de80cebdd7fbb790077a2f93906370f5a40af8b9 (diff) | |
parent | 364af376f343d4706c4cdb7ab9fe0863994e6c01 (diff) |
Merge commit '364af376f343d4706c4cdb7ab9fe0863994e6c01'
* commit '364af376f343d4706c4cdb7ab9fe0863994e6c01':
FATE: add lavr resampling tests
The tests do not pass, and thus where disabled
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fate/libavresample.mak | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/fate/libavresample.mak b/tests/fate/libavresample.mak index 66ca6691b4..d7dd2ce3fc 100644 --- a/tests/fate/libavresample.mak +++ b/tests/fate/libavresample.mak @@ -22,5 +22,24 @@ FATE_LAVR_MIX-$(call FILTERDEMDECENCMUX, RESAMPLE, WAV, PCM_S16LE, PCM_S16LE, WA fate-lavr-mix: $(FATE_LAVR_MIX-yes) #FATE_LAVR += $(FATE_LAVR_MIX-yes) +SAMPLERATES = 2626 8000 44100 48000 96000 + +define RESAMPLE +FATE_LAVR_RESAMPLE += fate-lavr-resample-$(3)-$(1)-$(2) +fate-lavr-resample-$(3)-$(1)-$(2): tests/data/asynth-$(1)-1.wav +fate-lavr-resample-$(3)-$(1)-$(2): CMD = ffmpeg -i $(TARGET_PATH)/tests/data/asynth-$(1)-1.wav -ar $(2) -internal_sample_fmt $(3) -f $(4) -af atrim=end_sample=10240 - +fate-lavr-resample-$(3)-$(1)-$(2): CMP = oneoff +fate-lavr-resample-$(3)-$(1)-$(2): REF = $(SAMPLES)/lavr/lavr-resample-$(3)-$(1)-$(2) +endef + +$(call CROSS_TEST,$(SAMPLERATES),RESAMPLE,s16p,s16le) +$(call CROSS_TEST,$(SAMPLERATES),RESAMPLE,s32p,s32le) +$(call CROSS_TEST,$(SAMPLERATES),RESAMPLE,fltp,f32le) +$(call CROSS_TEST,$(SAMPLERATES),RESAMPLE,dblp,f64le) + +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) + FATE_SAMPLES_AVCONV += $(FATE_LAVR) fate-lavr: $(FATE_LAVR) |