fate: Move Duck Truemotion 1 and 2 tests to vpx.mak
[libav.git] / tests / fate / vpx.mak
1 FATE_TRUEMOTION1 += fate-truemotion1-15
2 fate-truemotion1-15: CMD = framecrc -i $(TARGET_SAMPLES)/duck/phant2-940.duk -pix_fmt rgb24 -an
3
4 FATE_TRUEMOTION1 += fate-truemotion1-24
5 fate-truemotion1-24: CMD = framecrc -i $(TARGET_SAMPLES)/duck/sonic3dblast_intro-partial.avi -pix_fmt rgb24 -an
6
7 FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, TRUEMOTION1) += $(FATE_TRUEMOTION1)
8 fate-truemotion1: $(FATE_TRUEMOTION1)
9
10 FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, TRUEMOTION2) += fate-truemotion2
11 fate-truemotion2: CMD = framecrc -i $(TARGET_SAMPLES)/duck/tm20.avi
12
13 FATE_VP3-$(call DEMDEC, MATROSKA, THEORA) += fate-theora-coeff-level64
14 fate-theora-coeff-level64: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp3/coeff_level64.mkv
15
16 FATE_VP3-$(call DEMDEC, OGG, THEORA) += fate-theora-offset
17 fate-theora-offset: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp3/offset_test.ogv
18
19 FATE_VP3-$(call DEMDEC, AVI, VP3) += fate-vp31
20 fate-vp31: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp3/vp31.avi
21
22 FATE_SAMPLES_AVCONV += $(FATE_VP3-yes)
23 fate-vp3: $(FATE_VP3-yes)
24
25 FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, VP5) += fate-vp5
26 fate-vp5: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp5/potter512-400-partial.avi -an
27
28 FATE_VP6-$(call DEMDEC, EA, VP6) += fate-vp60
29 fate-vp60: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/ea-vp6/g36.vp6
30
31 FATE_VP6-$(call DEMDEC, EA, VP6) += fate-vp61
32 fate-vp61: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/ea-vp6/MovieSkirmishGondor.vp6 -t 4
33
34 FATE_VP6-$(call DEMDEC, FLV, VP6A) += fate-vp6a
35 fate-vp6a: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/flash-vp6/300x180-Scr-f8-056alpha.flv
36
37 FATE_VP6-$(call DEMDEC, FLV, VP6F) += fate-vp6f
38 fate-vp6f: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/flash-vp6/clip1024.flv
39
40 FATE_SAMPLES_AVCONV += $(FATE_VP6-yes)
41 fate-vp6: $(FATE_VP6-yes)
42
43 FATE_SAMPLES_AVCONV-$(call DEMDEC, AVI, VP7) += fate-vp7
44 fate-vp7: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/vp7/potter-40.vp7 -frames 30 -an
45
46 VP8_SUITE = 001 002 003 004 005 006 007 008 009 010 011 012 013 014 015 016 017
47
48 define FATE_VP8_SUITE
49 FATE_VP8-$(CONFIG_IVF_DEMUXER) += fate-vp8-test-vector$(2)-$(1)
50 fate-vp8-test-vector$(2)-$(1): CMD = framemd5 $(3) -i $(TARGET_SAMPLES)/vp8-test-vectors-r1/vp80-00-comprehensive-$(1).ivf
51 fate-vp8-test-vector$(2)-$(1): REF = $(SRC_PATH)/tests/ref/fate/vp8-test-vector-$(1)
52 endef
53
54 define FATE_VP8_FULL
55 $(foreach N,$(VP8_SUITE),$(eval $(call FATE_VP8_SUITE,$(N),$(1),$(2))))
56
57 # FIXME this file contains two frames with identical timestamps,
58 # so avconv drops one of them
59 FATE_VP8-$(CONFIG_IVF_DEMUXER) += fate-vp8-sign-bias$(1)
60 fate-vp8-sign-bias$(1): CMD = framemd5 $(2) -i $(TARGET_SAMPLES)/vp8/sintel-signbias.ivf
61 fate-vp8-sign-bias$(1): REF = $(SRC_PATH)/tests/ref/fate/vp8-sign-bias
62
63 FATE_VP8-$(CONFIG_MATROSKA_DEMUXER) += fate-vp8-size-change$(1)
64 fate-vp8-size-change$(1): CMD = framemd5 $(2) -i $(TARGET_SAMPLES)/vp8/frame_size_change.webm -frames:v 30
65 fate-vp8-size-change$(1): REF = $(SRC_PATH)/tests/ref/fate/vp8-size-change
66 endef
67
68 $(call FATE_VP8_FULL)
69
70 FATE_SAMPLES_AVCONV-$(CONFIG_VP8_DECODER) += $(FATE_VP8-yes)
71 fate-vp8: $(FATE_VP8-yes)
72
73 define FATE_VP9_SUITE
74 FATE_VP9-$(CONFIG_MATROSKA_DEMUXER) += fate-vp9$(2)-$(1)
75 fate-vp9$(2)-$(1): CMD = framemd5 $(3) -i $(TARGET_SAMPLES)/vp9-test-vectors/vp90-2-$(1).webm
76 fate-vp9$(2)-$(1): REF = $(SRC_PATH)/tests/ref/fate/vp9-$(1)
77 endef
78
79 VP9_Q = 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 \
80 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 \
81 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 \
82 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
83 VP9_SHARP = 1 2 3 4 5 6 7
84 VP9_SIZE_A = 08 10 16 18 32 34 64 66
85 VP9_SIZE_B = 196 198 200 202 208 210 224 226
86
87 define FATE_VP9_FULL
88 $(foreach Q,$(VP9_Q),$(eval $(call FATE_VP9_SUITE,00-quantizer-$(Q),$(1),$(2))))
89 $(foreach SHARP,$(VP9_SHARP),$(eval $(call FATE_VP9_SUITE,01-sharpness-$(SHARP),$(1),$(2))))
90 $(foreach W,$(VP9_SIZE_A),$(eval $(foreach H,$(VP9_SIZE_A),$(eval $(call FATE_VP9_SUITE,02-size-$(W)x$(H),$(1),$(2))))))
91 $(foreach W,$(VP9_SIZE_B),$(eval $(foreach H,$(VP9_SIZE_B),$(eval $(call FATE_VP9_SUITE,03-size-$(W)x$(H),$(1),$(2))))))
92 $(eval $(call FATE_VP9_SUITE,03-deltaq,$(1),$(2)))
93 $(eval $(call FATE_VP9_SUITE,2pass-akiyo,$(1),$(2)))
94 $(eval $(call FATE_VP9_SUITE,parallelmode-akiyo,$(1),$(2)))
95 $(eval $(call FATE_VP9_SUITE,segmentation-aq-akiyo,$(1),$(2)))
96 $(eval $(call FATE_VP9_SUITE,segmentation-sf-akiyo,$(1),$(2)))
97 $(eval $(call FATE_VP9_SUITE,tiling-pedestrian,$(1),$(2)))
98 endef
99
100 $(eval $(call FATE_VP9_FULL))
101
102 FATE_SAMPLES_AVCONV-$(CONFIG_VP9_DECODER) += $(FATE_VP9-yes)
103 fate-vp9: $(FATE_VP9-yes)