2c746d8ee67ae4e2a4d77175286cc0f218115c58
[ffmpeg.git] / tests / fate / hevc.mak
1 HEVC_SAMPLES =                  \
2     AMP_A_Samsung_4             \
3     AMP_B_Samsung_4             \
4     AMP_D_Hisilicon             \
5     AMP_E_Hisilicon             \
6     AMP_F_Hisilicon_3           \
7     AMVP_A_MTK_4                \
8     AMVP_B_MTK_4                \
9     AMVP_C_Samsung_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_2               \
25     DBLK_E_VIXS_2               \
26     DBLK_F_VIXS_2               \
27     DBLK_G_VIXS_2               \
28     DELTAQP_A_BRCM_4            \
29     DELTAQP_B_SONY_3            \
30     DELTAQP_C_SONY_3            \
31     DSLICE_A_HHI_5              \
32     DSLICE_B_HHI_5              \
33     DSLICE_C_HHI_5              \
34     ENTP_A_Qualcomm_1           \
35     ENTP_B_Qualcomm_1           \
36     ENTP_C_Qualcomm_1           \
37     EXT_A_ericsson_4            \
38     FILLER_A_Sony_1             \
39     HRD_A_Fujitsu_2             \
40     INITQP_A_Sony_1             \
41     INITQP_B_Sony_1             \
42     ipcm_A_NEC_3                \
43     ipcm_B_NEC_3                \
44     ipcm_C_NEC_3                \
45     ipcm_D_NEC_3                \
46     ipcm_E_NEC_2                \
47     IPRED_A_docomo_2            \
48     IPRED_B_Nokia_3             \
49     IPRED_C_Mitsubishi_3        \
50     LS_A_Orange_2               \
51     LS_B_ORANGE_4               \
52     LTRPSPS_A_Qualcomm_1        \
53     MAXBINS_A_TI_4              \
54     MAXBINS_B_TI_4              \
55     MAXBINS_C_TI_4              \
56     MERGE_A_TI_3                \
57     MERGE_B_TI_3                \
58     MERGE_C_TI_3                \
59     MERGE_D_TI_3                \
60     MERGE_E_TI_3                \
61     MERGE_F_MTK_4               \
62     MERGE_G_HHI_4               \
63     MVCLIP_A_qualcomm_3         \
64     MVDL1ZERO_A_docomo_3        \
65     MVEDGE_A_qualcomm_3         \
66     NoOutPrior_A_Qualcomm_1     \
67     NoOutPrior_B_Qualcomm_1     \
68     NUT_A_ericsson_5            \
69     OPFLAG_A_Qualcomm_1         \
70     OPFLAG_B_Qualcomm_1         \
71     OPFLAG_C_Qualcomm_1         \
72     PICSIZE_A_Bossen_1          \
73     PICSIZE_B_Bossen_1          \
74     PICSIZE_C_Bossen_1          \
75     PICSIZE_D_Bossen_1          \
76     PMERGE_A_TI_3               \
77     PMERGE_B_TI_3               \
78     PMERGE_C_TI_3               \
79     PMERGE_D_TI_3               \
80     PMERGE_E_TI_3               \
81     POC_A_Bossen_3              \
82     PPS_A_qualcomm_7            \
83     PS_A_VIDYO_3                \
84     PS_B_VIDYO_3                \
85     RAP_A_docomo_4              \
86     RAP_B_Bossen_1              \
87     RPLM_A_qualcomm_4           \
88     RPLM_B_qualcomm_4           \
89     RPS_A_docomo_4              \
90     RPS_B_qualcomm_5            \
91     RPS_C_ericsson_5            \
92     RPS_D_ericsson_6            \
93     RPS_E_qualcomm_5            \
94     RPS_F_docomo_1              \
95     RQT_A_HHI_4                 \
96     RQT_B_HHI_4                 \
97     RQT_C_HHI_4                 \
98     RQT_D_HHI_4                 \
99     RQT_E_HHI_4                 \
100     RQT_F_HHI_4                 \
101     RQT_G_HHI_4                 \
102     SAO_A_MediaTek_4            \
103     SAO_B_MediaTek_5            \
104     SAO_C_Samsung_4             \
105     SAO_D_Samsung_4             \
106     SAO_E_Canon_4               \
107     SAO_F_Canon_3               \
108     SAO_G_Canon_3               \
109     SDH_A_Orange_3              \
110     SLICES_A_Rovi_3             \
111     SLIST_A_Sony_4              \
112     SLIST_B_Sony_8              \
113     SLIST_C_Sony_3              \
114     SLIST_D_Sony_9              \
115     SLPPLP_A_VIDYO_1            \
116     STRUCT_A_Samsung_5          \
117     STRUCT_B_Samsung_4          \
118     TILES_A_Cisco_2             \
119     TILES_B_Cisco_1             \
120     TMVP_A_MS_3                 \
121     TSCL_A_VIDYO_5              \
122     TSCL_B_VIDYO_4              \
123     TSKIP_A_MS_3                \
124     TUSIZE_A_Samsung_1          \
125     VPSID_A_VIDYO_1             \
126     WP_A_Toshiba_3              \
127     WP_B_Toshiba_3              \
128     WPP_A_ericsson_MAIN_2       \
129     WPP_B_ericsson_MAIN_2       \
130     WPP_C_ericsson_MAIN_2       \
131     WPP_D_ericsson_MAIN_2       \
132     WPP_E_ericsson_MAIN_2       \
133     WPP_F_ericsson_MAIN_2       \
134
135 HEVC_SAMPLES_10BIT =            \
136     DBLK_A_MAIN10_VIXS_3        \
137     WP_A_MAIN10_Toshiba_3       \
138     WP_MAIN10_B_Toshiba_3       \
139     WPP_A_ericsson_MAIN10_2     \
140     WPP_B_ericsson_MAIN10_2     \
141     WPP_C_ericsson_MAIN10_2     \
142     WPP_D_ericsson_MAIN10_2     \
143     WPP_E_ericsson_MAIN10_2     \
144     WPP_F_ericsson_MAIN10_2     \
145
146 # equivalent bitstreams
147 # AMP_D_Hisilicon_3 -- AMP_D_Hisilicon
148 # AMP_E_Hisilicon_3 -- AMP_E_Hisilicon
149 # MVDL1ZERO_A_docomo_4 -- MVDL1ZERO_A_docomo_3
150 # RAP_A_docomo_5 -- RAP_A_docomo_4
151 # RPS_A_docomo_5 -- RPS_A_docomo_4
152 # RPS_F_docomo_2 -- RPS_F_docomo_1
153
154 # do not pass:
155 # TSUNEQBD_A_MAIN10_Technicolor_2.bit (segfault mix 9-10bits)
156
157 define FATE_HEVC_TEST
158 FATE_HEVC += fate-hevc-conformance-$(1)
159 fate-hevc-conformance-$(1): CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit
160 endef
161
162 define FATE_HEVC_TEST_10BIT
163 FATE_HEVC += fate-hevc-conformance-$(1)
164 fate-hevc-conformance-$(1): CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit -pix_fmt yuv420p10le
165 endef
166
167 $(foreach N,$(HEVC_SAMPLES),$(eval $(call FATE_HEVC_TEST,$(N))))
168 $(foreach N,$(HEVC_SAMPLES_10BIT),$(eval $(call FATE_HEVC_TEST_10BIT,$(N))))
169
170 FATE_HEVC-$(call DEMDEC, HEVC, HEVC) += $(FATE_HEVC)
171
172 FATE_SAMPLES_AVCONV += $(FATE_HEVC-yes)
173
174 fate-hevc: $(FATE_HEVC-yes)