[FFmpeg-devel] [PATCH v2] fate: Add test for APV 400-10 profile

Mark Thompson sw at jkqxz.net
Sun May 11 16:44:15 EEST 2025


Same setup as the 422-10 profile test, using the same content.  FFmpeg
decoder output is identical to the reference decoder output.
---
On 11/05/2025 14:40, James Almer wrote:
> Will upload.

Thank you!

> Missing the reference file.

Oops, updated.

Thanks,

- Mark

 tests/fate/apv.mak        | 4 +++-
 tests/ref/fate/apv-400-10 | 8 ++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)
 create mode 100644 tests/ref/fate/apv-400-10

diff --git a/tests/fate/apv.mak b/tests/fate/apv.mak
index 37e0b9f7be..ede66454e5 100644
--- a/tests/fate/apv.mak
+++ b/tests/fate/apv.mak
@@ -1,7 +1,9 @@
-FATE_APV = fate-apv-422-10
+FATE_APV = fate-apv-422-10 fate-apv-400-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
+
+fate-apv-400-10:	CMD = framecrc -i $(TARGET_SAMPLES)/apv/profile_400-10.apv -pix_fmt gray10le -vf scale
diff --git a/tests/ref/fate/apv-400-10 b/tests/ref/fate/apv-400-10
new file mode 100644
index 0000000000..eb08c05e08
--- /dev/null
+++ b/tests/ref/fate/apv-400-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,   115200, 0xa6eb8147
+0,          1,          1,        1,   115200, 0x1097b61b
+0,          2,          2,        1,   115200, 0x909f9c4b
-- 
2.47.2



More information about the ffmpeg-devel mailing list