History

tests/fate/hevc: add a test for nontrivial values of nuh_layer_id

Typical files use 0 for the base layer and 1 for the secondary one, but any value for the secondary layer should be supported.

Anton Khirnov committed 2 years ago

Commit b15af981 parent 7d4c15c2 files · +19 −0Browse files

Unified · Split

2 files
  1. tests/fate/hevc.mak +4 −0
  2. tests/ref/fate/hevc-mv-nuh-layer-id +15 −0
tests/fate/hevc.mak+4−0
@@ -272,6 +272,10 @@ FATE_HEVC-$(call FRAMECRC, HEVC, HEVC, HEVC_PARSER SCALE_FILTER) += fate-hevc-sm · 271 unmodified lines
272272 fate-hevc-pir: CMD = framecrc -i $(TARGET_SAMPLES)/hevc/pir.hevc
273273 FATE_HEVC-$(call FRAMECRC, HEVC, HEVC) += fate-hevc-pir
274274
275+# multiview stream, where the secondary layer has a nontrivial nuh_layer_id=6
276+fate-hevc-mv-nuh-layer-id: CMD = framecrc -i $(TARGET_SAMPLES)/hevc/mv_nuh_layer_id.bit -map 0:view:all
277+FATE_HEVC-$(call FRAMECRC, HEVC, HEVC) += fate-hevc-mv-nuh-layer-id
278+
275279 FATE_SAMPLES_AVCONV += $(FATE_HEVC-yes)
276280 FATE_SAMPLES_FFPROBE += $(FATE_HEVC_FFPROBE-yes)
277281
tests/ref/fate/hevc-mv-nuh-layer-id+15−0
@@ -0,0 +1,15 @@
1+#tb 0: 1/25
2+#media_type 0: video
3+#codec_id 0: rawvideo
4+#dimensions 0: 128x128
5+#sar 0: 0/1
6+0, 0, 0, 1, 24576, 0xdfd350a6
7+0, 1, 1, 1, 24576, 0xf8f638da
8+0, 2, 2, 1, 24576, 0x8ac574d5
9+0, 3, 3, 1, 24576, 0xd22675a4
10+0, 4, 4, 1, 24576, 0xdd0f4704
11+0, 5, 5, 1, 24576, 0x60da42e6
12+0, 6, 6, 1, 24576, 0x8bf28fdd
13+0, 7, 7, 1, 24576, 0xe0577f6e
14+0, 8, 8, 1, 24576, 0x8b3e3c29
15+0, 9, 9, 1, 24576, 0x8d9944bd

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