afd5c5dd8fcc4aeb72df5dfb005796ac384fc14e
[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 define FATE_CBS_TEST
8 # (codec, test_name, sample_file, output_format)
9 FATE_CBS_$(1) += fate-cbs-$(1)-$(2)
10 fate-cbs-$(1)-$(2): CMD = md5 -i $(TARGET_SAMPLES)/$(3) -c:v copy -bsf:v $(1)_metadata -f $(4)
11 endef
12
13 # H.264 read/write
14
15 FATE_CBS_H264_SAMPLES = \
16 SVA_Base_B.264 \
17 BASQP1_Sony_C.jsv \
18 FM1_BT_B.h264 \
19 CVFC1_Sony_C.jsv \
20 AUD_MW_E.264 \
21 CVBS3_Sony_C.jsv \
22 MR1_BT_A.h264 \
23 CVWP1_TOSHIBA_E.264 \
24 CVNLFI1_Sony_C.jsv \
25 Sharp_MP_PAFF_1r2.jvt \
26 CVMANL1_TOSHIBA_B.264 \
27 sp1_bt_a.h264 \
28 CVSE2_Sony_B.jsv \
29 CABACI3_Sony_B.jsv
30
31 $(foreach N,$(FATE_CBS_H264_SAMPLES),$(eval $(call FATE_CBS_TEST,h264,$(basename $(N)),h264-conformance/$(N),h264)))
32
33 FATE_SAMPLES_AVCONV += $(FATE_CBS_h264)
34 fate-cbs-h264: $(FATE_CBS_h264)
35
36 # H.265 read/write
37
38 FATE_CBS_HEVC_SAMPLES = \
39 STRUCT_A_Samsung_5.bit \
40 WP_A_Toshiba_3.bit \
41 SLIST_A_Sony_4.bit \
42 SLIST_D_Sony_9.bit \
43 CAINIT_E_SHARP_3.bit \
44 CAINIT_H_SHARP_3.bit \
45 TILES_B_Cisco_1.bit \
46 WPP_A_ericsson_MAIN_2.bit \
47 WPP_F_ericsson_MAIN_2.bit \
48 ipcm_E_NEC_2.bit \
49 NUT_A_ericsson_5.bit \
50 PICSIZE_A_Bossen_1.bit \
51 PICSIZE_B_Bossen_1.bit \
52 RPS_A_docomo_4.bit \
53 RPS_E_qualcomm_5.bit \
54 LTRPSPS_A_Qualcomm_1.bit \
55 RPLM_A_qualcomm_4.bit \
56 CONFWIN_A_Sony_1.bit \
57 HRD_A_Fujitsu_2.bit
58
59 $(foreach N,$(FATE_CBS_HEVC_SAMPLES),$(eval $(call FATE_CBS_TEST,hevc,$(basename $(N)),hevc-conformance/$(N),hevc)))
60
61 FATE_SAMPLES_AVCONV += $(FATE_CBS_hevc)
62 fate-cbs-hevc: $(FATE_CBS_hevc)
63
64 # MPEG-2 read/write
65
66 FATE_CBS_MPEG2_SAMPLES = \
67 hhi_burst_422_short.bits \
68 sony-ct3.bs \
69 tcela-6.bits
70
71 $(foreach N,$(FATE_CBS_MPEG2_SAMPLES),$(eval $(call FATE_CBS_TEST,mpeg2,$(basename $(N)),mpeg2/$(N),mpeg2video)))
72
73 FATE_SAMPLES_AVCONV += $(FATE_CBS_mpeg2)
74 fate-cbs-mpeg2: $(FATE_CBS_mpeg2)