fate: Invoke pixfmts lavfi tests through fate-run.sh
[libav.git] / tests / fate / filter-video.mak
1 FATE_FILTER-$(call FILTERDEMDEC, DELOGO, RM, RV30) += fate-filter-delogo
2 fate-filter-delogo: CMD = framecrc -i $(SAMPLES)/real/rv30.rm -vf delogo=show=0:x=290:y=25:w=26:h=16 -an
3
4 FATE_YADIF += fate-filter-yadif-mode0
5 fate-filter-yadif-mode0: CMD = framecrc -flags bitexact -idct simple -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vf yadif=0
6
7 FATE_YADIF += fate-filter-yadif-mode1
8 fate-filter-yadif-mode1: CMD = framecrc -flags bitexact -idct simple -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vf yadif=1
9
10 FATE_FILTER-$(call FILTERDEMDEC, YADIF, MPEGTS, MPEG2VIDEO) += $(FATE_YADIF)
11
12 FATE_SAMPLES_AVCONV += $(FATE_FILTER-yes)
13
14
15 FATE_FILTER_VSYNTH-$(CONFIG_BOXBLUR_FILTER) += fate-filter-boxblur
16 fate-filter-boxblur: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf boxblur=2:1
17
18 FATE_FILTER_VSYNTH-$(CONFIG_DRAWBOX_FILTER) += fate-filter-drawbox
19 fate-filter-drawbox: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf drawbox=10:20:200:60:red@0.5
20
21 FATE_FILTER_VSYNTH-$(CONFIG_FADE_FILTER) += fate-filter-fade
22 fate-filter-fade: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf fade=in:0:25,fade=out:25:25
23
24 FATE_FILTER_VSYNTH-$(CONFIG_GRADFUN_FILTER) += fate-filter-gradfun
25 fate-filter-gradfun: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf gradfun
26
27 FATE_FILTER_VSYNTH-$(CONFIG_HQDN3D_FILTER) += fate-filter-hqdn3d
28 fate-filter-hqdn3d: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf hqdn3d
29
30 FATE_FILTER_VSYNTH-$(CONFIG_INTERLACE_FILTER) += fate-filter-interlace
31 fate-filter-interlace: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf interlace
32
33 FATE_FILTER_VSYNTH-$(CONFIG_NEGATE_FILTER) += fate-filter-negate
34 fate-filter-negate: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf negate
35
36 FATE_FILTER_VSYNTH-$(CONFIG_OVERLAY_FILTER) += fate-filter-overlay
37 fate-filter-overlay: CMD = framecrc -c:v pgmyuv -i $(SRC) -c:v pgmyuv -i $(SRC) -filter_complex_script $(SRC_PATH)/tests/filtergraphs/overlay
38
39 FATE_FILTER_VSYNTH-$(call ALLYES, SETPTS_FILTER SETTB_FILTER) += fate-filter-setpts
40 fate-filter-setpts: CMD = framecrc -c:v pgmyuv -i $(SRC) -filter_script $(SRC_PATH)/tests/filtergraphs/setpts
41
42 FATE_FILTER_VSYNTH-$(CONFIG_TRANSPOSE_FILTER) += fate-filter-transpose
43 fate-filter-transpose: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf transpose
44
45 FATE_FILTER_VSYNTH-$(CONFIG_UNSHARP_FILTER) += fate-filter-unsharp
46 fate-filter-unsharp: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf unsharp
47
48
49 FATE_FILTER_VSYNTH-$(CONFIG_CROP_FILTER) += fate-filter-crop
50 fate-filter-crop: CMD = video_filter "crop=iw-100:ih-100:100:100"
51
52 FATE_FILTER_VSYNTH-$(call ALLYES, CROP_FILTER SCALE_FILTER) += fate-filter-crop_scale
53 fate-filter-crop_scale: CMD = video_filter "crop=iw-100:ih-100:100:100,scale=400:-1"
54
55 FATE_FILTER_VSYNTH-$(call ALLYES, CROP_FILTER SCALE_FILTER VFLIP_FILTER) += fate-filter-crop_scale_vflip
56 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=200:200,scale=250:250,vflip,vflip,null,scale=200:200,crop=iw-100:ih-100:100:100,vflip,scale=200:200,null,vflip,crop=iw-100:ih-100:100:100,null"
57
58 FATE_FILTER_VSYNTH-$(call ALLYES, CROP_FILTER VFLIP_FILTER) += fate-filter-crop_vflip
59 fate-filter-crop_vflip: CMD = video_filter "crop=iw-100:ih-100:100:100,vflip"
60
61 FATE_FILTER_VSYNTH-$(CONFIG_NULL_FILTER) += fate-filter-null
62 fate-filter-null: CMD = video_filter "null"
63
64 FATE_FILTER_VSYNTH-$(CONFIG_SCALE_FILTER) += fate-filter-scale200
65 fate-filter-scale200: CMD = video_filter "scale=200:200"
66
67 FATE_FILTER_VSYNTH-$(CONFIG_SCALE_FILTER) += fate-filter-scale500
68 fate-filter-scale500: CMD = video_filter "scale=500:500"
69
70 FATE_FILTER_VSYNTH-$(CONFIG_VFLIP_FILTER) += fate-filter-vflip
71 fate-filter-vflip: CMD = video_filter "vflip"
72
73 FATE_FILTER_VSYNTH-$(call ALLYES, CROP_FILTER VFLIP_FILTER) += fate-filter-vflip_crop
74 fate-filter-vflip_crop: CMD = video_filter "vflip,crop=iw-100:ih-100:100:100"
75
76 FATE_FILTER_VSYNTH-$(CONFIG_VFLIP_FILTER) += fate-filter-vflip_vflip
77 fate-filter-vflip_vflip: CMD = video_filter "vflip,vflip"
78
79
80 FATE_FILTER_VSYNTH-$(CONFIG_FORMAT_FILTER) += fate-filter-pixdesc
81 fate-filter-pixdesc: CMD = pixdesc
82
83
84 FATE_FILTER_PIXFMTS += fate-filter-pixfmts-copy
85 fate-filter-pixfmts-copy: CMD = pixfmts
86
87 FATE_FILTER_PIXFMTS += fate-filter-pixfmts-crop
88 fate-filter-pixfmts-crop: CMD = pixfmts "100:100:100:100"
89
90 FATE_FILTER_PIXFMTS += fate-filter-pixfmts-hflip
91 fate-filter-pixfmts-hflip: CMD = pixfmts
92
93 FATE_FILTER_PIXFMTS += fate-filter-pixfmts-null
94 fate-filter-pixfmts-null: CMD = pixfmts
95
96 FATE_FILTER_PIXFMTS += fate-filter-pixfmts-pad
97 fate-filter-pixfmts-pad: CMD = pixfmts "500:400:20:20"
98
99 FATE_FILTER_PIXFMTS += fate-filter-pixfmts-scale
100 fate-filter-pixfmts-scale: CMD = pixfmts "200:100"
101
102 FATE_FILTER_PIXFMTS += fate-filter-pixfmts-vflip
103 fate-filter-pixfmts-vflip: CMD = pixfmts
104
105 $(FATE_FILTER_PIXFMTS): libavfilter/filtfmts-test$(EXESUF)
106 FATE_FILTER_VSYNTH-$(CONFIG_FORMAT_FILTER) += $(FATE_FILTER_PIXFMTS)
107
108
109 $(FATE_FILTER_VSYNTH-yes): $(VREF)
110 $(FATE_FILTER_VSYNTH-yes): SRC = $(TARGET_PATH)/tests/vsynth1/%02d.pgm
111
112 FATE_AVCONV-$(call DEMDEC, IMAGE2, PGMYUV) += $(FATE_FILTER_VSYNTH-yes)
113
114 fate-vfilter: $(FATE_FILTER-yes) $(FATE_FILTER_VSYNTH-yes)
115
116 fate-filter: fate-afilter fate-vfilter