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
2# arguments, it decomposes the stream fully and then recomposes it2# arguments, it decomposes the stream fully and then recomposes it
3# without making any changes.3# without making any changes.
4 4
5fate-cbs: fate-cbs-av1 fate-cbs-h264 fate-cbs-hevc fate-cbs-mpeg2 fate-cbs-vp9 fate-cbs-vvc5fate-cbs: fate-cbs-apv fate-cbs-av1 fate-cbs-h264 fate-cbs-hevc fate-cbs-mpeg2 fate-cbs-vp9 fate-cbs-vvc
6 6
7FATE_CBS_DEPS = $(call ALLYES, $(1)_DEMUXER $(2)_PARSER $(3)_METADATA_BSF $(4)_DECODER $(5)_MUXER)7FATE_CBS_DEPS = $(call ALLYES, $(1)_DEMUXER $(2)_PARSER $(3)_METADATA_BSF $(4)_DECODER $(5)_MUXER)
8FATE_CBS_NO_DEC_DEPS = $(call ALLYES, $(1)_DEMUXER $(1)_PARSER $(1)_METADATA_BSF $(1)_MUXER)8FATE_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
25fate-cbs-$(1)-discard-$(2): CMD = md5 -i $(TARGET_SAMPLES)/$(3) -c:v copy -y -bsf:v filter_units=discard=$(2) -f $(4)25fate-cbs-$(1)-discard-$(2): CMD = md5 -i $(TARGET_SAMPLES)/$(3) -c:v copy -y -bsf:v filter_units=discard=$(2) -f $(4)
26endef26endef
27 27
28# APV read/write
29
30FATE_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
35FATE_CBS_APV-$(call FATE_CBS_DEPS, APV, APV, APV, APV, APV) = $(FATE_CBS_apv)
36FATE_SAMPLES_AVCONV += $(FATE_CBS_APV-yes)
37fate-cbs-apv: $(FATE_CBS_APV-yes)
38
28# AV1 read/write39# AV1 read/write
29 40
30FATE_CBS_AV1_CONFORMANCE_SAMPLES = \41FATE_CBS_AV1_CONFORMANCE_SAMPLES = \
tests/ref/fate/cbs-apv-profile_422-10+1−0
@@ -0,0 +1 @@
1646c61e4e96b83146da8140c4c2a68b6

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