Browse Source

fate/hevc: update fate rext tests

cherry picked from commit e6ee89e6fa

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.4
Mickaël Raulet Michael Niedermayer 11 years ago
parent
commit
729479a199
6 changed files with 85 additions and 0 deletions
  1. +34
    -0
      tests/fate/hevc.mak
  2. +4
    -0
      tests/ref/fate/hevc-conformance-ADJUST_IPRED_ANGLE_A_RExt_Mitsubishi_1
  3. +2
    -0
      tests/ref/fate/hevc-conformance-IPCM_A_RExt_NEC
  4. +2
    -0
      tests/ref/fate/hevc-conformance-IPCM_B_RExt_NEC
  5. +25
    -0
      tests/ref/fate/hevc-conformance-Main_422_10_A_RExt_Sony_1
  6. +18
    -0
      tests/ref/fate/hevc-conformance-Main_422_10_B_RExt_Sony_1

+ 34
- 0
tests/fate/hevc.mak View File

@@ -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)



+ 4
- 0
tests/ref/fate/hevc-conformance-ADJUST_IPRED_ANGLE_A_RExt_Mitsubishi_1 View File

@@ -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

+ 2
- 0
tests/ref/fate/hevc-conformance-IPCM_A_RExt_NEC View File

@@ -0,0 +1,2 @@
#tb 0: 1/25
0, 0, 0, 1, 399360, 0xbac29a51

+ 2
- 0
tests/ref/fate/hevc-conformance-IPCM_B_RExt_NEC View File

@@ -0,0 +1,2 @@
#tb 0: 1/25
0, 0, 0, 1, 599040, 0x1f808406

+ 25
- 0
tests/ref/fate/hevc-conformance-Main_422_10_A_RExt_Sony_1 View File

@@ -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

+ 18
- 0
tests/ref/fate/hevc-conformance-Main_422_10_B_RExt_Sony_1 View File

@@ -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

Loading…
Cancel
Save