2013-04-16 16:46:40 +02:00
|
|
|
FATE_FILTER-$(call FILTERDEMDEC, DELOGO, RM, RV30) += fate-filter-delogo
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-filter-delogo: CMD = framecrc -i $(TARGET_SAMPLES)/real/rv30.rm -vf delogo=show=0:x=290:y=25:w=26:h=16 -an
|
2012-07-09 12:09:58 +02:00
|
|
|
|
2013-04-16 16:46:40 +02:00
|
|
|
FATE_YADIF += fate-filter-yadif-mode0
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-filter-yadif-mode0: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vf yadif=0
|
2013-04-16 16:46:40 +02:00
|
|
|
|
|
|
|
FATE_YADIF += fate-filter-yadif-mode1
|
2013-05-20 00:55:32 +02:00
|
|
|
fate-filter-yadif-mode1: CMD = framecrc -flags bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vf yadif=1
|
2013-04-16 16:46:40 +02:00
|
|
|
|
|
|
|
FATE_FILTER-$(call FILTERDEMDEC, YADIF, MPEGTS, MPEG2VIDEO) += $(FATE_YADIF)
|
|
|
|
|
|
|
|
FATE_SAMPLES_AVCONV += $(FATE_FILTER-yes)
|
|
|
|
|
|
|
|
|
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_BOXBLUR_FILTER) += fate-filter-boxblur
|
|
|
|
fate-filter-boxblur: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf boxblur=2:1
|
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-10-13 12:41:47 +02:00
|
|
|
FATE_FILTER_VSYNTH-$(call ALLYES, INTERLACE_FILTER FIELDORDER_FILTER) += fate-filter-fieldorder
|
2013-10-26 18:21:29 +02:00
|
|
|
fate-filter-fieldorder: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf interlace=tff,fieldorder=bff -sws_flags +accurate_rnd+bitexact
|
2013-10-13 12:41:47 +02:00
|
|
|
|
2013-11-05 16:00:49 +01:00
|
|
|
define FATE_FPFILTER_SUITE
|
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_FRAMEPACK_FILTER) += fate-filter-framepack-$(1)
|
|
|
|
fate-filter-framepack-$(1): CMD = framecrc -c:v pgmyuv -i $(TARGET_PATH)/tests/vsynth1/%02d.pgm -c:v pgmyuv -i $(TARGET_PATH)/tests/vsynth1/%02d.pgm -filter_complex framepack=$(1) -frames 15
|
|
|
|
endef
|
|
|
|
|
|
|
|
FPMODES = columns frameseq lines sbs tab
|
|
|
|
$(foreach MODE,$(FPMODES),$(eval $(call FATE_FPFILTER_SUITE,$(MODE))))
|
|
|
|
|
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-04-04 15:39:40 +02:00
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_INTERLACE_FILTER) += fate-filter-interlace
|
|
|
|
fate-filter-interlace: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf interlace
|
|
|
|
|
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
|
2013-05-20 00:46:21 +02:00
|
|
|
fate-filter-overlay: tests/data/filtergraphs/overlay
|
|
|
|
fate-filter-overlay: CMD = framecrc -c:v pgmyuv -i $(SRC) -c:v pgmyuv -i $(SRC) -filter_complex_script $(TARGET_PATH)/tests/data/filtergraphs/overlay
|
2013-03-13 11:03:08 +01:00
|
|
|
|
2013-11-17 17:22:56 +01:00
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_SELECT_FILTER) += fate-filter-select-alternate
|
|
|
|
fate-filter-select-alternate: tests/data/filtergraphs/select-alternate
|
|
|
|
fate-filter-select-alternate: CMD = framecrc -c:v pgmyuv -i $(SRC) -filter_script $(TARGET_PATH)/tests/data/filtergraphs/select-alternate
|
|
|
|
|
2013-03-13 11:03:08 +01:00
|
|
|
FATE_FILTER_VSYNTH-$(call ALLYES, SETPTS_FILTER SETTB_FILTER) += fate-filter-setpts
|
2013-05-20 00:46:21 +02:00
|
|
|
fate-filter-setpts: tests/data/filtergraphs/setpts
|
|
|
|
fate-filter-setpts: CMD = framecrc -c:v pgmyuv -i $(SRC) -filter_script $(TARGET_PATH)/tests/data/filtergraphs/setpts
|
2013-03-13 11:03:08 +01:00
|
|
|
|
2014-02-24 11:32:16 +01:00
|
|
|
FATE_SHUFFLEPLANES += fate-filter-shuffleplanes-dup-luma
|
|
|
|
fate-filter-shuffleplanes-dup-luma: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf format=yuva444p,shuffleplanes=0:0:0:0
|
|
|
|
|
|
|
|
FATE_SHUFFLEPLANES += fate-filter-shuffleplanes-swapuv
|
|
|
|
fate-filter-shuffleplanes-swapuv: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf shuffleplanes=0:2:1
|
|
|
|
|
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_SHUFFLEPLANES_FILTER) += $(FATE_SHUFFLEPLANES)
|
|
|
|
|
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-04-02 19:30:11 +02:00
|
|
|
FATE_TRIM += fate-filter-trim-duration
|
|
|
|
fate-filter-trim-duration: CMD = framecrc -i $(SRC) -vf trim=start=0.4:duration=0.05
|
|
|
|
|
|
|
|
FATE_TRIM += fate-filter-trim-frame
|
|
|
|
fate-filter-trim-frame: CMD = framecrc -i $(SRC) -vf trim=start_frame=3:end_frame=10
|
|
|
|
|
|
|
|
FATE_TRIM += fate-filter-trim-mixed
|
|
|
|
fate-filter-trim-mixed: CMD = framecrc -i $(SRC) -vf trim=start=0.2:end=0.4:start_frame=1:end_frame=3
|
|
|
|
|
|
|
|
FATE_TRIM += fate-filter-trim-time
|
2013-05-05 07:59:46 +02:00
|
|
|
fate-filter-trim-time: CMD = framecrc -i $(SRC) -vf trim=0:0.09
|
2013-04-02 19:30:11 +02:00
|
|
|
|
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_TRIM_FILTER) += $(FATE_TRIM)
|
|
|
|
|
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
|
|
|
|
2013-04-15 23:39:08 +02:00
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_CROP_FILTER) += fate-filter-crop
|
|
|
|
fate-filter-crop: CMD = video_filter "crop=iw-100:ih-100:100:100"
|
|
|
|
|
|
|
|
FATE_FILTER_VSYNTH-$(call ALLYES, CROP_FILTER SCALE_FILTER) += fate-filter-crop_scale
|
2013-07-10 19:37:05 +02:00
|
|
|
fate-filter-crop_scale: CMD = video_filter "crop=iw-100:ih-100:100:100,scale=w=400:h=-1"
|
2013-04-15 23:39:08 +02:00
|
|
|
|
|
|
|
FATE_FILTER_VSYNTH-$(call ALLYES, CROP_FILTER SCALE_FILTER VFLIP_FILTER) += fate-filter-crop_scale_vflip
|
2013-07-10 19:37:05 +02:00
|
|
|
fate-filter-crop_scale_vflip: CMD = video_filter "null,null,crop=iw-200:ih-200:200:200,crop=iw-20:ih-20:20:20,scale=w=200:h=200,scale=w=250:h=250,vflip,vflip,null,scale=w=200:h=200,crop=iw-100:ih-100:100:100,vflip,scale=w=200:h=200,null,vflip,crop=iw-100:ih-100:100:100,null"
|
2013-04-15 23:39:08 +02:00
|
|
|
|
|
|
|
FATE_FILTER_VSYNTH-$(call ALLYES, CROP_FILTER VFLIP_FILTER) += fate-filter-crop_vflip
|
|
|
|
fate-filter-crop_vflip: CMD = video_filter "crop=iw-100:ih-100:100:100,vflip"
|
|
|
|
|
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_NULL_FILTER) += fate-filter-null
|
|
|
|
fate-filter-null: CMD = video_filter "null"
|
|
|
|
|
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_SCALE_FILTER) += fate-filter-scale200
|
2013-07-10 19:37:05 +02:00
|
|
|
fate-filter-scale200: CMD = video_filter "scale=w=200:h=200"
|
2013-04-15 23:39:08 +02:00
|
|
|
|
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_SCALE_FILTER) += fate-filter-scale500
|
2013-07-10 19:37:05 +02:00
|
|
|
fate-filter-scale500: CMD = video_filter "scale=w=500:h=500"
|
2013-04-15 23:39:08 +02:00
|
|
|
|
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_VFLIP_FILTER) += fate-filter-vflip
|
|
|
|
fate-filter-vflip: CMD = video_filter "vflip"
|
|
|
|
|
|
|
|
FATE_FILTER_VSYNTH-$(call ALLYES, CROP_FILTER VFLIP_FILTER) += fate-filter-vflip_crop
|
|
|
|
fate-filter-vflip_crop: CMD = video_filter "vflip,crop=iw-100:ih-100:100:100"
|
|
|
|
|
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_VFLIP_FILTER) += fate-filter-vflip_vflip
|
|
|
|
fate-filter-vflip_vflip: CMD = video_filter "vflip,vflip"
|
|
|
|
|
|
|
|
|
2014-07-29 11:41:28 +02:00
|
|
|
tests/pixfmts.mak: TAG = GEN
|
|
|
|
tests/pixfmts.mak: avconv$(EXESUF)
|
|
|
|
$(M)printf "PIXFMTS = " > $@
|
|
|
|
$(Q)$(TARGET_EXEC) $(TARGET_PATH)/$< -pix_fmts list 2> /dev/null | awk 'NR > 8 && /^IO/ { printf $$2 " " }' >> $@
|
|
|
|
$(Q)printf "\n" >> $@
|
|
|
|
|
|
|
|
ifneq (,$(RUNNING_FATE))
|
|
|
|
-include tests/pixfmts.mak
|
|
|
|
endif
|
|
|
|
|
|
|
|
define PIXDESC_TEST
|
|
|
|
FATE_FILTER_PIXDESC-$(CONFIG_FORMAT_FILTER) += fate-filter-pixdesc-$(1)
|
|
|
|
fate-filter-pixdesc-$(1): CMD = video_filter "format=$(1),pixdesctest" -pix_fmt $(1)
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(foreach fmt, $(PIXFMTS), $(eval $(call PIXDESC_TEST,$(fmt))))
|
|
|
|
|
|
|
|
fate-filter-pixdesc: $(FATE_FILTER_PIXDESC-yes)
|
|
|
|
FATE_FILTER_VSYNTH-yes += $(FATE_FILTER_PIXDESC-yes)
|
2013-04-16 00:15:15 +02:00
|
|
|
|
|
|
|
|
2013-04-16 01:42:38 +02:00
|
|
|
FATE_FILTER_PIXFMTS += fate-filter-pixfmts-copy
|
|
|
|
fate-filter-pixfmts-copy: CMD = pixfmts
|
|
|
|
|
|
|
|
FATE_FILTER_PIXFMTS += fate-filter-pixfmts-crop
|
|
|
|
fate-filter-pixfmts-crop: CMD = pixfmts "100:100:100:100"
|
|
|
|
|
|
|
|
FATE_FILTER_PIXFMTS += fate-filter-pixfmts-hflip
|
|
|
|
fate-filter-pixfmts-hflip: CMD = pixfmts
|
|
|
|
|
|
|
|
FATE_FILTER_PIXFMTS += fate-filter-pixfmts-null
|
|
|
|
fate-filter-pixfmts-null: CMD = pixfmts
|
|
|
|
|
|
|
|
FATE_FILTER_PIXFMTS += fate-filter-pixfmts-pad
|
|
|
|
fate-filter-pixfmts-pad: CMD = pixfmts "500:400:20:20"
|
|
|
|
|
|
|
|
FATE_FILTER_PIXFMTS += fate-filter-pixfmts-scale
|
|
|
|
fate-filter-pixfmts-scale: CMD = pixfmts "200:100"
|
|
|
|
|
|
|
|
FATE_FILTER_PIXFMTS += fate-filter-pixfmts-vflip
|
|
|
|
fate-filter-pixfmts-vflip: CMD = pixfmts
|
|
|
|
|
|
|
|
$(FATE_FILTER_PIXFMTS): libavfilter/filtfmts-test$(EXESUF)
|
|
|
|
FATE_FILTER_VSYNTH-$(CONFIG_FORMAT_FILTER) += $(FATE_FILTER_PIXFMTS)
|
|
|
|
|
|
|
|
|
2013-04-16 16:32:18 +02:00
|
|
|
$(FATE_FILTER_VSYNTH-yes): $(VREF)
|
2013-03-13 11:03:08 +01:00
|
|
|
$(FATE_FILTER_VSYNTH-yes): SRC = $(TARGET_PATH)/tests/vsynth1/%02d.pgm
|
2013-04-16 16:46:40 +02:00
|
|
|
|
2013-03-13 11:03:08 +01:00
|
|
|
FATE_AVCONV-$(call DEMDEC, IMAGE2, PGMYUV) += $(FATE_FILTER_VSYNTH-yes)
|
|
|
|
|
2013-04-16 16:43:49 +02:00
|
|
|
fate-vfilter: $(FATE_FILTER-yes) $(FATE_FILTER_VSYNTH-yes)
|
|
|
|
|
|
|
|
fate-filter: fate-afilter fate-vfilter
|