ddf145591e782cc0b22c51ce66562bbccec5659a
[libav.git] / tests / fate / hevc.mak
1 HEVC_SAMPLES = \
2 AMP_A_Samsung_4 \
3 AMP_B_Samsung_4 \
4 AMVP_C_Samsung_4 \
5 AMP_D_Hisilicon \
6 AMP_E_Hisilicon \
7 AMP_F_Hisilicon_3 \
8 AMVP_A_MTK_4 \
9 AMVP_B_MTK_4 \
10 CAINIT_A_SHARP_4 \
11 CAINIT_B_SHARP_4 \
12 CAINIT_C_SHARP_3 \
13 CAINIT_D_SHARP_3 \
14 CAINIT_E_SHARP_3 \
15 CAINIT_F_SHARP_3 \
16 CAINIT_G_SHARP_3 \
17 CAINIT_H_SHARP_3 \
18 CIP_A_Panasonic_3 \
19 cip_B_NEC_3 \
20 CIP_C_Panasonic_2 \
21 DBLK_A_SONY_3 \
22 DBLK_B_SONY_3 \
23 DBLK_C_SONY_3 \
24 DBLK_D_VIXS_1 \
25 DBLK_D_VIXS_2 \
26 DBLK_E_VIXS_1 \
27 DBLK_E_VIXS_2 \
28 DBLK_F_VIXS_1 \
29 DBLK_F_VIXS_2 \
30 DBLK_G_VIXS_1 \
31 DBLK_G_VIXS_2 \
32 DELTAQP_B_SONY_3 \
33 DELTAQP_C_SONY_3 \
34 DSLICE_A_HHI_5 \
35 DSLICE_B_HHI_5 \
36 DSLICE_C_HHI_5 \
37 ENTP_A_LG_2 \
38 ENTP_B_LG_2 \
39 ENTP_C_LG_3 \
40 EXT_A_ericsson_3 \
41 ipcm_A_NEC_3 \
42 ipcm_B_NEC_3 \
43 ipcm_C_NEC_3 \
44 ipcm_D_NEC_3 \
45 ipcm_E_NEC_2 \
46 IPRED_A_docomo_2 \
47 IPRED_B_Nokia_3 \
48 IPRED_C_Mitsubishi_2 \
49 LS_A_Orange_2 \
50 LS_B_ORANGE_4 \
51 MAXBINS_A_TI_4 \
52 MAXBINS_B_TI_4 \
53 MAXBINS_C_TI_4 \
54 MERGE_A_TI_3 \
55 MERGE_B_TI_3 \
56 MERGE_C_TI_3 \
57 MERGE_D_TI_3 \
58 MERGE_E_TI_3 \
59 MERGE_F_MTK_4 \
60 MERGE_G_HHI_4 \
61 MVCLIP_A_qualcomm_3 \
62 MVDL1ZERO_A_docomo_3 \
63 MVEDGE_A_qualcomm_3 \
64 NUT_A_ericsson_4 \
65 PICSIZE_A_Bossen_1 \
66 PICSIZE_B_Bossen_1 \
67 PICSIZE_C_Bossen_1 \
68 PICSIZE_D_Bossen_1 \
69 PMERGE_A_TI_3 \
70 PMERGE_B_TI_3 \
71 PMERGE_C_TI_3 \
72 PMERGE_D_TI_3 \
73 PMERGE_E_TI_3 \
74 POC_A_Bossen_3 \
75 PPS_A_qualcomm_7 \
76 RAP_A_docomo_4 \
77 PS_A_VIDYO_3 \
78 PS_B_VIDYO_3 \
79 RAP_B_Bossen_1 \
80 RPLM_A_qualcomm_4 \
81 RPLM_B_qualcomm_4 \
82 RPS_A_docomo_4 \
83 RPS_B_qualcomm_5 \
84 RPS_C_ericsson_4 \
85 RPS_D_ericsson_5 \
86 RPS_E_qualcomm_5 \
87 RPS_F_docomo_1 \
88 RQT_A_HHI_4 \
89 RQT_B_HHI_4 \
90 RQT_C_HHI_4 \
91 RQT_D_HHI_4 \
92 RQT_E_HHI_4 \
93 RQT_F_HHI_4 \
94 RQT_G_HHI_4 \
95 SAO_A_MediaTek_4 \
96 SAO_B_MediaTek_5 \
97 SAO_C_Samsung_4 \
98 SAO_D_Samsung_4 \
99 SAO_E_Canon_4 \
100 SAO_F_Canon_3 \
101 SAO_G_Canon_3 \
102 SDH_A_Orange_3 \
103 SLICES_A_Rovi_3 \
104 SLIST_A_Sony_4 \
105 SLIST_B_Sony_8 \
106 SLIST_C_Sony_3 \
107 SLIST_D_Sony_9 \
108 STRUCT_A_Samsung_5 \
109 STRUCT_B_Samsung_4 \
110 TILES_A_Cisco_2 \
111 TILES_B_Cisco_1 \
112 TMVP_A_MS_3 \
113 TSCL_A_VIDYO_5 \
114 TSCL_B_VIDYO_4 \
115 TSKIP_A_MS_3 \
116 TUSIZE_A_Samsung_1 \
117 WP_A_Toshiba_3 \
118 WP_B_Toshiba_3 \
119 WPP_A_ericsson_MAIN_2 \
120 WPP_B_ericsson_MAIN_2 \
121 WPP_C_ericsson_MAIN_2 \
122 WPP_D_ericsson_MAIN_2 \
123 WPP_E_ericsson_MAIN_2 \
124 WPP_F_ericsson_MAIN_2 \
125
126 HEVC_SAMPLES_10BIT = \
127 DBLK_A_MAIN10_VIXS_2 \
128 WP_A_MAIN10_Toshiba_3 \
129 WP_MAIN10_B_Toshiba_3 \
130 WPP_A_ericsson_MAIN10_2 \
131 WPP_B_ericsson_MAIN10_2 \
132 WPP_C_ericsson_MAIN10_2 \
133 WPP_D_ericsson_MAIN10_2 \
134 WPP_E_ericsson_MAIN10_2 \
135 WPP_F_ericsson_MAIN10_2 \
136
137 # do not pass:
138 # DELTAQP_A_BRCM_4.bit -- TODO uses CRC instead of MD5
139 # HRD_A_Fujitsu_2.bin -- TODO uses hash 2 ("checksum")
140 # TSUNEQBD_A_MAIN10_Technicolor_2.bit (segfault)
141
142 define FATE_HEVC_TEST
143 FATE_HEVC += fate-hevc-conformance-$(1)
144 fate-hevc-conformance-$(1): CMD = framecrc -vsync 0 -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit
145 endef
146
147 define FATE_HEVC_TEST_10BIT
148 FATE_HEVC += fate-hevc-conformance-$(1)
149 fate-hevc-conformance-$(1): CMD = framecrc -vsync 0 -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit -pix_fmt yuv420p10le
150 endef
151
152 $(foreach N,$(HEVC_SAMPLES),$(eval $(call FATE_HEVC_TEST,$(N))))
153 $(foreach N,$(HEVC_SAMPLES_10BIT),$(eval $(call FATE_HEVC_TEST_10BIT,$(N))))
154
155 FATE_HEVC-$(call DEMDEC, HEVC, HEVC) += $(FATE_HEVC)
156
157 FATE_SAMPLES_AVCONV += $(FATE_HEVC-yes)
158
159 fate-hevc: $(FATE_HEVC-yes)