diff mbox series

[FFmpeg-devel,20/23] tests/fate/hevc: add MV-HEVC conformance sample tests

Message ID 20240914111036.17164-21-anton@khirnov.net
State New
Headers show
Series [FFmpeg-devel,01/23] compat: drop gcc, suncc, and pthreads stdatomic emulation | expand

Checks

Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 fail Make fate failed
andriy/make_x86 success Make finished
andriy/make_fate_x86 fail Make fate failed

Commit Message

Anton Khirnov Sept. 14, 2024, 10:45 a.m. UTC
Only those that can be decoded with our implementation, so excluding
* C and D - independent layers
* G, H, I - more than 2 layers

Frame hashes verified against the reference implementation from
https://hevc.hhi.fraunhofer.de/svn/svn_3DVCSoftware/
---
 tests/fate/hevc.mak                       |  13 +-
 tests/ref/fate/hevc-conformance-MVHEVCS_A | 106 +++++++++++++++++
 tests/ref/fate/hevc-conformance-MVHEVCS_B | 138 ++++++++++++++++++++++
 tests/ref/fate/hevc-conformance-MVHEVCS_E | 106 +++++++++++++++++
 tests/ref/fate/hevc-conformance-MVHEVCS_F | 106 +++++++++++++++++
 5 files changed, 468 insertions(+), 1 deletion(-)
 create mode 100644 tests/ref/fate/hevc-conformance-MVHEVCS_A
 create mode 100644 tests/ref/fate/hevc-conformance-MVHEVCS_B
 create mode 100644 tests/ref/fate/hevc-conformance-MVHEVCS_E
 create mode 100644 tests/ref/fate/hevc-conformance-MVHEVCS_F

Comments

James Almer Sept. 15, 2024, 9:54 p.m. UTC | #1
On 9/14/2024 7:45 AM, Anton Khirnov wrote:
> Only those that can be decoded with our implementation, so excluding
> * C and D - independent layers
> * G, H, I - more than 2 layers
> 
> Frame hashes verified against the reference implementation from
> https://hevc.hhi.fraunhofer.de/svn/svn_3DVCSoftware/
> ---
>   tests/fate/hevc.mak                       |  13 +-
>   tests/ref/fate/hevc-conformance-MVHEVCS_A | 106 +++++++++++++++++
>   tests/ref/fate/hevc-conformance-MVHEVCS_B | 138 ++++++++++++++++++++++
>   tests/ref/fate/hevc-conformance-MVHEVCS_E | 106 +++++++++++++++++
>   tests/ref/fate/hevc-conformance-MVHEVCS_F | 106 +++++++++++++++++
>   5 files changed, 468 insertions(+), 1 deletion(-)
>   create mode 100644 tests/ref/fate/hevc-conformance-MVHEVCS_A
>   create mode 100644 tests/ref/fate/hevc-conformance-MVHEVCS_B
>   create mode 100644 tests/ref/fate/hevc-conformance-MVHEVCS_E
>   create mode 100644 tests/ref/fate/hevc-conformance-MVHEVCS_F

I uploaded these samples.
diff mbox series

Patch

diff --git a/tests/fate/hevc.mak b/tests/fate/hevc.mak
index 88aeb9cebd..eb9d3a875c 100644
--- a/tests/fate/hevc.mak
+++ b/tests/fate/hevc.mak
@@ -178,7 +178,14 @@  HEVC_SAMPLES_444_12BIT =        \
     PERSIST_RPARAM_A_RExt_Sony_3\
     $(if $(CONFIG_LARGE_TESTS), $(HEVC_SAMPLES_444_12BIT_LARGE))
 
-FATE_HEVC_VARS := 8BIT 10BIT 422_10BIT 422_10BIN 444_8BIT 444_12BIT
+HEVC_SAMPLES_MULTIVIEW =    \
+    MVHEVCS_A               \
+    MVHEVCS_B               \
+    MVHEVCS_E               \
+    MVHEVCS_F               \
+
+
+FATE_HEVC_VARS := 8BIT 10BIT 422_10BIT 422_10BIN 444_8BIT 444_12BIT MULTIVIEW
 $(foreach VAR,$(FATE_HEVC_VARS), $(eval HEVC_TESTS_$(VAR) := $(addprefix fate-hevc-conformance-, $(HEVC_SAMPLES_$(VAR)))))
 
 # equivalent bitstreams
@@ -202,6 +209,8 @@  $(HEVC_TESTS_422_10BIT) $(HEVC_TESTS_422_10BIN): SCALE_OPTS := -pix_fmt yuv422p1
 $(HEVC_TESTS_444_12BIT): SCALE_OPTS := -pix_fmt yuv444p12le -vf scale
 fate-hevc-conformance-%: CMD = framecrc -i $(TARGET_SAMPLES)/hevc-conformance/$(subst fate-hevc-conformance-,,$(@)).bit $(SCALE_OPTS)
 $(HEVC_TESTS_422_10BIN): CMD = framecrc -i $(TARGET_SAMPLES)/hevc-conformance/$(subst fate-hevc-conformance-,,$(@)).bin $(SCALE_OPTS)
+$(HEVC_TESTS_MULTIVIEW): CMD = framecrc -i $(TARGET_SAMPLES)/hevc-conformance/$(subst fate-hevc-conformance-,,$(@)).bit \
+	-pix_fmt yuv420p -map "0:view:0" -map "0:view:1" -vf setpts=N
 
 FATE_HEVC-$(call FRAMECRC, HEVC, HEVC, HEVC_PARSER) += $(HEVC_TESTS_8BIT) $(HEVC_TESTS_444_8BIT)
 FATE_HEVC-$(call FRAMECRC, HEVC, HEVC, HEVC_PARSER SCALE_FILTER) +=         \
@@ -210,6 +219,8 @@  FATE_HEVC-$(call FRAMECRC, HEVC, HEVC, HEVC_PARSER SCALE_FILTER) +=         \
                                                     $(HEVC_TESTS_422_10BIN) \
                                                     $(HEVC_TESTS_444_12BIT) \
 
+FATE_HEVC-$(call FRAMECRC, HEVC, HEVC, HEVC_PARSER SCALE_FILTER) += $(HEVC_TESTS_MULTIVIEW)
+
 fate-hevc-paramchange-yuv420p-yuv420p10: CMD = framecrc -i $(TARGET_SAMPLES)/hevc/paramchange_yuv420p_yuv420p10.hevc -fps_mode passthrough -sws_flags area+accurate_rnd+bitexact
 FATE_HEVC-$(call FRAMECRC, HEVC, HEVC, HEVC_PARSER SCALE_FILTER LARGE_TESTS) += fate-hevc-paramchange-yuv420p-yuv420p10
 
diff --git a/tests/ref/fate/hevc-conformance-MVHEVCS_A b/tests/ref/fate/hevc-conformance-MVHEVCS_A
new file mode 100644
index 0000000000..c919889207
--- /dev/null
+++ b/tests/ref/fate/hevc-conformance-MVHEVCS_A
@@ -0,0 +1,106 @@ 
+#tb 0: 1/1200000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 1024x768
+#sar 0: 0/1
+#tb 1: 1/1200000
+#media_type 1: video
+#codec_id 1: rawvideo
+#dimensions 1: 1024x768
+#sar 1: 0/1
+0,          0,          0,        0,  1179648, 0x4a15620e
+1,          0,          0,        0,  1179648, 0x5b752453
+0,          1,          1,        0,  1179648, 0xb33277fe
+1,          1,          1,        0,  1179648, 0xacf4376d
+0,          2,          2,        0,  1179648, 0x97b969bd
+1,          2,          2,        0,  1179648, 0xa9d6e75d
+0,          3,          3,        0,  1179648, 0x3c6b7b81
+1,          3,          3,        0,  1179648, 0x2142cc59
+0,          4,          4,        0,  1179648, 0xdf83fe63
+1,          4,          4,        0,  1179648, 0x838d4f0a
+0,          5,          5,        0,  1179648, 0x93fc3bdf
+1,          5,          5,        0,  1179648, 0x29bc71c2
+0,          6,          6,        0,  1179648, 0x18f90aa3
+1,          6,          6,        0,  1179648, 0x3b25ee18
+0,          7,          7,        0,  1179648, 0x84c730c5
+1,          7,          7,        0,  1179648, 0x60ecae5b
+0,          8,          8,        0,  1179648, 0x7b49f2b1
+1,          8,          8,        0,  1179648, 0x8c3c635e
+0,          9,          9,        0,  1179648, 0x71f1b862
+1,          9,          9,        0,  1179648, 0x16c2a6fc
+0,         10,         10,        0,  1179648, 0x92be991a
+1,         10,         10,        0,  1179648, 0x092d6378
+0,         11,         11,        0,  1179648, 0xa948322d
+1,         11,         11,        0,  1179648, 0x5d977eec
+0,         12,         12,        0,  1179648, 0x54838c22
+1,         12,         12,        0,  1179648, 0x66fc891e
+0,         13,         13,        0,  1179648, 0xc2682668
+1,         13,         13,        0,  1179648, 0x0b60bd06
+0,         14,         14,        0,  1179648, 0x1fa22020
+1,         14,         14,        0,  1179648, 0x201706e2
+0,         15,         15,        0,  1179648, 0x3a686683
+1,         15,         15,        0,  1179648, 0x9c59849c
+0,         16,         16,        0,  1179648, 0x991431ab
+1,         16,         16,        0,  1179648, 0xb495ba09
+0,         17,         17,        0,  1179648, 0xd394e067
+1,         17,         17,        0,  1179648, 0x1d1db0c6
+0,         18,         18,        0,  1179648, 0xbe694632
+1,         18,         18,        0,  1179648, 0x22beec67
+0,         19,         19,        0,  1179648, 0x8a48c7a7
+1,         19,         19,        0,  1179648, 0x3515ac62
+0,         20,         20,        0,  1179648, 0x8d7e9e6d
+1,         20,         20,        0,  1179648, 0x3b73015b
+0,         21,         21,        0,  1179648, 0x14f28d47
+1,         21,         21,        0,  1179648, 0x4e01fdb7
+0,         22,         22,        0,  1179648, 0x1885631b
+1,         22,         22,        0,  1179648, 0xca33f8de
+0,         23,         23,        0,  1179648, 0x29c795f1
+1,         23,         23,        0,  1179648, 0x925517c1
+0,         24,         24,        0,  1179648, 0xee23fd91
+1,         24,         24,        0,  1179648, 0x0894bf6a
+0,         25,         25,        0,  1179648, 0xa57dce94
+1,         25,         25,        0,  1179648, 0xebfe296d
+0,         26,         26,        0,  1179648, 0x6c3b16d8
+1,         26,         26,        0,  1179648, 0x62acb3e0
+0,         27,         27,        0,  1179648, 0xbf5a112f
+1,         27,         27,        0,  1179648, 0x72f6ae90
+0,         28,         28,        0,  1179648, 0x5e7ce2a7
+1,         28,         28,        0,  1179648, 0xb4c6bcbc
+0,         29,         29,        0,  1179648, 0x0529ad59
+1,         29,         29,        0,  1179648, 0x438c8160
+0,         30,         30,        0,  1179648, 0xc94d561d
+1,         30,         30,        0,  1179648, 0x1b3a02af
+0,         31,         31,        0,  1179648, 0x7079bbc0
+1,         31,         31,        0,  1179648, 0x6034d275
+0,         32,         32,        0,  1179648, 0x6c8e1265
+1,         32,         32,        0,  1179648, 0x9e688ee2
+0,         33,         33,        0,  1179648, 0x5e1494ee
+1,         33,         33,        0,  1179648, 0xe39cab5d
+0,         34,         34,        0,  1179648, 0xe3654994
+1,         34,         34,        0,  1179648, 0xeefe533b
+0,         35,         35,        0,  1179648, 0x329510fa
+1,         35,         35,        0,  1179648, 0x48ed2162
+0,         36,         36,        0,  1179648, 0x92120a9f
+1,         36,         36,        0,  1179648, 0xb0fb26b3
+0,         37,         37,        0,  1179648, 0x6f279a56
+1,         37,         37,        0,  1179648, 0xc4185523
+0,         38,         38,        0,  1179648, 0xd2ad5c1d
+1,         38,         38,        0,  1179648, 0x8124687d
+0,         39,         39,        0,  1179648, 0xd7e5bbaa
+1,         39,         39,        0,  1179648, 0x39f1b702
+0,         40,         40,        0,  1179648, 0xb5628743
+1,         40,         40,        0,  1179648, 0xee5802d7
+0,         41,         41,        0,  1179648, 0x2760515e
+1,         41,         41,        0,  1179648, 0xdeac4fbd
+0,         42,         42,        0,  1179648, 0x11a2f57a
+1,         42,         42,        0,  1179648, 0xb1c7977f
+0,         43,         43,        0,  1179648, 0x2c47dd8f
+1,         43,         43,        0,  1179648, 0xaaaddace
+0,         44,         44,        0,  1179648, 0x890fe8c2
+1,         44,         44,        0,  1179648, 0x7ff8e81e
+0,         45,         45,        0,  1179648, 0x65e9f9ac
+1,         45,         45,        0,  1179648, 0xf9b1b99c
+0,         46,         46,        0,  1179648, 0x3e4fa8d9
+1,         46,         46,        0,  1179648, 0xfc3659e6
+0,         47,         47,        0,  1179648, 0x356e13ee
+1,         47,         47,        0,  1179648, 0xff8bfa3f
diff --git a/tests/ref/fate/hevc-conformance-MVHEVCS_B b/tests/ref/fate/hevc-conformance-MVHEVCS_B
new file mode 100644
index 0000000000..07155c50e1
--- /dev/null
+++ b/tests/ref/fate/hevc-conformance-MVHEVCS_B
@@ -0,0 +1,138 @@ 
+#tb 0: 1/1200000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 1024x768
+#sar 0: 0/1
+#tb 1: 1/1200000
+#media_type 1: video
+#codec_id 1: rawvideo
+#dimensions 1: 1024x768
+#sar 1: 0/1
+0,          0,          0,        0,  1179648, 0x4b39cdfe
+1,          0,          0,        0,  1179648, 0x1afcd2a3
+0,          1,          1,        0,  1179648, 0xef0da64e
+1,          1,          1,        0,  1179648, 0x2bb1d07b
+0,          2,          2,        0,  1179648, 0x9dd9e5a7
+1,          2,          2,        0,  1179648, 0xcc0547f2
+0,          3,          3,        0,  1179648, 0xee948285
+1,          3,          3,        0,  1179648, 0x3375f14b
+0,          4,          4,        0,  1179648, 0x75117927
+1,          4,          4,        0,  1179648, 0x1e059655
+0,          5,          5,        0,  1179648, 0xad9fec31
+1,          5,          5,        0,  1179648, 0xfed7ef37
+0,          6,          6,        0,  1179648, 0x53cd0f53
+1,          6,          6,        0,  1179648, 0xa725f316
+0,          7,          7,        0,  1179648, 0xcbda04b5
+1,          7,          7,        0,  1179648, 0xd13b99db
+0,          8,          8,        0,  1179648, 0x71861302
+1,          8,          8,        0,  1179648, 0x911d2c79
+0,          9,          9,        0,  1179648, 0x5d2564dd
+1,          9,          9,        0,  1179648, 0x70fa087a
+0,         10,         10,        0,  1179648, 0xcfa6d394
+1,         10,         10,        0,  1179648, 0x69a27b84
+0,         11,         11,        0,  1179648, 0x18fe7393
+1,         11,         11,        0,  1179648, 0xcc665fd1
+0,         12,         12,        0,  1179648, 0xb329d489
+1,         12,         12,        0,  1179648, 0xf8d93bbf
+0,         13,         13,        0,  1179648, 0x3b029004
+1,         13,         13,        0,  1179648, 0x39655020
+0,         14,         14,        0,  1179648, 0x6c81bf8e
+1,         14,         14,        0,  1179648, 0x13da6f67
+0,         15,         15,        0,  1179648, 0x25e3e0a9
+1,         15,         15,        0,  1179648, 0xdc372a0f
+0,         16,         16,        0,  1179648, 0x8f2c789f
+1,         16,         16,        0,  1179648, 0xba8a3e23
+0,         17,         17,        0,  1179648, 0x372b866f
+1,         17,         17,        0,  1179648, 0x27d31b48
+0,         18,         18,        0,  1179648, 0x5cfc8119
+1,         18,         18,        0,  1179648, 0x50aca559
+0,         19,         19,        0,  1179648, 0x593af76c
+1,         19,         19,        0,  1179648, 0x27c0e522
+0,         20,         20,        0,  1179648, 0x852864b7
+1,         20,         20,        0,  1179648, 0xa8739c77
+0,         21,         21,        0,  1179648, 0x71f4b961
+1,         21,         21,        0,  1179648, 0x27c16037
+0,         22,         22,        0,  1179648, 0x6c5ebb84
+1,         22,         22,        0,  1179648, 0x74a6ede9
+0,         23,         23,        0,  1179648, 0xb5467da9
+1,         23,         23,        0,  1179648, 0x1ea455b9
+0,         24,         24,        0,  1179648, 0x92d58478
+1,         24,         24,        0,  1179648, 0x9e464f3a
+0,         25,         25,        0,  1179648, 0xa6181655
+1,         25,         25,        0,  1179648, 0x8af4fd5b
+0,         26,         26,        0,  1179648, 0x15e9ee9a
+1,         26,         26,        0,  1179648, 0xa6ed4580
+0,         27,         27,        0,  1179648, 0x4782abf9
+1,         27,         27,        0,  1179648, 0x73fc62e6
+0,         28,         28,        0,  1179648, 0x8c06f337
+1,         28,         28,        0,  1179648, 0xb2d3dfbf
+0,         29,         29,        0,  1179648, 0x2e6b1a88
+1,         29,         29,        0,  1179648, 0x2066f08e
+0,         30,         30,        0,  1179648, 0x584eac3e
+1,         30,         30,        0,  1179648, 0xa0bfb75b
+0,         31,         31,        0,  1179648, 0x9a2dae49
+1,         31,         31,        0,  1179648, 0x89445161
+0,         32,         32,        0,  1179648, 0x3a50c6f4
+1,         32,         32,        0,  1179648, 0x9befaa17
+0,         33,         33,        0,  1179648, 0x1afcbfd6
+1,         33,         33,        0,  1179648, 0xb243de65
+0,         34,         34,        0,  1179648, 0xfdda4e8c
+1,         34,         34,        0,  1179648, 0xf945451a
+0,         35,         35,        0,  1179648, 0x8fffa546
+1,         35,         35,        0,  1179648, 0x06b20109
+0,         36,         36,        0,  1179648, 0xbc2c9dfc
+1,         36,         36,        0,  1179648, 0x344c1ed8
+0,         37,         37,        0,  1179648, 0xb2d08414
+1,         37,         37,        0,  1179648, 0xccd35195
+0,         38,         38,        0,  1179648, 0x54886d31
+1,         38,         38,        0,  1179648, 0x653ed9df
+0,         39,         39,        0,  1179648, 0x07c3b249
+1,         39,         39,        0,  1179648, 0xf92b9e88
+0,         40,         40,        0,  1179648, 0x073b9491
+1,         40,         40,        0,  1179648, 0x4ed7ee12
+0,         41,         41,        0,  1179648, 0xcd669799
+1,         41,         41,        0,  1179648, 0xa7faed20
+0,         42,         42,        0,  1179648, 0xd21b0a28
+1,         42,         42,        0,  1179648, 0xb34d0f7f
+0,         43,         43,        0,  1179648, 0xb4b820c9
+1,         43,         43,        0,  1179648, 0xf496d13d
+0,         44,         44,        0,  1179648, 0x2d2940d0
+1,         44,         44,        0,  1179648, 0x985d67f5
+0,         45,         45,        0,  1179648, 0x919c554a
+1,         45,         45,        0,  1179648, 0x697d0b66
+0,         46,         46,        0,  1179648, 0x7dd28f61
+1,         46,         46,        0,  1179648, 0x504d6971
+0,         47,         47,        0,  1179648, 0x51af9760
+1,         47,         47,        0,  1179648, 0x956d7fb1
+0,         48,         48,        0,  1179648, 0x8801beba
+1,         48,         48,        0,  1179648, 0xec62570e
+0,         49,         49,        0,  1179648, 0x80b37318
+1,         49,         49,        0,  1179648, 0x48284486
+0,         50,         50,        0,  1179648, 0x91c52522
+1,         50,         50,        0,  1179648, 0xe3a72477
+0,         51,         51,        0,  1179648, 0x6721373b
+1,         51,         51,        0,  1179648, 0x9fb05dfa
+0,         52,         52,        0,  1179648, 0xd2a250ca
+1,         52,         52,        0,  1179648, 0xbd294daf
+0,         53,         53,        0,  1179648, 0x6005c976
+1,         53,         53,        0,  1179648, 0x7f311bbb
+0,         54,         54,        0,  1179648, 0x2d42f334
+1,         54,         54,        0,  1179648, 0x3bea1741
+0,         55,         55,        0,  1179648, 0xd696879d
+1,         55,         55,        0,  1179648, 0x9b3259fd
+0,         56,         56,        0,  1179648, 0x3324c463
+1,         56,         56,        0,  1179648, 0xc90f475d
+0,         57,         57,        0,  1179648, 0x824c47df
+1,         57,         57,        0,  1179648, 0x0effe63f
+0,         58,         58,        0,  1179648, 0x06abf15f
+1,         58,         58,        0,  1179648, 0x646ee426
+0,         59,         59,        0,  1179648, 0x34ef0c34
+1,         59,         59,        0,  1179648, 0x0fe901c7
+0,         60,         60,        0,  1179648, 0x54a6ef58
+1,         60,         60,        0,  1179648, 0xb726f458
+0,         61,         61,        0,  1179648, 0x4e9c7db9
+1,         61,         61,        0,  1179648, 0xf28adc7e
+0,         62,         62,        0,  1179648, 0x70887af9
+1,         62,         62,        0,  1179648, 0x00258e2f
+0,         63,         63,        0,  1179648, 0x661779d7
+1,         63,         63,        0,  1179648, 0x4598b8f7
diff --git a/tests/ref/fate/hevc-conformance-MVHEVCS_E b/tests/ref/fate/hevc-conformance-MVHEVCS_E
new file mode 100644
index 0000000000..19a4a3e863
--- /dev/null
+++ b/tests/ref/fate/hevc-conformance-MVHEVCS_E
@@ -0,0 +1,106 @@ 
+#tb 0: 1/1200000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 1024x768
+#sar 0: 0/1
+#tb 1: 1/1200000
+#media_type 1: video
+#codec_id 1: rawvideo
+#dimensions 1: 1024x768
+#sar 1: 0/1
+0,          0,          0,        0,  1179648, 0x4a15620e
+1,          0,          0,        0,  1179648, 0x5b752453
+0,          1,          1,        0,  1179648, 0xb33277fe
+1,          1,          1,        0,  1179648, 0xacf4376d
+0,          2,          2,        0,  1179648, 0x97b969bd
+1,          2,          2,        0,  1179648, 0xa9d6e75d
+0,          3,          3,        0,  1179648, 0x3c6b7b81
+1,          3,          3,        0,  1179648, 0x2142cc59
+0,          4,          4,        0,  1179648, 0xdf83fe63
+1,          4,          4,        0,  1179648, 0x838d4f0a
+0,          5,          5,        0,  1179648, 0x93fc3bdf
+1,          5,          5,        0,  1179648, 0x29bc71c2
+0,          6,          6,        0,  1179648, 0x18f90aa3
+1,          6,          6,        0,  1179648, 0x3b25ee18
+0,          7,          7,        0,  1179648, 0x84c730c5
+1,          7,          7,        0,  1179648, 0x60ecae5b
+0,          8,          8,        0,  1179648, 0x7b49f2b1
+1,          8,          8,        0,  1179648, 0x8c3c635e
+0,          9,          9,        0,  1179648, 0x60956482
+1,          9,          9,        0,  1179648, 0x8f4cb379
+0,         10,         10,        0,  1179648, 0x7af31124
+1,         10,         10,        0,  1179648, 0x398fec3c
+0,         11,         11,        0,  1179648, 0xf56c7994
+1,         11,         11,        0,  1179648, 0xced70ad2
+0,         12,         12,        0,  1179648, 0x1fbd6730
+1,         12,         12,        0,  1179648, 0x4d85d789
+0,         13,         13,        0,  1179648, 0xf986b387
+1,         13,         13,        0,  1179648, 0xca3a70ea
+0,         14,         14,        0,  1179648, 0xe3d5f7c5
+1,         14,         14,        0,  1179648, 0xcda13236
+0,         15,         15,        0,  1179648, 0xc646c7d1
+1,         15,         15,        0,  1179648, 0xe64a93c3
+0,         16,         16,        0,  1179648, 0xed69e4bc
+1,         16,         16,        0,  1179648, 0x4426cbae
+0,         17,         17,        0,  1179648, 0xaea6e7da
+1,         17,         17,        0,  1179648, 0x544d045f
+0,         18,         18,        0,  1179648, 0xbde3196f
+1,         18,         18,        0,  1179648, 0x62b07e2a
+0,         19,         19,        0,  1179648, 0x86beaf83
+1,         19,         19,        0,  1179648, 0x4ae8ac0e
+0,         20,         20,        0,  1179648, 0xe162f75d
+1,         20,         20,        0,  1179648, 0x092cad19
+0,         21,         21,        0,  1179648, 0xee24e674
+1,         21,         21,        0,  1179648, 0x8eab2b13
+0,         22,         22,        0,  1179648, 0xe887594a
+1,         22,         22,        0,  1179648, 0x71fa0330
+0,         23,         23,        0,  1179648, 0x34a281d4
+1,         23,         23,        0,  1179648, 0xb0924dbb
+0,         24,         24,        0,  1179648, 0x7ec4e840
+1,         24,         24,        0,  1179648, 0x895d98be
+0,         25,         25,        0,  1179648, 0xd89577ca
+1,         25,         25,        0,  1179648, 0xd91c1ea6
+0,         26,         26,        0,  1179648, 0xdc6e9c96
+1,         26,         26,        0,  1179648, 0x1b4c5dee
+0,         27,         27,        0,  1179648, 0x51add2ea
+1,         27,         27,        0,  1179648, 0x88c1a214
+0,         28,         28,        0,  1179648, 0x2fc19963
+1,         28,         28,        0,  1179648, 0x5861006d
+0,         29,         29,        0,  1179648, 0x32243191
+1,         29,         29,        0,  1179648, 0xd4ed787c
+0,         30,         30,        0,  1179648, 0xb7e2a2d8
+1,         30,         30,        0,  1179648, 0x1911a0e0
+0,         31,         31,        0,  1179648, 0x81662c81
+1,         31,         31,        0,  1179648, 0x5a37d3db
+0,         32,         32,        0,  1179648, 0x4e12d459
+1,         32,         32,        0,  1179648, 0x05d5a5a9
+0,         33,         33,        0,  1179648, 0x1dc706da
+1,         33,         33,        0,  1179648, 0x59f898f8
+0,         34,         34,        0,  1179648, 0x585dd375
+1,         34,         34,        0,  1179648, 0x7aa2fa66
+0,         35,         35,        0,  1179648, 0x24f7efb1
+1,         35,         35,        0,  1179648, 0x868149ad
+0,         36,         36,        0,  1179648, 0xf56aa128
+1,         36,         36,        0,  1179648, 0x4c0a3019
+0,         37,         37,        0,  1179648, 0x1b87470b
+1,         37,         37,        0,  1179648, 0x94bea701
+0,         38,         38,        0,  1179648, 0x368f745f
+1,         38,         38,        0,  1179648, 0xf6c2b923
+0,         39,         39,        0,  1179648, 0xf0e62ce7
+1,         39,         39,        0,  1179648, 0xcc7c08c4
+0,         40,         40,        0,  1179648, 0xfc66a8a2
+1,         40,         40,        0,  1179648, 0x21afffac
+0,         41,         41,        0,  1179648, 0xd136f02f
+1,         41,         41,        0,  1179648, 0x0339f774
+0,         42,         42,        0,  1179648, 0x370dec8e
+1,         42,         42,        0,  1179648, 0x6a66793e
+0,         43,         43,        0,  1179648, 0x5e4de669
+1,         43,         43,        0,  1179648, 0x17f5ae53
+0,         44,         44,        0,  1179648, 0xc0f0e971
+1,         44,         44,        0,  1179648, 0xa741e3bf
+0,         45,         45,        0,  1179648, 0x88315d92
+1,         45,         45,        0,  1179648, 0xa7895cc1
+0,         46,         46,        0,  1179648, 0x1c4eb46c
+1,         46,         46,        0,  1179648, 0x0228cf31
+0,         47,         47,        0,  1179648, 0x30384288
+1,         47,         47,        0,  1179648, 0x870f2d06
diff --git a/tests/ref/fate/hevc-conformance-MVHEVCS_F b/tests/ref/fate/hevc-conformance-MVHEVCS_F
new file mode 100644
index 0000000000..3770354413
--- /dev/null
+++ b/tests/ref/fate/hevc-conformance-MVHEVCS_F
@@ -0,0 +1,106 @@ 
+#tb 0: 1/1200000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 1024x768
+#sar 0: 0/1
+#tb 1: 1/1200000
+#media_type 1: video
+#codec_id 1: rawvideo
+#dimensions 1: 1024x768
+#sar 1: 0/1
+0,          0,          0,        0,  1179648, 0x4a15620e
+1,          0,          0,        0,  1179648, 0x5b752453
+0,          1,          1,        0,  1179648, 0x568f99cf
+1,          1,          1,        0,  1179648, 0xacf4376d
+0,          2,          2,        0,  1179648, 0xea67491c
+1,          2,          2,        0,  1179648, 0xa9d6e75d
+0,          3,          3,        0,  1179648, 0x57ed0a7f
+1,          3,          3,        0,  1179648, 0x2142cc59
+0,          4,          4,        0,  1179648, 0x5b218d68
+1,          4,          4,        0,  1179648, 0x838d4f0a
+0,          5,          5,        0,  1179648, 0x8075c0c0
+1,          5,          5,        0,  1179648, 0x29bc71c2
+0,          6,          6,        0,  1179648, 0x75e0bb9f
+1,          6,          6,        0,  1179648, 0x3b25ee18
+0,          7,          7,        0,  1179648, 0xaef237d0
+1,          7,          7,        0,  1179648, 0x60ecae5b
+0,          8,          8,        0,  1179648, 0x9943126a
+1,          8,          8,        0,  1179648, 0x8c3c635e
+0,          9,          9,        0,  1179648, 0x3c8bbac8
+1,          9,          9,        0,  1179648, 0x8f4cb379
+0,         10,         10,        0,  1179648, 0xad824cae
+1,         10,         10,        0,  1179648, 0x398fec3c
+0,         11,         11,        0,  1179648, 0x3c156c58
+1,         11,         11,        0,  1179648, 0xced70ad2
+0,         12,         12,        0,  1179648, 0x18261259
+1,         12,         12,        0,  1179648, 0x4d85d789
+0,         13,         13,        0,  1179648, 0xd481dafa
+1,         13,         13,        0,  1179648, 0xca3a70ea
+0,         14,         14,        0,  1179648, 0x6a0d3af8
+1,         14,         14,        0,  1179648, 0xcda13236
+0,         15,         15,        0,  1179648, 0xaa355e8f
+1,         15,         15,        0,  1179648, 0xe64a93c3
+0,         16,         16,        0,  1179648, 0xed69e4bc
+1,         16,         16,        0,  1179648, 0x4426cbae
+0,         17,         17,        0,  1179648, 0x340d6c4a
+1,         17,         17,        0,  1179648, 0x544d045f
+0,         18,         18,        0,  1179648, 0xd52398d0
+1,         18,         18,        0,  1179648, 0x62b07e2a
+0,         19,         19,        0,  1179648, 0x39d92b93
+1,         19,         19,        0,  1179648, 0x4ae8ac0e
+0,         20,         20,        0,  1179648, 0x364fd94f
+1,         20,         20,        0,  1179648, 0x092cad19
+0,         21,         21,        0,  1179648, 0x977cabf5
+1,         21,         21,        0,  1179648, 0x8eab2b13
+0,         22,         22,        0,  1179648, 0x23febfaf
+1,         22,         22,        0,  1179648, 0x71fa0330
+0,         23,         23,        0,  1179648, 0xd7e5afa0
+1,         23,         23,        0,  1179648, 0xb0924dbb
+0,         24,         24,        0,  1179648, 0x83799fed
+1,         24,         24,        0,  1179648, 0x895d98be
+0,         25,         25,        0,  1179648, 0xaec7466c
+1,         25,         25,        0,  1179648, 0xd91c1ea6
+0,         26,         26,        0,  1179648, 0x4c4de340
+1,         26,         26,        0,  1179648, 0x1b4c5dee
+0,         27,         27,        0,  1179648, 0x1c8c5bf6
+1,         27,         27,        0,  1179648, 0x88c1a214
+0,         28,         28,        0,  1179648, 0xc980311c
+1,         28,         28,        0,  1179648, 0x5861006d
+0,         29,         29,        0,  1179648, 0xb55dbf43
+1,         29,         29,        0,  1179648, 0xd4ed787c
+0,         30,         30,        0,  1179648, 0xbc29868a
+1,         30,         30,        0,  1179648, 0x1911a0e0
+0,         31,         31,        0,  1179648, 0x3d1dfc87
+1,         31,         31,        0,  1179648, 0x5a37d3db
+0,         32,         32,        0,  1179648, 0x4e12d459
+1,         32,         32,        0,  1179648, 0x05d5a5a9
+0,         33,         33,        0,  1179648, 0xb4eb0d99
+1,         33,         33,        0,  1179648, 0x59f898f8
+0,         34,         34,        0,  1179648, 0x1d91ae23
+1,         34,         34,        0,  1179648, 0x7aa2fa66
+0,         35,         35,        0,  1179648, 0x0adf2e05
+1,         35,         35,        0,  1179648, 0x868149ad
+0,         36,         36,        0,  1179648, 0x947e48dd
+1,         36,         36,        0,  1179648, 0x4c0a3019
+0,         37,         37,        0,  1179648, 0xb7dddffd
+1,         37,         37,        0,  1179648, 0x94bea701
+0,         38,         38,        0,  1179648, 0x027f1113
+1,         38,         38,        0,  1179648, 0xf6c2b923
+0,         39,         39,        0,  1179648, 0xc2a0afa2
+1,         39,         39,        0,  1179648, 0xcc7c08c4
+0,         40,         40,        0,  1179648, 0xd12a6bc0
+1,         40,         40,        0,  1179648, 0x21afffac
+0,         41,         41,        0,  1179648, 0xf8f5d7ee
+1,         41,         41,        0,  1179648, 0x0339f774
+0,         42,         42,        0,  1179648, 0xa7e5fd01
+1,         42,         42,        0,  1179648, 0x6a66793e
+0,         43,         43,        0,  1179648, 0xe9aee64d
+1,         43,         43,        0,  1179648, 0x17f5ae53
+0,         44,         44,        0,  1179648, 0x989fc660
+1,         44,         44,        0,  1179648, 0xa741e3bf
+0,         45,         45,        0,  1179648, 0x43e1d4d0
+1,         45,         45,        0,  1179648, 0xa7895cc1
+0,         46,         46,        0,  1179648, 0x38be7f17
+1,         46,         46,        0,  1179648, 0x0228cf31
+0,         47,         47,        0,  1179648, 0xd867c854
+1,         47,         47,        0,  1179648, 0x870f2d06