diff --git a/tests/fate/hevc.mak b/tests/fate/hevc.mak index d1c5817d90..5e1000d267 100644 --- a/tests/fate/hevc.mak +++ b/tests/fate/hevc.mak @@ -143,6 +143,18 @@ HEVC_SAMPLES_10BIT = \ WPP_F_ericsson_MAIN10_2 \ INITQP_B_Sony_1 \ +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 \ + +HEVC_SAMPLES_444_12BIT = \ + IPCM_B_RExt_NEC \ + + # equivalent bitstreams # AMP_D_Hisilicon_3 -- AMP_D_Hisilicon # AMP_E_Hisilicon_3 -- AMP_E_Hisilicon @@ -153,6 +165,10 @@ HEVC_SAMPLES_10BIT = \ # do not pass: # TSUNEQBD_A_MAIN10_Technicolor_2.bit (segfault mix 9-10bits) +# PERSIST_RPARAM_A_RExt_Sony_1 (rext) +# QMATRIX_A_RExt_Sony_1 (rext) +# SAO_A_RExt_MediaTek_1 (rext) + define FATE_HEVC_TEST FATE_HEVC += fate-hevc-conformance-$(1) @@ -164,8 +180,26 @@ FATE_HEVC += fate-hevc-conformance-$(1) fate-hevc-conformance-$(1): CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit -pix_fmt yuv420p10le endef +define FATE_HEVC_TEST_422_10BIT +FATE_HEVC += fate-hevc-conformance-$(1) +fate-hevc-conformance-$(1): CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit -pix_fmt yuv422p10le +endef + +define FATE_HEVC_TEST_422_10BIN +FATE_HEVC += fate-hevc-conformance-$(1) +fate-hevc-conformance-$(1): CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bin -pix_fmt yuv422p10le +endef + +define FATE_HEVC_TEST_444_12BIT +FATE_HEVC += fate-hevc-conformance-$(1) +fate-hevc-conformance-$(1): CMD = framecrc -vsync drop -i $(TARGET_SAMPLES)/hevc-conformance/$(1).bit -pix_fmt yuv444p12le +endef + $(foreach N,$(HEVC_SAMPLES),$(eval $(call FATE_HEVC_TEST,$(N)))) $(foreach N,$(HEVC_SAMPLES_10BIT),$(eval $(call FATE_HEVC_TEST_10BIT,$(N)))) +$(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)))) +$(foreach N,$(HEVC_SAMPLES_444_12BIT),$(eval $(call FATE_HEVC_TEST_444_12BIT,$(N)))) FATE_HEVC-$(call DEMDEC, HEVC, HEVC) += $(FATE_HEVC) diff --git a/tests/ref/fate/hevc-conformance-ADJUST_IPRED_ANGLE_A_RExt_Mitsubishi_1 b/tests/ref/fate/hevc-conformance-ADJUST_IPRED_ANGLE_A_RExt_Mitsubishi_1 new file mode 100644 index 0000000000..f73569f466 --- /dev/null +++ b/tests/ref/fate/hevc-conformance-ADJUST_IPRED_ANGLE_A_RExt_Mitsubishi_1 @@ -0,0 +1,4 @@ +#tb 0: 1/25 +0, 0, 0, 1, 8294400, 0xa061c78c +0, 1, 1, 1, 8294400, 0x60250c76 +0, 2, 2, 1, 8294400, 0x48e3fbdb diff --git a/tests/ref/fate/hevc-conformance-IPCM_A_RExt_NEC b/tests/ref/fate/hevc-conformance-IPCM_A_RExt_NEC new file mode 100644 index 0000000000..d05de74fa2 --- /dev/null +++ b/tests/ref/fate/hevc-conformance-IPCM_A_RExt_NEC @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 399360, 0xbac29a51 diff --git a/tests/ref/fate/hevc-conformance-IPCM_B_RExt_NEC b/tests/ref/fate/hevc-conformance-IPCM_B_RExt_NEC new file mode 100644 index 0000000000..a01c3b5d65 --- /dev/null +++ b/tests/ref/fate/hevc-conformance-IPCM_B_RExt_NEC @@ -0,0 +1,2 @@ +#tb 0: 1/25 +0, 0, 0, 1, 599040, 0x1f808406 diff --git a/tests/ref/fate/hevc-conformance-Main_422_10_A_RExt_Sony_1 b/tests/ref/fate/hevc-conformance-Main_422_10_A_RExt_Sony_1 new file mode 100644 index 0000000000..6c43693876 --- /dev/null +++ b/tests/ref/fate/hevc-conformance-Main_422_10_A_RExt_Sony_1 @@ -0,0 +1,25 @@ +#tb 0: 1/25 +0, 0, 0, 1, 8294400, 0xa189c341 +0, 1, 1, 1, 8294400, 0xefe07f3f +0, 2, 2, 1, 8294400, 0xf11cd41f +0, 3, 3, 1, 8294400, 0x85897411 +0, 4, 4, 1, 8294400, 0x2db68eca +0, 5, 5, 1, 8294400, 0xbf826c45 +0, 6, 6, 1, 8294400, 0x9960de92 +0, 7, 7, 1, 8294400, 0xd8125d06 +0, 8, 8, 1, 8294400, 0xb90251df +0, 9, 9, 1, 8294400, 0x5cc8c099 +0, 10, 10, 1, 8294400, 0xe5b49131 +0, 11, 11, 1, 8294400, 0xa861faac +0, 12, 12, 1, 8294400, 0x1e125ad2 +0, 13, 13, 1, 8294400, 0xbceba6d9 +0, 14, 14, 1, 8294400, 0x135dab49 +0, 15, 15, 1, 8294400, 0xf09f3164 +0, 16, 16, 1, 8294400, 0xfda414dd +0, 17, 17, 1, 8294400, 0xbf273db4 +0, 18, 18, 1, 8294400, 0x0dea125e +0, 19, 19, 1, 8294400, 0xde6dedb0 +0, 20, 20, 1, 8294400, 0x6389ceb6 +0, 21, 21, 1, 8294400, 0x8d69e4b8 +0, 22, 22, 1, 8294400, 0xf74c0457 +0, 23, 23, 1, 8294400, 0x5ecd983e diff --git a/tests/ref/fate/hevc-conformance-Main_422_10_B_RExt_Sony_1 b/tests/ref/fate/hevc-conformance-Main_422_10_B_RExt_Sony_1 new file mode 100644 index 0000000000..2267a095e6 --- /dev/null +++ b/tests/ref/fate/hevc-conformance-Main_422_10_B_RExt_Sony_1 @@ -0,0 +1,18 @@ +#tb 0: 1/25 +0, 0, 0, 1, 16384000, 0xbf300829 +0, 1, 1, 1, 16384000, 0x7beeab61 +0, 2, 2, 1, 16384000, 0x5e55cd13 +0, 3, 3, 1, 16384000, 0x62a54105 +0, 4, 4, 1, 16384000, 0x2db21797 +0, 5, 5, 1, 16384000, 0x6d9f84c1 +0, 6, 6, 1, 16384000, 0x68fdacfc +0, 7, 7, 1, 16384000, 0xe2c93c1a +0, 8, 8, 1, 16384000, 0x7d011df0 +0, 9, 9, 1, 16384000, 0x7524e2d3 +0, 10, 10, 1, 16384000, 0x1d240868 +0, 11, 11, 1, 16384000, 0x14cab858 +0, 12, 12, 1, 16384000, 0x4e2e1130 +0, 13, 13, 1, 16384000, 0x60c75577 +0, 14, 14, 1, 16384000, 0x32dfc64b +0, 15, 15, 1, 16384000, 0x0725f9ac +0, 16, 16, 1, 16384000, 0xda0886f1