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

Git pushed a commit to branch master
in repository ffmpeg.

commit 592208bf7f393d8bbbb3c62e8e8c45673fdffaef
Author:     Michael Niedermayer <[email protected]>
AuthorDate: Thu Nov 5 18:51:18 2026 +0100
Commit:     michaelni <[email protected]>
CommitDate: Thu Nov 5 23:12:03 2026 +0000

    fate: add tests for the wavelet mode of vf_vignette
    
    A vignette is applied to the test source and reversed with both
    transforms, the PSNR against the source is compared with a tolerance.
    
    Assisted-by: Claude
---
 tests/fate/filter-video.mak                      |  4 +++
 tests/ref/fate/filter-vignette-wavelet           | 45 ++++++++++++++++++++++++
 tests/ref/fate/filter-vignette-wavelet-decimated | 45 ++++++++++++++++++++++++
 3 files changed, 94 insertions(+)

diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index 95254ff3fc..81088a448c 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -969,6 +969,10 @@ fate-filter-refcmp-psnr-rgb: CMD = refcmp_metadata psnr 
rgb24 0.002
 FATE_FILTER_REFCMP_METADATA-$(CONFIG_PSNR_FILTER) += 
fate-filter-refcmp-psnr-yuv
 fate-filter-refcmp-psnr-yuv: CMD = refcmp_metadata psnr yuv422p 0.0015
 
+FATE_FILTER_REFCMP_METADATA-$(call ALLYES, PSNR_FILTER VIGNETTE_FILTER) += 
fate-filter-vignette-wavelet fate-filter-vignette-wavelet-decimated
+fate-filter-vignette-wavelet:           CMD = refcmp_metadata psnr yuv420p 
0.005 "vignette=angle=PI/2*0.8,vignette=angle=PI/2*0.8:mode=wavelet"
+fate-filter-vignette-wavelet-decimated: CMD = refcmp_metadata psnr yuv420p 
0.005 "vignette=angle=PI/2*0.8,vignette=angle=PI/2*0.8:mode=wavelet:decimated=1"
+
 FATE_FILTER_REFCMP_METADATA-$(call ALLYES, SSIM_FILTER SCALE_FILTER) += 
fate-filter-refcmp-ssim-rgb
 fate-filter-refcmp-ssim-rgb: CMD = refcmp_metadata ssim rgb24 0.015
 
diff --git a/tests/ref/fate/filter-vignette-wavelet 
b/tests/ref/fate/filter-vignette-wavelet
new file mode 100644
index 0000000000..cb743274f7
--- /dev/null
+++ b/tests/ref/fate/filter-vignette-wavelet
@@ -0,0 +1,45 @@
+frame:0    pts:0       pts_time:0
+lavfi.psnr.mse.y=2.880483
+lavfi.psnr.psnr.y=43.536148
+lavfi.psnr.mse.u=6.717533
+lavfi.psnr.psnr.u=39.858704
+lavfi.psnr.mse.v=4.321466
+lavfi.psnr.psnr.v=41.774490
+lavfi.psnr.mse_avg=3.760155
+lavfi.psnr.psnr_avg=42.378746
+frame:1    pts:1       pts_time:1
+lavfi.psnr.mse.y=3.776417
+lavfi.psnr.psnr.y=42.360004
+lavfi.psnr.mse.u=6.281267
+lavfi.psnr.psnr.u=40.150330
+lavfi.psnr.mse.v=8.319067
+lavfi.psnr.psnr.v=38.930058
+lavfi.psnr.mse_avg=4.951000
+lavfi.psnr.psnr_avg=41.183876
+frame:2    pts:2       pts_time:2
+lavfi.psnr.mse.y=3.954583
+lavfi.psnr.psnr.y=42.159798
+lavfi.psnr.mse.u=6.069200
+lavfi.psnr.psnr.u=40.299488
+lavfi.psnr.mse.v=6.192867
+lavfi.psnr.psnr.v=40.211887
+lavfi.psnr.mse_avg=4.680067
+lavfi.psnr.psnr_avg=41.428284
+frame:3    pts:3       pts_time:3
+lavfi.psnr.mse.y=3.155767
+lavfi.psnr.psnr.y=43.139755
+lavfi.psnr.mse.u=7.179934
+lavfi.psnr.psnr.u=39.569599
+lavfi.psnr.mse.v=8.107333
+lavfi.psnr.psnr.v=39.042023
+lavfi.psnr.mse_avg=4.651722
+lavfi.psnr.psnr_avg=41.454666
+frame:4    pts:4       pts_time:4
+lavfi.psnr.mse.y=3.327617
+lavfi.psnr.psnr.y=42.909470
+lavfi.psnr.mse.u=4.326334
+lavfi.psnr.psnr.u=41.769604
+lavfi.psnr.mse.v=6.136133
+lavfi.psnr.psnr.v=40.251854
+lavfi.psnr.mse_avg=3.962156
+lavfi.psnr.psnr_avg=42.151489
diff --git a/tests/ref/fate/filter-vignette-wavelet-decimated 
b/tests/ref/fate/filter-vignette-wavelet-decimated
new file mode 100644
index 0000000000..d5b4545b69
--- /dev/null
+++ b/tests/ref/fate/filter-vignette-wavelet-decimated
@@ -0,0 +1,45 @@
+frame:0    pts:0       pts_time:0
+lavfi.psnr.mse.y=4.577450
+lavfi.psnr.psnr.y=41.524567
+lavfi.psnr.mse.u=7.851933
+lavfi.psnr.psnr.u=39.181038
+lavfi.psnr.mse.v=9.135067
+lavfi.psnr.psnr.v=38.523685
+lavfi.psnr.mse_avg=5.882800
+lavfi.psnr.psnr_avg=40.434963
+frame:1    pts:1       pts_time:1
+lavfi.psnr.mse.y=5.939367
+lavfi.psnr.psnr.y=40.393402
+lavfi.psnr.mse.u=9.275400
+lavfi.psnr.psnr.u=38.457478
+lavfi.psnr.mse.v=13.543067
+lavfi.psnr.psnr.v=36.813633
+lavfi.psnr.mse_avg=7.762656
+lavfi.psnr.psnr_avg=39.230701
+frame:2    pts:2       pts_time:2
+lavfi.psnr.mse.y=6.550667
+lavfi.psnr.psnr.y=39.967949
+lavfi.psnr.mse.u=8.045400
+lavfi.psnr.psnr.u=39.075329
+lavfi.psnr.mse.v=11.657333
+lavfi.psnr.psnr.v=37.464813
+lavfi.psnr.mse_avg=7.650900
+lavfi.psnr.psnr_avg=39.293678
+frame:3    pts:3       pts_time:3
+lavfi.psnr.mse.y=5.054850
+lavfi.psnr.psnr.y=41.093719
+lavfi.psnr.mse.u=9.509467
+lavfi.psnr.psnr.u=38.349243
+lavfi.psnr.mse.v=12.159000
+lavfi.psnr.psnr.v=37.281826
+lavfi.psnr.mse_avg=6.981311
+lavfi.psnr.psnr_avg=39.691433
+frame:4    pts:4       pts_time:4
+lavfi.psnr.mse.y=5.370900
+lavfi.psnr.psnr.y=40.830334
+lavfi.psnr.mse.u=5.877800
+lavfi.psnr.psnr.u=40.438656
+lavfi.psnr.mse.v=11.077133
+lavfi.psnr.psnr.v=37.686531
+lavfi.psnr.mse_avg=6.406422
+lavfi.psnr.psnr_avg=40.064648

-- 
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