History

tests/fate/cbs: add tests for APV

Ensure bitexact passthrough using the apv_metadata bsf.

James Almer committed 1 year ago

Commit 2b630371 parent c6447202 files · +13 −1Browse files

Unified · Split

2 files
  1. tests/fate/cbs.mak +12 −1
  2. tests/ref/fate/cbs-apv-profile_422-10 +1 −0
tests/fate/cbs.mak+12−1
@@ -2,7 +2,7 @@ · 1 unmodified line
22 # arguments, it decomposes the stream fully and then recomposes it
33 # without making any changes.
44
5−fate-cbs: fate-cbs-av1 fate-cbs-h264 fate-cbs-hevc fate-cbs-mpeg2 fate-cbs-vp9 fate-cbs-vvc
5+fate-cbs: fate-cbs-apv fate-cbs-av1 fate-cbs-h264 fate-cbs-hevc fate-cbs-mpeg2 fate-cbs-vp9 fate-cbs-vvc
66
77 FATE_CBS_DEPS = $(call ALLYES, $(1)_DEMUXER $(2)_PARSER $(3)_METADATA_BSF $(4)_DECODER $(5)_MUXER)
88 FATE_CBS_NO_DEC_DEPS = $(call ALLYES, $(1)_DEMUXER $(1)_PARSER $(1)_METADATA_BSF $(1)_MUXER)
@@ -25,6 +25,17 @@ FATE_CBS_$(1)_DISCARD += fate-cbs-$(1)-discard-$(2) · 16 unmodified lines
2525 fate-cbs-$(1)-discard-$(2): CMD = md5 -i $(TARGET_SAMPLES)/$(3) -c:v copy -y -bsf:v filter_units=discard=$(2) -f $(4)
2626 endef
2727
28+# APV read/write
29+
30+FATE_CBS_APV_SAMPLES = \
31+ profile_422-10.apv
32+
33+$(foreach N,$(FATE_CBS_APV_SAMPLES),$(eval $(call FATE_CBS_TEST,apv,$(basename $(N)),apv,apv/$(N),apv)))
34+
35+FATE_CBS_APV-$(call FATE_CBS_DEPS, APV, APV, APV, APV, APV) = $(FATE_CBS_apv)
36+FATE_SAMPLES_AVCONV += $(FATE_CBS_APV-yes)
37+fate-cbs-apv: $(FATE_CBS_APV-yes)
38+
2839 # AV1 read/write
2940
3041 FATE_CBS_AV1_CONFORMANCE_SAMPLES = \
tests/ref/fate/cbs-apv-profile_422-10+1−0
@@ -0,0 +1 @@
1+646c61e4e96b83146da8140c4c2a68b6

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