PR #25813 opened by ashveikin
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25813
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/25813.patch

This patch adds FATE test for the amplify filter


>From 0bb9f1fb2e65c23b950b6548d9c62e1978e92269 Mon Sep 17 00:00:00 2001
From: Aleksander Shveikin <[email protected]>
Date: Fri, 6 Nov 2026 19:09:15 +0200
Subject: [PATCH] tests/fate/filter-video: add test for amplify filter

Signed-off-by: Aleksander Shveikin <[email protected]>
---
 tests/fate/filter-video.mak   |  3 +++
 tests/ref/fate/filter-amplify | 15 +++++++++++++++
 2 files changed, 18 insertions(+)
 create mode 100644 tests/ref/fate/filter-amplify

diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index 82ab48dc68d..11aecd44b05 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -508,6 +508,9 @@ fate-filter-mpdecimate-mode-1: CMD = framecrc -lavfi 
testsrc2=r=4:d=5,fps=5,mpde
 FATE_FILTER-$(call FILTERFRAMECRC, TESTSRC2 FPS MPDECIMATE) += 
fate-filter-mpdecimate-mode-1-min-3
 fate-filter-mpdecimate-mode-1-min-3: CMD = framecrc -lavfi 
testsrc2=r=2:d=7,fps=7,mpdecimate=mode=1:min=3 -pix_fmt yuv420p
 
+FATE_FILTER-$(call FILTERFRAMECRC, TESTSRC2 AMPLIFY) += fate-filter-amplify
+fate-filter-amplify: CMD = framecrc -lavfi testsrc2=r=3:d=5,amplify -pix_fmt 
yuv420p
+
 FATE_FILTER-$(call FILTERFRAMECRC, FPS TESTSRC2) += $(addprefix 
fate-filter-fps-, up up-round-down up-round-up down down-round-down 
down-round-up down-eof-pass start-drop start-fill single)
 fate-filter-fps-up: CMD = framecrc -lavfi testsrc2=r=3:d=2,fps=7
 fate-filter-fps-up-round-down: CMD = framecrc -lavfi 
testsrc2=r=3:d=2,fps=7:round=down
diff --git a/tests/ref/fate/filter-amplify b/tests/ref/fate/filter-amplify
new file mode 100644
index 00000000000..309c9c90343
--- /dev/null
+++ b/tests/ref/fate/filter-amplify
@@ -0,0 +1,15 @@
+#tb 0: 1/3
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 320x240
+#sar 0: 1/1
+0,          1,          1,        1,   115200, 0x2ebd4183
+0,          2,          2,        1,   115200, 0xa26c3909
+0,          3,          3,        1,   115200, 0xf132f603
+0,          4,          4,        1,   115200, 0x30e7bb58
+0,          5,          5,        1,   115200, 0xa25b929f
+0,          6,          6,        1,   115200, 0x4197a603
+0,          7,          7,        1,   115200, 0x02efefcc
+0,          8,          8,        1,   115200, 0xa93fd10a
+0,          9,          9,        1,   115200, 0x1a559944
+0,         10,         10,        1,   115200, 0x8977ac0c
-- 
2.54.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to