cbs: Add test dependencies
[libav.git] / tests / fate / cbs.mak
1 # Read/write tests: this uses the codec metadata filter - with no
2 # arguments, it decomposes the stream fully and then recomposes it
3 # without making any changes.
4
5 fate-cbs: fate-cbs-h264 fate-cbs-hevc fate-cbs-mpeg2
6
7 FATE_CBS_DEPS = $(call ALLYES, $(1)_DEMUXER $(1)_PARSER $(2)_METADATA_BSF $(3)_DECODER $(3)_MUXER)
8
9 define FATE_CBS_TEST
10 # (codec, test_name, sample_file, output_format)
11 FATE_CBS_$(1) += fate-cbs-$(1)-$(2)
12 fate-cbs-$(1)-$(2): CMD = md5 -i $(TARGET_SAMPLES)/$(3) -c:v copy -bsf:v $(1)_metadata -f $(4)
13 endef
14
15 # H.264 read/write
16
17 FATE_CBS_H264_SAMPLES = \
18 SVA_Base_B.264 \
19 BASQP1_Sony_C.jsv \
20 FM1_BT_B.h264 \
21 CVFC1_Sony_C.jsv \
22 AUD_MW_E.264 \
23 CVBS3_Sony_C.jsv \
24 MR1_BT_A.h264 \
25 CVWP1_TOSHIBA_E.264 \
26 CVNLFI1_Sony_C.jsv \
27 Sharp_MP_PAFF_1r2.jvt \
28 CVMANL1_TOSHIBA_B.264 \
29 sp1_bt_a.h264 \
30 CVSE2_Sony_B.jsv \
31 CABACI3_Sony_B.jsv
32
33 $(foreach N,$(FATE_CBS_H264_SAMPLES),$(eval $(call FATE_CBS_TEST,h264,$(basename $(N)),h264-conformance/$(N),h264)))
34
35 FATE_CBS_H264-$(call FATE_CBS_DEPS, H264, H264, H264) = $(FATE_CBS_h264)
36 FATE_SAMPLES_AVCONV += $(FATE_CBS_H264-yes)
37 fate-cbs-h264: $(FATE_CBS_H264-yes)
38
39 # H.265 read/write
40
41 FATE_CBS_HEVC_SAMPLES = \
42 STRUCT_A_Samsung_5.bit \
43 WP_A_Toshiba_3.bit \
44 SLIST_A_Sony_4.bit \
45 SLIST_D_Sony_9.bit \
46 CAINIT_E_SHARP_3.bit \
47 CAINIT_H_SHARP_3.bit \
48 TILES_B_Cisco_1.bit \
49 WPP_A_ericsson_MAIN_2.bit \
50 WPP_F_ericsson_MAIN_2.bit \
51 ipcm_E_NEC_2.bit \
52 NUT_A_ericsson_5.bit \
53 PICSIZE_A_Bossen_1.bit \
54 PICSIZE_B_Bossen_1.bit \
55 RPS_A_docomo_4.bit \
56 RPS_E_qualcomm_5.bit \
57 LTRPSPS_A_Qualcomm_1.bit \
58 RPLM_A_qualcomm_4.bit \
59 CONFWIN_A_Sony_1.bit \
60 HRD_A_Fujitsu_2.bit
61
62 $(foreach N,$(FATE_CBS_HEVC_SAMPLES),$(eval $(call FATE_CBS_TEST,hevc,$(basename $(N)),hevc-conformance/$(N),hevc)))
63
64 FATE_CBS_HEVC-$(call FATE_CBS_DEPS, HEVC, HEVC, HEVC) = $(FATE_CBS_hevc)
65 FATE_SAMPLES_AVCONV += $(FATE_CBS_HEVC-yes)
66 fate-cbs-hevc: $(FATE_CBS_HEVC-yes)
67
68 # MPEG-2 read/write
69
70 FATE_CBS_MPEG2_SAMPLES = \
71 hhi_burst_422_short.bits \
72 sony-ct3.bs \
73 tcela-6.bits
74
75 $(foreach N,$(FATE_CBS_MPEG2_SAMPLES),$(eval $(call FATE_CBS_TEST,mpeg2,$(basename $(N)),mpeg2/$(N),mpeg2video)))
76
77 FATE_CBS_MPEG2-$(call FATE_CBS_DEPS, MPEGVIDEO, MPEG2, MPEG2VIDEO) = $(FATE_CBS_mpeg2)
78 FATE_SAMPLES_AVCONV += $(FATE_CBS_MPEG2-yes)
79 fate-cbs-mpeg2: $(FATE_CBS_MPEG2-yes)