2012-12-01 20:38:26 +01:00
|
|
|
FILTERDEMDEC = $(call ALLYES, $(1)_FILTER $(2)_DEMUXER $(3)_DECODER)
|
|
|
|
FILTERDEMDECMUX = $(call ALLYES, $(1)_FILTER $(2)_DEMUXER $(3)_DECODER $(4)_MUXER)
|
|
|
|
FILTERDEMDECENCMUX = $(call ALLYES, $(1)_FILTER $(2)_DEMUXER $(3)_DECODER $(4)_ENCODER $(5)_MUXER)
|
|
|
|
|
2012-05-29 12:08:58 +02:00
|
|
|
FATE_AMIX += fate-filter-amix-simple
|
|
|
|
fate-filter-amix-simple: CMD = avconv -filter_complex amix -i $(SRC) -ss 3 -i $(SRC1) -f f32le -
|
|
|
|
fate-filter-amix-simple: REF = $(SAMPLES)/filter/amix_simple.pcm
|
|
|
|
|
|
|
|
FATE_AMIX += fate-filter-amix-first
|
|
|
|
fate-filter-amix-first: CMD = avconv -filter_complex amix=duration=first -ss 4 -i $(SRC) -i $(SRC1) -f f32le -
|
|
|
|
fate-filter-amix-first: REF = $(SAMPLES)/filter/amix_first.pcm
|
|
|
|
|
|
|
|
FATE_AMIX += fate-filter-amix-transition
|
|
|
|
fate-filter-amix-transition: tests/data/asynth-44100-2-3.wav
|
|
|
|
fate-filter-amix-transition: SRC2 = $(TARGET_PATH)/tests/data/asynth-44100-2-3.wav
|
|
|
|
fate-filter-amix-transition: CMD = avconv -filter_complex amix=inputs=3:dropout_transition=0.5 -i $(SRC) -ss 2 -i $(SRC1) -ss 4 -i $(SRC2) -f f32le -
|
|
|
|
fate-filter-amix-transition: REF = $(SAMPLES)/filter/amix_transition.pcm
|
|
|
|
|
|
|
|
$(FATE_AMIX): tests/data/asynth-44100-2.wav tests/data/asynth-44100-2-2.wav
|
|
|
|
$(FATE_AMIX): SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
|
|
|
|
$(FATE_AMIX): SRC1 = $(TARGET_PATH)/tests/data/asynth-44100-2-2.wav
|
|
|
|
$(FATE_AMIX): CMP = oneoff
|
2012-07-29 19:11:27 +02:00
|
|
|
$(FATE_AMIX): CMP_UNIT = f32
|
2012-05-29 12:08:58 +02:00
|
|
|
|
2012-12-01 20:38:26 +01:00
|
|
|
FATE_FILTER-$(call FILTERDEMDECENCMUX, AMIX, WAV, PCM_S16LE, PCM_F32LE, PCM_F32LE) += $(FATE_AMIX)
|
2012-05-29 12:08:58 +02:00
|
|
|
|
2012-12-01 20:38:26 +01:00
|
|
|
FATE_FILTER-$(call FILTERDEMDECMUX, ASYNCTS, FLV, NELLYMOSER, PCM_S16LE) += fate-filter-asyncts
|
2012-07-05 10:28:28 +02:00
|
|
|
fate-filter-asyncts: SRC = $(SAMPLES)/nellymoser/nellymoser-discont.flv
|
2012-06-28 15:49:51 +02:00
|
|
|
fate-filter-asyncts: CMD = pcm -analyzeduration 10000000 -i $(SRC) -af asyncts
|
2012-07-22 11:29:06 +02:00
|
|
|
fate-filter-asyncts: CMP = oneoff
|
|
|
|
fate-filter-asyncts: REF = $(SAMPLES)/nellymoser/nellymoser-discont.pcm
|
2012-07-05 10:28:28 +02:00
|
|
|
|
2013-03-13 11:03:08 +01:00
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_BOXBLUR_FILTER) += fate-filter-boxblur
|
|
|
|
fate-filter-boxblur: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf boxblur=2:1
|
|
|
|
|
2013-03-13 11:03:08 +01:00
|
|
|
FATE_FILTER-$(call FILTERDEMDECENCMUX, CHANNELMAP, WAV, PCM_S16LE, PCM_S16LE, WAV) += fate-filter-channelmap
|
|
|
|
fate-filter-channelmap: SRC = $(TARGET_PATH)/tests/data/asynth-44100-6.wav
|
|
|
|
fate-filter-channelmap: tests/data/asynth-44100-6.wav
|
|
|
|
fate-filter-channelmap: CMD = md5 -i $(SRC) -filter_complex_script $(SRC_PATH)/tests/filtergraphs/channelmap -f wav -flags +bitexact
|
|
|
|
fate-filter-channelmap: CMP = oneline
|
|
|
|
fate-filter-channelmap: REF = 21f1977c4f9705e2057083f84764e685
|
|
|
|
|
2013-03-13 11:03:08 +01:00
|
|
|
FATE_FILTER-$(call FILTERDEMDECENCMUX, CHANNELSPLIT, WAV, PCM_S16LE, PCM_S16LE, PCM_S16LE) += fate-filter-channelsplit
|
|
|
|
fate-filter-channelsplit: SRC = $(TARGET_PATH)/tests/data/asynth-44100-2.wav
|
|
|
|
fate-filter-channelsplit: tests/data/asynth-44100-2.wav
|
|
|
|
fate-filter-channelsplit: CMD = md5 -i $(SRC) -filter_complex channelsplit -f s16le
|
|
|
|
fate-filter-channelsplit: CMP = oneline
|
|
|
|
fate-filter-channelsplit: REF = d92988d0fe2dd92236763f47b07ab597
|
|
|
|
|
2012-07-09 12:09:58 +02:00
|
|
|
fate-filter-delogo: CMD = framecrc -i $(SAMPLES)/real/rv30.rm -vf delogo=show=0:x=290:y=25:w=26:h=16 -an
|
|
|
|
|
2012-12-01 20:38:26 +01:00
|
|
|
FATE_FILTER-$(call FILTERDEMDEC, DELOGO, RM, RV30) += fate-filter-delogo
|
2012-07-09 12:09:58 +02:00
|
|
|
|
2013-03-13 11:03:08 +01:00
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_DRAWBOX_FILTER) += fate-filter-drawbox
|
|
|
|
fate-filter-drawbox: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf drawbox=10:20:200:60:red@0.5
|
|
|
|
|
2013-03-13 11:03:08 +01:00
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_FADE_FILTER) += fate-filter-fade
|
|
|
|
fate-filter-fade: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf fade=in:0:25,fade=out:25:25
|
|
|
|
|
2013-03-13 11:03:08 +01:00
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_GRADFUN_FILTER) += fate-filter-gradfun
|
|
|
|
fate-filter-gradfun: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf gradfun
|
|
|
|
|
2013-03-13 11:03:08 +01:00
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_HQDN3D_FILTER) += fate-filter-hqdn3d
|
|
|
|
fate-filter-hqdn3d: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf hqdn3d
|
|
|
|
|
2013-03-13 11:03:08 +01:00
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_NEGATE_FILTER) += fate-filter-negate
|
|
|
|
fate-filter-negate: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf negate
|
|
|
|
|
2013-03-13 11:03:08 +01:00
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_OVERLAY_FILTER) += fate-filter-overlay
|
|
|
|
fate-filter-overlay: CMD = framecrc -c:v pgmyuv -i $(SRC) -c:v pgmyuv -i $(SRC) -filter_complex_script $(SRC_PATH)/tests/filtergraphs/overlay
|
|
|
|
|
2013-03-13 11:03:08 +01:00
|
|
|
FATE_FILTER_VSYNTH-$(call ALLYES, SETPTS_FILTER SETTB_FILTER) += fate-filter-setpts
|
|
|
|
fate-filter-setpts: CMD = framecrc -c:v pgmyuv -i $(SRC) -filter_script $(SRC_PATH)/tests/filtergraphs/setpts
|
|
|
|
|
2013-03-13 11:03:08 +01:00
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_TRANSPOSE_FILTER) += fate-filter-transpose
|
|
|
|
fate-filter-transpose: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf transpose
|
|
|
|
|
2013-03-13 11:03:08 +01:00
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_UNSHARP_FILTER) += fate-filter-unsharp
|
|
|
|
fate-filter-unsharp: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf unsharp
|
|
|
|
|
2012-07-25 08:25:38 +02:00
|
|
|
FATE_YADIF += fate-filter-yadif-mode0
|
2012-07-28 19:15:56 +02:00
|
|
|
fate-filter-yadif-mode0: CMD = framecrc -flags bitexact -idct simple -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vf yadif=0
|
2012-07-25 08:25:38 +02:00
|
|
|
|
|
|
|
FATE_YADIF += fate-filter-yadif-mode1
|
2012-07-28 19:15:56 +02:00
|
|
|
fate-filter-yadif-mode1: CMD = framecrc -flags bitexact -idct simple -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vf yadif=1
|
2012-07-25 08:25:38 +02:00
|
|
|
|
2012-12-01 20:38:26 +01:00
|
|
|
FATE_FILTER-$(call FILTERDEMDEC, YADIF, MPEGTS, MPEG2VIDEO) += $(FATE_YADIF)
|
2012-07-25 08:25:38 +02:00
|
|
|
|
2013-03-13 11:03:08 +01:00
|
|
|
$(FATE_FILTER_VSYNTH-yes): tests/vsynth1/00.pgm
|
|
|
|
$(FATE_FILTER_VSYNTH-yes): SRC = $(TARGET_PATH)/tests/vsynth1/%02d.pgm
|
|
|
|
FATE_AVCONV-$(call DEMDEC, IMAGE2, PGMYUV) += $(FATE_FILTER_VSYNTH-yes)
|
|
|
|
|
2012-08-02 00:35:42 +02:00
|
|
|
FATE_SAMPLES_AVCONV += $(FATE_FILTER-yes)
|
2013-03-13 11:03:08 +01:00
|
|
|
fate-filter: $(FATE_FILTER-yes) $(FATE_FILTER_VSYNTH-yes)
|