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
272fate-hevc-pir: CMD = framecrc -i $(TARGET_SAMPLES)/hevc/pir.hevc272fate-hevc-pir: CMD = framecrc -i $(TARGET_SAMPLES)/hevc/pir.hevc
273FATE_HEVC-$(call FRAMECRC, HEVC, HEVC) += fate-hevc-pir273FATE_HEVC-$(call FRAMECRC, HEVC, HEVC) += fate-hevc-pir
274 274
275# multiview stream, where the secondary layer has a nontrivial nuh_layer_id=6
276fate-hevc-mv-nuh-layer-id: CMD = framecrc -i $(TARGET_SAMPLES)/hevc/mv_nuh_layer_id.bit -map 0:view:all
277FATE_HEVC-$(call FRAMECRC, HEVC, HEVC) += fate-hevc-mv-nuh-layer-id
278
275FATE_SAMPLES_AVCONV += $(FATE_HEVC-yes)279FATE_SAMPLES_AVCONV += $(FATE_HEVC-yes)
276FATE_SAMPLES_FFPROBE += $(FATE_HEVC_FFPROBE-yes)280FATE_SAMPLES_FFPROBE += $(FATE_HEVC_FFPROBE-yes)
277 281
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
60, 0, 0, 1, 24576, 0xdfd350a6
70, 1, 1, 1, 24576, 0xf8f638da
80, 2, 2, 1, 24576, 0x8ac574d5
90, 3, 3, 1, 24576, 0xd22675a4
100, 4, 4, 1, 24576, 0xdd0f4704
110, 5, 5, 1, 24576, 0x60da42e6
120, 6, 6, 1, 24576, 0x8bf28fdd
130, 7, 7, 1, 24576, 0xe0577f6e
140, 8, 8, 1, 24576, 0x8b3e3c29
150, 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