aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Thompson <sw@jkqxz.net>2025-04-27 18:53:35 +0100
committerMark Thompson <sw@jkqxz.net>2025-04-30 22:57:56 +0100
commita8bae9b18d1c334bd027a7551eb1e9f170a40fc5 (patch)
tree5a5491cb65f1cd3b477904217f734a3ee01c0b31
parent585455f7b3270b389b0b8a751562d42b0e4769fb (diff)
downloadffmpeg-a8bae9b18d1c334bd027a7551eb1e9f170a40fc5.tar.gz
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.
-rw-r--r--tests/Makefile1
-rw-r--r--tests/fate/apv.mak7
-rw-r--r--tests/ref/fate/apv-422-108
3 files changed, 16 insertions, 0 deletions
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