This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit ab0eeb03cc63c3399ebcbca68b972586066e3ca9
Author:     Martin Mirchev <[email protected]>
AuthorDate: Wed Oct 21 19:06:54 2026 +0800
Commit:     michaelni <[email protected]>
CommitDate: Mon Oct 26 22:36:19 2026 +0000

    tests/fate/filter-video: add tests for vignette backward mode
    
    Use angle 0, so the gain is exactly 1 inside dmax, and move the center
    to the top left corner so that part of the frame lies beyond dmax and
    must saturate. Cover the planar (yuv444p) and packed (rgb24) paths.
    
    Signed-off-by: Martin Mirchev <[email protected]>
---
 tests/fate/filter-video.mak                                            | 3 +++
 .../fate/{filter-noformat-chroma => filter-vignette-backward-rgb24}    | 2 +-
 .../fate/{filter-noformat-chroma => filter-vignette-backward-yuv444p}  | 2 +-
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index 4a065ec032..95254ff3fc 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -480,6 +480,9 @@ fate-filter-chromashift-wrap:  CMD = framecrc -lavfi 
testsrc2=r=5:d=1,chromashif
 FATE_FILTER-$(call FILTERFRAMECRC, TESTSRC2 FPS DECIMATE) += 
fate-filter-decimate
 fate-filter-decimate: CMD = framecrc -lavfi 
testsrc2=r=24:d=10,fps=60,decimate=5,decimate=4,decimate=3 -pix_fmt yuv420p
 
+FATE_FILTER-$(call FILTERFRAMECRC, TESTSRC2 FORMAT VIGNETTE) += 
fate-filter-vignette-backward-yuv444p fate-filter-vignette-backward-rgb24
+fate-filter-vignette-backward-%: CMD = framecrc -lavfi 
testsrc2=s=64x64:r=1:d=1,format=$(@:fate-filter-vignette-backward-%=%),vignette=a=0:x0=0:y0=0:mode=backward
 -pix_fmt $(@:fate-filter-vignette-backward-%=%)
+
 FATE_FILTER-$(call FILTERFRAMECRC, TESTSRC2 FPS MPDECIMATE) += 
fate-filter-mpdecimate
 fate-filter-mpdecimate: CMD = framecrc -lavfi 
testsrc2=r=2:d=10,fps=3,mpdecimate -pix_fmt yuv420p
 
diff --git a/tests/ref/fate/filter-noformat-chroma 
b/tests/ref/fate/filter-vignette-backward-rgb24
similarity index 60%
copy from tests/ref/fate/filter-noformat-chroma
copy to tests/ref/fate/filter-vignette-backward-rgb24
index d525d1fa57..26c62146a2 100644
--- a/tests/ref/fate/filter-noformat-chroma
+++ b/tests/ref/fate/filter-vignette-backward-rgb24
@@ -3,4 +3,4 @@
 #codec_id 0: rawvideo
 #dimensions 0: 64x64
 #sar 0: 1/1
-0,          0,          0,        1,     6144, 0x9bc050a5
+0,          0,          0,        1,    12288, 0x282440f2
diff --git a/tests/ref/fate/filter-noformat-chroma 
b/tests/ref/fate/filter-vignette-backward-yuv444p
similarity index 60%
copy from tests/ref/fate/filter-noformat-chroma
copy to tests/ref/fate/filter-vignette-backward-yuv444p
index d525d1fa57..b559a9e755 100644
--- a/tests/ref/fate/filter-noformat-chroma
+++ b/tests/ref/fate/filter-vignette-backward-yuv444p
@@ -3,4 +3,4 @@
 #codec_id 0: rawvideo
 #dimensions 0: 64x64
 #sar 0: 1/1
-0,          0,          0,        1,     6144, 0x9bc050a5
+0,          0,          0,        1,    12288, 0xf08ed17c

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to