hevc.mak 7.96 KB
Newer Older
1 2
HEVC_SAMPLES =                  \
    AMP_A_Samsung_4             \
3
    AMP_A_Samsung_6             \
4
    AMP_B_Samsung_4             \
5
    AMP_B_Samsung_6             \
6 7 8 9 10
    AMP_D_Hisilicon             \
    AMP_E_Hisilicon             \
    AMP_F_Hisilicon_3           \
    AMVP_A_MTK_4                \
    AMVP_B_MTK_4                \
11
    AMVP_C_Samsung_4            \
12
    AMVP_C_Samsung_6            \
13
    BUMPING_A_ericsson_1        \
Guillaume Martres's avatar
Guillaume Martres committed
14 15 16 17 18 19 20 21 22
    CAINIT_A_SHARP_4            \
    CAINIT_B_SHARP_4            \
    CAINIT_C_SHARP_3            \
    CAINIT_D_SHARP_3            \
    CAINIT_E_SHARP_3            \
    CAINIT_F_SHARP_3            \
    CAINIT_G_SHARP_3            \
    CAINIT_H_SHARP_3            \
    CIP_A_Panasonic_3           \
23
    cip_B_NEC_3                 \
Guillaume Martres's avatar
Guillaume Martres committed
24
    CIP_C_Panasonic_2           \
25
    CONFWIN_A_Sony_1            \
26 27 28 29 30 31 32
    DBLK_A_SONY_3               \
    DBLK_B_SONY_3               \
    DBLK_C_SONY_3               \
    DBLK_D_VIXS_2               \
    DBLK_E_VIXS_2               \
    DBLK_F_VIXS_2               \
    DBLK_G_VIXS_2               \
33
    DELTAQP_A_BRCM_4            \
34 35
    DELTAQP_B_SONY_3            \
    DELTAQP_C_SONY_3            \
Guillaume Martres's avatar
Guillaume Martres committed
36 37 38
    DSLICE_A_HHI_5              \
    DSLICE_B_HHI_5              \
    DSLICE_C_HHI_5              \
39 40 41
    ENTP_A_Qualcomm_1           \
    ENTP_B_Qualcomm_1           \
    ENTP_C_Qualcomm_1           \
42
    EXT_A_ericsson_4            \
43 44
    FILLER_A_Sony_1             \
    HRD_A_Fujitsu_2             \
45
    HRD_A_Fujitsu_3             \
46
    INITQP_A_Sony_1             \
47 48 49 50
    ipcm_A_NEC_3                \
    ipcm_B_NEC_3                \
    ipcm_C_NEC_3                \
    ipcm_D_NEC_3                \
51
    ipcm_E_NEC_2                \
Guillaume Martres's avatar
Guillaume Martres committed
52 53
    IPRED_A_docomo_2            \
    IPRED_B_Nokia_3             \
54
    IPRED_C_Mitsubishi_3        \
Guillaume Martres's avatar
Guillaume Martres committed
55
    LS_A_Orange_2               \
56
    LS_B_ORANGE_4               \
57
    LTRPSPS_A_Qualcomm_1        \
Guillaume Martres's avatar
Guillaume Martres committed
58 59 60 61 62 63 64 65
    MAXBINS_A_TI_4              \
    MAXBINS_B_TI_4              \
    MAXBINS_C_TI_4              \
    MERGE_A_TI_3                \
    MERGE_B_TI_3                \
    MERGE_C_TI_3                \
    MERGE_D_TI_3                \
    MERGE_E_TI_3                \
66
    MERGE_F_MTK_4               \
Guillaume Martres's avatar
Guillaume Martres committed
67 68 69 70
    MERGE_G_HHI_4               \
    MVCLIP_A_qualcomm_3         \
    MVDL1ZERO_A_docomo_3        \
    MVEDGE_A_qualcomm_3         \
71 72
    NoOutPrior_A_Qualcomm_1     \
    NoOutPrior_B_Qualcomm_1     \
73
    NUT_A_ericsson_5            \
74 75 76
    OPFLAG_A_Qualcomm_1         \
    OPFLAG_B_Qualcomm_1         \
    OPFLAG_C_Qualcomm_1         \
77 78 79 80
    PICSIZE_A_Bossen_1          \
    PICSIZE_B_Bossen_1          \
    PICSIZE_C_Bossen_1          \
    PICSIZE_D_Bossen_1          \
Guillaume Martres's avatar
Guillaume Martres committed
81 82 83 84 85
    PMERGE_A_TI_3               \
    PMERGE_B_TI_3               \
    PMERGE_C_TI_3               \
    PMERGE_D_TI_3               \
    PMERGE_E_TI_3               \
86
    POC_A_Bossen_3              \
Guillaume Martres's avatar
Guillaume Martres committed
87 88 89
    PPS_A_qualcomm_7            \
    PS_A_VIDYO_3                \
    PS_B_VIDYO_3                \
90
    RAP_A_docomo_4              \
Guillaume Martres's avatar
Guillaume Martres committed
91 92 93
    RAP_B_Bossen_1              \
    RPLM_A_qualcomm_4           \
    RPLM_B_qualcomm_4           \
94
    RPS_A_docomo_4              \
Guillaume Martres's avatar
Guillaume Martres committed
95
    RPS_B_qualcomm_5            \
96 97
    RPS_C_ericsson_5            \
    RPS_D_ericsson_6            \
Guillaume Martres's avatar
Guillaume Martres committed
98
    RPS_E_qualcomm_5            \
99
    RPS_F_docomo_1              \
Guillaume Martres's avatar
Guillaume Martres committed
100 101 102 103 104 105 106 107 108
    RQT_A_HHI_4                 \
    RQT_B_HHI_4                 \
    RQT_C_HHI_4                 \
    RQT_D_HHI_4                 \
    RQT_E_HHI_4                 \
    RQT_F_HHI_4                 \
    RQT_G_HHI_4                 \
    SAO_A_MediaTek_4            \
    SAO_B_MediaTek_5            \
109
    SAO_C_Samsung_4             \
110
    SAO_C_Samsung_5             \
111
    SAO_D_Samsung_4             \
112
    SAO_D_Samsung_5             \
113 114 115
    SAO_E_Canon_4               \
    SAO_F_Canon_3               \
    SAO_G_Canon_3               \
Guillaume Martres's avatar
Guillaume Martres committed
116 117 118 119 120 121
    SDH_A_Orange_3              \
    SLICES_A_Rovi_3             \
    SLIST_A_Sony_4              \
    SLIST_B_Sony_8              \
    SLIST_C_Sony_3              \
    SLIST_D_Sony_9              \
122
    SLPPLP_A_VIDYO_1            \
123
    SLPPLP_A_VIDYO_2            \
124 125
    STRUCT_A_Samsung_5          \
    STRUCT_B_Samsung_4          \
126
    STRUCT_B_Samsung_6          \
127 128
    TILES_A_Cisco_2             \
    TILES_B_Cisco_1             \
129
    TMVP_A_MS_3                 \
Guillaume Martres's avatar
Guillaume Martres committed
130 131
    TSCL_A_VIDYO_5              \
    TSCL_B_VIDYO_4              \
132 133
    TSKIP_A_MS_3                \
    TUSIZE_A_Samsung_1          \
134
    VPSID_A_VIDYO_1             \
135
    VPSID_A_VIDYO_2             \
Guillaume Martres's avatar
Guillaume Martres committed
136 137 138 139 140 141 142 143
    WP_A_Toshiba_3              \
    WP_B_Toshiba_3              \
    WPP_A_ericsson_MAIN_2       \
    WPP_B_ericsson_MAIN_2       \
    WPP_C_ericsson_MAIN_2       \
    WPP_D_ericsson_MAIN_2       \
    WPP_E_ericsson_MAIN_2       \
    WPP_F_ericsson_MAIN_2       \
144 145

HEVC_SAMPLES_10BIT =            \
146
    DBLK_A_MAIN10_VIXS_3        \
147 148
    WP_A_MAIN10_Toshiba_3       \
    WP_MAIN10_B_Toshiba_3       \
Guillaume Martres's avatar
Guillaume Martres committed
149 150 151 152 153 154
    WPP_A_ericsson_MAIN10_2     \
    WPP_B_ericsson_MAIN10_2     \
    WPP_C_ericsson_MAIN10_2     \
    WPP_D_ericsson_MAIN10_2     \
    WPP_E_ericsson_MAIN10_2     \
    WPP_F_ericsson_MAIN10_2     \
155
    INITQP_B_Sony_1             \
Guillaume Martres's avatar
Guillaume Martres committed
156

157 158 159 160 161 162 163 164
HEVC_SAMPLES_422_10BIT =        \
    ADJUST_IPRED_ANGLE_A_RExt_Mitsubishi_1 \
    IPCM_A_RExt_NEC             \

HEVC_SAMPLES_422_10BIN =        \
    Main_422_10_A_RExt_Sony_1   \
    Main_422_10_B_RExt_Sony_1   \

165 166 167
HEVC_SAMPLES_444_8BIT =         \
    QMATRIX_A_RExt_Sony_1       \

168 169
HEVC_SAMPLES_444_12BIT =        \
    IPCM_B_RExt_NEC             \
170 171
    PERSIST_RPARAM_A_RExt_Sony_1\
    SAO_A_RExt_MediaTek_1       \
172 173


174 175 176 177 178
# equivalent bitstreams
# AMP_D_Hisilicon_3 -- AMP_D_Hisilicon
# AMP_E_Hisilicon_3 -- AMP_E_Hisilicon
# MVDL1ZERO_A_docomo_4 -- MVDL1ZERO_A_docomo_3
# RAP_A_docomo_5 -- RAP_A_docomo_4
Mickaël Raulet's avatar
Mickaël Raulet committed
179
# RAP_B_bossen_2 -- RAP_B_bossen_1
180 181 182
# RPS_A_docomo_5 -- RPS_A_docomo_4
# RPS_F_docomo_2 -- RPS_F_docomo_1

Guillaume Martres's avatar
Guillaume Martres committed
183
# do not pass:
184
# TSUNEQBD_A_MAIN10_Technicolor_2.bit (segfault mix 9-10bits)
185 186
# PERSIST_RPARAM_A_RExt_Sony_1 (rext)

Guillaume Martres's avatar
Guillaume Martres committed
187

188
define FATE_HEVC_TEST
Guillaume Martres's avatar
Guillaume Martres committed
189
FATE_HEVC += fate-hevc-conformance-$(1)
190
fate-hevc-conformance-$(1): CMD = framecrc -flags unaligned -vsync drop -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit
Guillaume Martres's avatar
Guillaume Martres committed
191 192
endef

193
define FATE_HEVC_TEST_10BIT
Guillaume Martres's avatar
Guillaume Martres committed
194
FATE_HEVC += fate-hevc-conformance-$(1)
195
fate-hevc-conformance-$(1): CMD = framecrc -flags unaligned -vsync drop -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit -pix_fmt yuv420p10le
Guillaume Martres's avatar
Guillaume Martres committed
196 197
endef

198 199
define FATE_HEVC_TEST_422_10BIT
FATE_HEVC += fate-hevc-conformance-$(1)
200
fate-hevc-conformance-$(1): CMD = framecrc -flags unaligned -vsync drop -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit -pix_fmt yuv422p10le
201 202 203 204
endef

define FATE_HEVC_TEST_422_10BIN
FATE_HEVC += fate-hevc-conformance-$(1)
205
fate-hevc-conformance-$(1): CMD = framecrc -flags unaligned -vsync drop -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bin -pix_fmt yuv422p10le
206 207
endef

208 209
define FATE_HEVC_TEST_444_8BIT
FATE_HEVC += fate-hevc-conformance-$(1)
210
fate-hevc-conformance-$(1): CMD = framecrc -flags unaligned -vsync drop -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit
211 212
endef

213 214
define FATE_HEVC_TEST_444_12BIT
FATE_HEVC += fate-hevc-conformance-$(1)
215
fate-hevc-conformance-$(1): CMD = framecrc -flags unaligned -vsync drop -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit -pix_fmt yuv444p12le
216 217
endef

218 219
$(foreach N,$(HEVC_SAMPLES),$(eval $(call FATE_HEVC_TEST,$(N))))
$(foreach N,$(HEVC_SAMPLES_10BIT),$(eval $(call FATE_HEVC_TEST_10BIT,$(N))))
220 221
$(foreach N,$(HEVC_SAMPLES_422_10BIT),$(eval $(call FATE_HEVC_TEST_422_10BIT,$(N))))
$(foreach N,$(HEVC_SAMPLES_422_10BIN),$(eval $(call FATE_HEVC_TEST_422_10BIN,$(N))))
222
$(foreach N,$(HEVC_SAMPLES_444_8BIT),$(eval $(call FATE_HEVC_TEST_444_8BIT,$(N))))
223
$(foreach N,$(HEVC_SAMPLES_444_12BIT),$(eval $(call FATE_HEVC_TEST_444_12BIT,$(N))))
224

225
fate-hevc-paramchange-yuv420p-yuv420p10: CMD = framecrc -vsync 0 -i $(TARGET_SAMPLES)/hevc/paramchange_yuv420p_yuv420p10.hevc -sws_flags area+accurate_rnd+bitexact
226 227
FATE_HEVC += fate-hevc-paramchange-yuv420p-yuv420p10

Guillaume Martres's avatar
Guillaume Martres committed
228 229
FATE_HEVC-$(call DEMDEC, HEVC, HEVC) += $(FATE_HEVC)

230
FATE_SAMPLES_AVCONV += $(FATE_HEVC-yes)
Guillaume Martres's avatar
Guillaume Martres committed
231 232

fate-hevc: $(FATE_HEVC-yes)