aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref/fate/filter-refcmp-ssim-yuv
diff options
context:
space:
mode:
authorTobias Rapp <t.rapp@noa-archive.com>2017-08-29 14:45:13 +0200
committerTobias Rapp <t.rapp@noa-archive.com>2017-09-27 15:58:49 +0200
commitbee01ee2ba2e62974447d5e8ea2afb27dbdb1e23 (patch)
treeb27d729e5b9b8cebe061c5e7acda8aa0b73cd200 /tests/ref/fate/filter-refcmp-ssim-yuv
parentf102a4efcef33014d414f9bf4492a04feab20c82 (diff)
downloadffmpeg-bee01ee2ba2e62974447d5e8ea2afb27dbdb1e23.tar.gz
fate: add tests for psnr and ssim filter
Metadata filter output is passed through an Awk script comparing floats against reference values with specified "fuzz" tolerance to account for architectural differences (e.g. x86-32 vs. x86-64). Signed-off-by: Tobias Rapp <t.rapp@noa-archive.com>
Diffstat (limited to 'tests/ref/fate/filter-refcmp-ssim-yuv')
-rw-r--r--tests/ref/fate/filter-refcmp-ssim-yuv30
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/ref/fate/filter-refcmp-ssim-yuv b/tests/ref/fate/filter-refcmp-ssim-yuv
new file mode 100644
index 0000000000..5c8ffb9483
--- /dev/null
+++ b/tests/ref/fate/filter-refcmp-ssim-yuv
@@ -0,0 +1,30 @@
+frame:0 pts:0 pts_time:0
+lavfi.ssim.Y=0.80
+lavfi.ssim.U=0.76
+lavfi.ssim.V=0.69
+lavfi.ssim.All=0.76
+lavfi.ssim.dB=6.25
+frame:1 pts:1 pts_time:1
+lavfi.ssim.Y=0.80
+lavfi.ssim.U=0.73
+lavfi.ssim.V=0.68
+lavfi.ssim.All=0.75
+lavfi.ssim.dB=6.08
+frame:2 pts:2 pts_time:2
+lavfi.ssim.Y=0.80
+lavfi.ssim.U=0.73
+lavfi.ssim.V=0.68
+lavfi.ssim.All=0.75
+lavfi.ssim.dB=6.10
+frame:3 pts:3 pts_time:3
+lavfi.ssim.Y=0.79
+lavfi.ssim.U=0.72
+lavfi.ssim.V=0.68
+lavfi.ssim.All=0.75
+lavfi.ssim.dB=5.94
+frame:4 pts:4 pts_time:4
+lavfi.ssim.Y=0.80
+lavfi.ssim.U=0.72
+lavfi.ssim.V=0.68
+lavfi.ssim.All=0.75
+lavfi.ssim.dB=5.97