[FFmpeg-devel] [PATCH] avfilter/vf_ssim: improve precision

Paul B Mahol onemda at gmail.com
Mon Feb 3 14:29:29 EET 2020


Will apply soon.

On 1/31/20, Paul B Mahol <onemda at gmail.com> wrote:
> Use doubles for accumulating floats.
>
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libavfilter/ssim.h                    |  2 +-
>  libavfilter/vf_ssim.c                 | 18 +++++------
>  libavfilter/x86/vf_ssim.asm           | 36 ++++++++++++++--------
>  libavfilter/x86/vf_ssim_init.c        |  2 +-
>  tests/ref/fate/filter-refcmp-ssim-rgb | 44 +++++++++++++--------------
>  tests/ref/fate/filter-refcmp-ssim-yuv | 26 ++++++++--------
>  6 files changed, 70 insertions(+), 58 deletions(-)
>


More information about the ffmpeg-devel mailing list