d5d49ce0db7b4c86a060a42cf16091ec7dd80606
[ffmpeg.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_2                 \
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_2                \
42     ipcm_B_NEC_2                \
43     ipcm_C_NEC_2                \
44     ipcm_D_NEC_2                \
45     IPRED_A_docomo_2            \
46     IPRED_B_Nokia_3             \
47     IPRED_C_Mitsubishi_2        \
48     LS_A_Orange_2               \
49     LS_B_ORANGE_3               \
50     MAXBINS_A_TI_4              \
51     MAXBINS_B_TI_4              \
52     MAXBINS_C_TI_4              \
53     MERGE_A_TI_3                \
54     MERGE_B_TI_3                \
55     MERGE_C_TI_3                \
56     MERGE_D_TI_3                \
57     MERGE_E_TI_3                \
58     MERGE_F_MTK_4               \
59     MERGE_G_HHI_4               \
60     MVCLIP_A_qualcomm_3         \
61     MVDL1ZERO_A_docomo_3        \
62     MVEDGE_A_qualcomm_3         \
63     NUT_A_ericsson_4            \
64     PICSIZE_A_Bossen_1          \
65     PICSIZE_B_Bossen_1          \
66     PICSIZE_C_Bossen_1          \
67     PICSIZE_D_Bossen_1          \
68     PMERGE_A_TI_3               \
69     PMERGE_B_TI_3               \
70     PMERGE_C_TI_3               \
71     PMERGE_D_TI_3               \
72     PMERGE_E_TI_3               \
73     POC_A_Bossen_3              \
74     PPS_A_qualcomm_7            \
75     RAP_A_docomo_4              \
76     PS_A_VIDYO_3                \
77     PS_B_VIDYO_3                \
78     RAP_B_Bossen_1              \
79     RPLM_A_qualcomm_4           \
80     RPLM_B_qualcomm_4           \
81     RPS_A_docomo_4              \
82     RPS_B_qualcomm_5            \
83     RPS_C_ericsson_4            \
84     RPS_D_ericsson_5            \
85     RPS_E_qualcomm_5            \
86     RQT_A_HHI_4                 \
87     RQT_B_HHI_4                 \
88     RQT_C_HHI_4                 \
89     RQT_D_HHI_4                 \
90     RQT_E_HHI_4                 \
91     RQT_F_HHI_4                 \
92     RQT_G_HHI_4                 \
93     SAO_A_MediaTek_4            \
94     SAO_B_MediaTek_5            \
95     SAO_C_Samsung_4             \
96     SAO_D_Samsung_4             \
97     SAO_E_Canon_4               \
98     SAO_F_Canon_3               \
99     SAO_G_Canon_3               \
100     SDH_A_Orange_3              \
101     SLICES_A_Rovi_3             \
102     SLIST_A_Sony_4              \
103     SLIST_B_Sony_8              \
104     SLIST_C_Sony_3              \
105     SLIST_D_Sony_9              \
106     STRUCT_A_Samsung_5          \
107     STRUCT_B_Samsung_4          \
108     TILES_A_Cisco_2             \
109     TILES_B_Cisco_1             \
110     TMVP_A_MS_2                 \
111     TSCL_A_VIDYO_5              \
112     TSCL_B_VIDYO_4              \
113     TSKIP_A_MS_2                \
114     WP_A_Toshiba_3              \
115     WP_B_Toshiba_3              \
116     WPP_A_ericsson_MAIN_2       \
117     WPP_B_ericsson_MAIN_2       \
118     WPP_C_ericsson_MAIN_2       \
119     WPP_D_ericsson_MAIN_2       \
120     WPP_E_ericsson_MAIN_2       \
121     WPP_F_ericsson_MAIN_2       \
122
123 HEVC_SAMPLES_10BIT =            \
124     DBLK_A_MAIN10_VIXS_2        \
125     WP_A_MAIN10_Toshiba_3       \
126     WP_MAIN10_B_Toshiba_3       \
127     WPP_A_ericsson_MAIN10_2     \
128     WPP_B_ericsson_MAIN10_2     \
129     WPP_C_ericsson_MAIN10_2     \
130     WPP_D_ericsson_MAIN10_2     \
131     WPP_E_ericsson_MAIN10_2     \
132     WPP_F_ericsson_MAIN10_2     \
133
134 # do not pass:
135 # DELTAQP_A_BRCM_4.bit -- TODO uses CRC instead of MD5
136 # HRD_A_Fujitsu_2.bin -- TODO uses hash 2 ("checksum")
137 # TSUNEQBD_A_MAIN10_Technicolor_2.bit (segfault)
138
139 define FATE_HEVC_TEST
140 FATE_HEVC += fate-hevc-conformance-$(1)
141 fate-hevc-conformance-$(1): CMD = framecrc -vsync 0 -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit
142 endef
143
144 define FATE_HEVC_TEST_10BIT
145 FATE_HEVC += fate-hevc-conformance-$(1)
146 fate-hevc-conformance-$(1): CMD = framecrc -vsync 0 -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit -pix_fmt yuv420p10le
147 endef
148
149 $(foreach N,$(HEVC_SAMPLES),$(eval $(call FATE_HEVC_TEST,$(N))))
150 $(foreach N,$(HEVC_SAMPLES_10BIT),$(eval $(call FATE_HEVC_TEST_10BIT,$(N))))
151
152 FATE_HEVC-$(call DEMDEC, HEVC, HEVC) += $(FATE_HEVC)
153
154 FATE_SAMPLES_AVCONV += $(FATE_HEVC-yes)
155
156 fate-hevc: $(FATE_HEVC-yes)