[FFmpeg-devel] [PATCH v4] fate: add tests for psnr and ssim filter

Michael Niedermayer michael at niedermayer.cc
Thu Sep 21 04:01:27 EEST 2017


On Wed, Sep 20, 2017 at 11:01:59AM +0200, Tobias Rapp wrote:
> 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 at noa-archive.com>
> ---
> tested on Linux x86-32/64 and Mips (Qemu)
> 
> v4:
>  - fixed iteration order of final print loop
>  - update of debug output
> 
> v3:
>  - avoid precision loss due to rounding of float values
> 
> v2:
>  - removed CPUFLAGS work-around for ssim filter issue
>  - added metadata float value post-processing script
> 
>  tests/fate-run.sh                     |  9 +++++
>  tests/fate/filter-video.mak           | 14 ++++++++
>  tests/ref/fate/filter-refcmp-psnr-rgb | 45 ++++++++++++++++++++++++
>  tests/ref/fate/filter-refcmp-psnr-yuv | 45 ++++++++++++++++++++++++
>  tests/ref/fate/filter-refcmp-ssim-rgb | 30 ++++++++++++++++
>  tests/ref/fate/filter-refcmp-ssim-yuv | 30 ++++++++++++++++
>  tests/refcmp-metadata.awk             | 64 +++++++++++++++++++++++++++++++++++
>  7 files changed, 237 insertions(+)
>  create mode 100644 tests/ref/fate/filter-refcmp-psnr-rgb
>  create mode 100644 tests/ref/fate/filter-refcmp-psnr-yuv
>  create mode 100644 tests/ref/fate/filter-refcmp-ssim-rgb
>  create mode 100644 tests/ref/fate/filter-refcmp-ssim-yuv
>  create mode 100644 tests/refcmp-metadata.awk

seems to pass now

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No great genius has ever existed without some touch of madness. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170921/08fe7ea0/attachment.sig>


More information about the ffmpeg-devel mailing list