diff options
author | James Almer <jamrial@gmail.com> | 2023-06-29 13:33:26 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2023-06-30 08:26:38 -0300 |
commit | 3fd7841ef1ecedf494b69b1bcb17fcf46450f17f (patch) | |
tree | e430c8abf05b98d86c546931557c04b5e7970392 /tests/fate | |
parent | 995976750a18c0d0ab92f8da6c40f02a4faa1798 (diff) | |
download | ffmpeg-3fd7841ef1ecedf494b69b1bcb17fcf46450f17f.tar.gz |
fate/cbs: add VVC tests
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'tests/fate')
-rw-r--r-- | tests/fate/cbs.mak | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/tests/fate/cbs.mak b/tests/fate/cbs.mak index 0084c3d25c..344515a7fa 100644 --- a/tests/fate/cbs.mak +++ b/tests/fate/cbs.mak @@ -5,6 +5,7 @@ fate-cbs: fate-cbs-av1 fate-cbs-h264 fate-cbs-hevc fate-cbs-mpeg2 fate-cbs-vp9 FATE_CBS_DEPS = $(call ALLYES, $(1)_DEMUXER $(2)_PARSER $(3)_METADATA_BSF $(4)_DECODER $(5)_MUXER) +FATE_CBS_NO_DEC_DEPS = $(call ALLYES, $(1)_DEMUXER $(2)_PARSER $(3)_METADATA_BSF $(4)_MUXER) define FATE_CBS_TEST # (codec, test_name, sample_file, output_format) @@ -12,6 +13,12 @@ FATE_CBS_$(1) += fate-cbs-$(1)-$(2) fate-cbs-$(1)-$(2): CMD = md5 -c:v $(3) -i $(TARGET_SAMPLES)/$(4) -c:v copy -y -bsf:v $(1)_metadata -f $(5) endef +define FATE_CBS_NO_DEC_TEST +# (codec, test_name, sample_file, output_format) +FATE_CBS_$(1) += fate-cbs-$(1)-$(2) +fate-cbs-$(1)-$(2): CMD = md5 -i $(TARGET_SAMPLES)/$(3) -c:v copy -y -bsf:v $(1)_metadata -f $(4) +endef + define FATE_CBS_DISCARD_TEST # (codec, discard_type, sample_file, output_format, dep) FATE_CBS_$(1)_DISCARD += fate-cbs-$(1)-discard-$(2) @@ -163,6 +170,39 @@ FATE_CBS_HEVC-$(call ALLYES, MP4_MUXER, HEVC_PARSER, FILTER_UNITS_BSF, HEVC_MUXE FATE_SAMPLES_AVCONV += $(FATE_CBS_HEVC-yes) fate-cbs-hevc: $(FATE_CBS_HEVC-yes) +# H.266 read/write + +FATE_CBS_VVC_SAMPLES = \ + AUD_A_3.bit \ + BOUNDARY_A_3.bit \ + BUMP_A_2.bit \ + CodingToolsSets_A_2.bit \ + CROP_B_4.bit \ + HRD_A_3.bit \ + PHSH_B_1.bit \ + POC_A_1.bit \ + PPS_B_1.bit \ + RAP_A_1.bit \ + SAO_A_3.bit \ + SCALING_A_1.bit \ + SLICES_A_3.bit \ + SPS_B_1.bit \ + STILL_B_1.bit \ + SUBPIC_A_3.bit \ + TILE_A_2.bit \ + VPS_A_3.bit \ + WP_A_3.bit \ + WPP_A_3.bit \ + WRAP_A_4.bit \ + + +$(foreach N,$(FATE_CBS_VVC_SAMPLES),$(eval $(call FATE_CBS_NO_DEC_TEST,vvc,$(basename $(N)),vvc-conformance/$(N),vvc))) + +FATE_CBS_VVC-$(call FATE_CBS_NO_DEC_DEPS, HEVC, HEVC, HEVC, HEVC) = $(FATE_CBS_vvc) + +FATE_SAMPLES_AVCONV += $(FATE_CBS_VVC-yes) +fate-cbs-vvc: $(FATE_CBS_VVC-yes) + # MPEG-2 read/write FATE_CBS_MPEG2_SAMPLES = \ |