History

tests/fate/hevc: add a test for switching between single and multi-view

Anton Khirnov committed 2 years ago

Commit eca95dc1 parent b15af982 files · +182 −0Browse files

Unified · Split

2 files
  1. tests/fate/hevc.mak +10 −0
  2. tests/ref/fate/hevc-mv-switch +172 −0
tests/fate/hevc.mak+10−0
@@ -276,6 +276,16 @@ FATE_HEVC-$(call FRAMECRC, HEVC, HEVC) += fate-hevc-pir · 275 unmodified lines
276276 fate-hevc-mv-nuh-layer-id: CMD = framecrc -i $(TARGET_SAMPLES)/hevc/mv_nuh_layer_id.bit -map 0:view:all
277277 FATE_HEVC-$(call FRAMECRC, HEVC, HEVC) += fate-hevc-mv-nuh-layer-id
278278
279+# NB: $\ at the end of line joins lines without adding whitespace;
280+# this trick is recommended by GNU make manual
281+fate-hevc-mv-switch: INPUT = \
282+$(TARGET_SAMPLES)/hevc-conformance/LS_A_Orange_2.bit|$\
283+$(TARGET_SAMPLES)/hevc/mv_nuh_layer_id.bit|$\
284+$(TARGET_SAMPLES)/hevc-conformance/NoOutPrior_B_Qualcomm_1.bit|$\
285+$(TARGET_SAMPLES)/hevc-conformance/MVHEVCS_A.bit
286+fate-hevc-mv-switch: CMD = framecrc -i "concat:$(INPUT)" -fps_mode passthrough -map 0:vidx:0 -map 0:vidx:1
287+FATE_HEVC-$(call FRAMECRC, HEVC, HEVC, CONCAT_PROTOCOL) += fate-hevc-mv-switch
288+
279289 FATE_SAMPLES_AVCONV += $(FATE_HEVC-yes)
280290 FATE_SAMPLES_FFPROBE += $(FATE_HEVC_FFPROBE-yes)
281291
tests/ref/fate/hevc-mv-switch+172−0
@@ -0,0 +1,172 @@
1+#tb 0: 1/25
2+#media_type 0: video
3+#codec_id 0: rawvideo
4+#dimensions 0: 416x240
5+#sar 0: 0/1
6+#tb 1: 1/25
7+#media_type 1: video
8+#codec_id 1: rawvideo
9+#dimensions 1: 128x128
10+#sar 1: 0/1
11+0, 0, 0, 1, 149760, 0x94a51701
12+0, 1, 1, 1, 149760, 0x67c71885
13+0, 2, 2, 1, 149760, 0x218f1751
14+0, 3, 3, 1, 149760, 0x56951bef
15+0, 4, 4, 1, 149760, 0x76aec81e
16+0, 5, 5, 1, 149760, 0x20df61ac
17+0, 6, 6, 1, 149760, 0x2eacf616
18+0, 7, 7, 1, 149760, 0x06322ce2
19+0, 8, 8, 1, 149760, 0xf14aa104
20+0, 9, 9, 1, 149760, 0xc948dcba
21+1, 10, 10, 1, 24576, 0xf8f638da
22+0, 11, 11, 1, 149760, 0x674e34b1
23+1, 12, 12, 1, 24576, 0xd22675a4
24+0, 13, 13, 1, 149760, 0x41d3acd6
25+1, 14, 14, 1, 24576, 0x60da42e6
26+0, 15, 15, 1, 149760, 0x55a5b835
27+1, 16, 16, 1, 24576, 0xe0577f6e
28+0, 17, 17, 1, 149760, 0xc6958049
29+1, 18, 18, 1, 24576, 0x8d9944bd
30+0, 19, 19, 1, 149760, 0x94b37050
31+0, 20, 20, 1, 149760, 0xed72a560
32+0, 21, 21, 1, 149760, 0xd0ccac61
33+0, 22, 22, 1, 149760, 0x6cc2d7fa
34+0, 23, 23, 1, 149760, 0x3a02b5ba
35+0, 24, 24, 1, 149760, 0xce7ef09c
36+0, 25, 25, 1, 149760, 0xa518fc05
37+0, 26, 26, 1, 149760, 0x01d238fe
38+0, 27, 27, 1, 149760, 0x5f5012fa
39+0, 28, 28, 1, 149760, 0x5b8e7405
40+0, 29, 29, 1, 149760, 0xcc2e5b33
41+0, 30, 30, 1, 149760, 0x590a6890
42+0, 31, 31, 1, 149760, 0x9c7b189f
43+0, 32, 32, 1, 149760, 0xd0752ef4
44+0, 33, 33, 1, 149760, 0x367513ce
45+0, 34, 34, 1, 149760, 0xb64c209d
46+0, 35, 35, 1, 149760, 0x6e50994c
47+0, 36, 36, 1, 149760, 0x8276cce4
48+0, 37, 37, 1, 149760, 0xb292ac8f
49+0, 38, 38, 1, 149760, 0x57de9d2c
50+0, 39, 39, 1, 149760, 0xe8533f38
51+0, 40, 40, 1, 149760, 0xde9b536d
52+0, 41, 41, 1, 149760, 0x83173b1d
53+0, 42, 42, 1, 149760, 0x853a83a4
54+0, 43, 43, 1, 149760, 0x481af1bf
55+0, 44, 44, 1, 149760, 0x27221abb
56+0, 45, 45, 1, 149760, 0x094eac00
57+0, 46, 46, 1, 149760, 0x3f3a27c8
58+0, 47, 47, 1, 149760, 0x8f19b2af
59+0, 48, 48, 1, 149760, 0x93e7e591
60+0, 49, 49, 1, 149760, 0x0c531ab8
61+0, 50, 50, 1, 149760, 0x3456ef8a
62+0, 51, 51, 1, 149760, 0xfee2ec1e
63+0, 52, 52, 1, 149760, 0x76b4b750
64+0, 53, 53, 1, 149760, 0xa48bb670
65+0, 54, 54, 1, 149760, 0x3dee7cac
66+0, 55, 55, 1, 149760, 0x2b20561d
67+0, 56, 56, 1, 149760, 0xd3c5bf9f
68+0, 57, 57, 1, 149760, 0x2e87d747
69+0, 58, 58, 1, 149760, 0x9952760b
70+0, 59, 59, 1, 149760, 0xa3f5cbda
71+0, 60, 60, 1, 149760, 0x56e3f94d
72+0, 61, 61, 1, 149760, 0x902f743f
73+0, 62, 62, 1, 149760, 0xeffcfd85
74+0, 63, 63, 1, 149760, 0xe7fc31b2
75+0, 64, 64, 1, 149760, 0x2e876286
76+0, 65, 65, 1, 149760, 0x6358b0b2
77+0, 66, 66, 1, 149760, 0x3e569a4d
78+1, 67, 67, 1, 24576, 0xa18c481f
79+0, 68, 68, 1, 149760, 0x641cbce0
80+1, 69, 69, 1, 24576, 0x9ee94df2
81+0, 70, 70, 1, 149760, 0x0357d35c
82+1, 71, 71, 1, 24576, 0x60c55365
83+0, 72, 72, 1, 149760, 0xe9b5b077
84+1, 73, 73, 1, 24576, 0x8951536a
85+0, 74, 74, 1, 149760, 0x3b9c605f
86+1, 75, 75, 1, 24576, 0xfea04ba5
87+0, 76, 76, 1, 149760, 0x16d7028b
88+1, 77, 77, 1, 24576, 0x78094226
89+0, 78, 78, 1, 149760, 0xf4896eff
90+1, 79, 79, 1, 24576, 0xacf9314e
91+0, 80, 80, 1, 149760, 0xc90de4b9
92+1, 81, 81, 1, 24576, 0x6a6b1c87
93+0, 82, 82, 1, 149760, 0x2ec258ad
94+1, 83, 83, 1, 24576, 0x9f360661
95+0, 84, 84, 1, 149760, 0x3bf720ef
96+1, 85, 85, 1, 24576, 0x52e80514
97+0, 86, 86, 1, 149760, 0x67eab73f
98+1, 87, 87, 1, 24576, 0xe10df48c
99+0, 88, 88, 1, 149760, 0x020e17ce
100+1, 89, 89, 1, 24576, 0x71fbdd03
101+0, 90, 90, 1, 149760, 0xcd677640
102+1, 91, 91, 1, 24576, 0x1d08c3f6
103+0, 92, 92, 1, 149760, 0x194cfbc1
104+1, 93, 93, 1, 24576, 0x4b93b6ca
105+0, 94, 94, 1, 149760, 0x740f6261
106+1, 95, 95, 1, 24576, 0x0dea9c12
107+0, 96, 96, 1, 149760, 0x104b3175
108+1, 97, 97, 1, 24576, 0x195a92da
109+0, 98, 98, 1, 149760, 0xc8fd17d1
110+1, 99, 99, 1, 24576, 0x55dd870b
111+0, 100, 100, 1, 149760, 0x6f4e7787
112+1, 101, 101, 1, 24576, 0x7e6b905b
113+0, 102, 102, 1, 149760, 0xe853418e
114+1, 103, 103, 1, 24576, 0x0f3fad1d
115+0, 104, 104, 1, 149760, 0x3dba3e4e
116+1, 105, 105, 1, 24576, 0xe724d536
117+0, 106, 106, 1, 149760, 0xba0b4c38
118+1, 107, 107, 1, 24576, 0xb212fed4
119+0, 108, 108, 1, 149760, 0x28f8ef1d
120+1, 109, 109, 1, 24576, 0x3bb423ce
121+0, 110, 110, 1, 149760, 0xb5d92e4e
122+1, 111, 111, 1, 24576, 0x20f432db
123+0, 112, 112, 1, 149760, 0xbaa0d0a2
124+1, 113, 113, 1, 24576, 0x27412981
125+0, 114, 114, 1, 149760, 0x0acde200
126+1, 115, 115, 1, 24576, 0xb7f70143
127+0, 116, 116, 1, 149760, 0x7388aad3
128+1, 117, 117, 1, 24576, 0xf31acffb
129+0, 118, 118, 1, 149760, 0xbac95723
130+1, 119, 119, 1, 24576, 0x283d8c2c
131+0, 120, 120, 1, 149760, 0x7633d4af
132+1, 121, 121, 1, 24576, 0x9fb08184
133+0, 122, 122, 1, 149760, 0x836e54fc
134+1, 123, 123, 1, 24576, 0x09696ad1
135+0, 124, 124, 1, 149760, 0x49096e63
136+1, 125, 125, 1, 24576, 0x034e69c2
137+0, 126, 126, 1, 149760, 0x98e14158
138+1, 127, 127, 1, 24576, 0x1ce4882c
139+0, 128, 128, 1, 149760, 0x955a43e4
140+1, 129, 129, 1, 24576, 0x490fda13
141+0, 130, 130, 1, 149760, 0x3a76c087
142+1, 131, 131, 1, 24576, 0x4c2e1c09
143+0, 132, 132, 1, 149760, 0xa221e763
144+1, 133, 133, 1, 24576, 0x82dd5f8b
145+0, 134, 134, 1, 149760, 0x1eb33f17
146+1, 135, 135, 1, 24576, 0xcfb07d6b
147+0, 136, 136, 1, 149760, 0x13ef3914
148+1, 137, 137, 1, 24576, 0xef468129
149+0, 138, 138, 1, 149760, 0x2521b880
150+1, 139, 139, 1, 24576, 0x24c970fa
151+0, 140, 140, 1, 149760, 0x78a4faf0
152+1, 141, 141, 1, 24576, 0x6df14e99
153+0, 142, 142, 1, 149760, 0xc5f71d65
154+1, 143, 143, 1, 24576, 0x78f44854
155+0, 144, 144, 1, 149760, 0x5dbc0a9f
156+1, 145, 145, 1, 24576, 0x5a7269fd
157+0, 146, 146, 1, 149760, 0x8ebfd7c3
158+1, 147, 147, 1, 24576, 0xb1fd8924
159+0, 148, 148, 1, 149760, 0xb45f0581
160+1, 149, 149, 1, 24576, 0xa165b829
161+0, 150, 150, 1, 149760, 0x3b84540b
162+1, 151, 151, 1, 24576, 0x694cf0e5
163+0, 152, 152, 1, 149760, 0xec921f35
164+1, 153, 153, 1, 24576, 0x2fef157b
165+0, 154, 154, 1, 149760, 0x7b23826a
166+1, 155, 155, 1, 24576, 0x62ea25dd
167+0, 156, 156, 1, 149760, 0x518d1f11
168+1, 157, 157, 1, 24576, 0xfc02365e
169+0, 158, 158, 1, 149760, 0xc5e694a4
170+1, 159, 159, 1, 24576, 0x073b3ebd
171+0, 160, 160, 1, 149760, 0xeb79c961
172+1, 161, 161, 1, 24576, 0x5ee13be2

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t