From a8bae9b18d1c334bd027a7551eb1e9f170a40fc5 Mon Sep 17 00:00:00 2001 From: Mark Thompson Date: Sun, 27 Apr 2025 18:53:35 +0100 Subject: [PATCH] fate: Add test for APV 422-10 profile Bitstream generated using the reference encoder, then edited to fix the colour description and an extra metadata block added. FFmpeg decoder output is identical to the reference decoder output. The content used is the first three frames of "Waterfall" from the SVT Open Content Video Test Suite 2022. This is copyright Sveriges Television AB and is used under the Creative Commons Attribution 4.0 International License. --- tests/Makefile | 1 + tests/fate/apv.mak | 7 +++++++ tests/ref/fate/apv-422-10 | 8 ++++++++ 3 files changed, 16 insertions(+) create mode 100644 tests/fate/apv.mak create mode 100644 tests/ref/fate/apv-422-10 diff --git a/tests/Makefile b/tests/Makefile index 10871f28f8..c204331020 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -156,6 +156,7 @@ include $(SRC_PATH)/tests/fate/amrnb.mak include $(SRC_PATH)/tests/fate/amrwb.mak include $(SRC_PATH)/tests/fate/api.mak include $(SRC_PATH)/tests/fate/apng.mak +include $(SRC_PATH)/tests/fate/apv.mak include $(SRC_PATH)/tests/fate/atrac.mak include $(SRC_PATH)/tests/fate/audio.mak include $(SRC_PATH)/tests/fate/bmp.mak diff --git a/tests/fate/apv.mak b/tests/fate/apv.mak new file mode 100644 index 0000000000..37e0b9f7be --- /dev/null +++ b/tests/fate/apv.mak @@ -0,0 +1,7 @@ +FATE_APV = fate-apv-422-10 + +FATE_SAMPLES_FFMPEG-$(call FRAMECRC, APV, APV, SCALE_FILTER) += $(FATE_APV) + +fate-apv: $(FATE_APV) + +fate-apv-422-10: CMD = framecrc -i $(TARGET_SAMPLES)/apv/profile_422-10.apv -pix_fmt yuv422p10le -vf scale diff --git a/tests/ref/fate/apv-422-10 b/tests/ref/fate/apv-422-10 new file mode 100644 index 0000000000..d000751207 --- /dev/null +++ b/tests/ref/fate/apv-422-10 @@ -0,0 +1,8 @@ +#tb 0: 1/30 +#media_type 0: video +#codec_id 0: rawvideo +#dimensions 0: 320x180 +#sar 0: 1/1 +0, 0, 0, 1, 230400, 0x07f1e56d +0, 1, 1, 1, 230400, 0x0bd1c913 +0, 2, 2, 1, 230400, 0xefd02824