[FFmpeg-trac] #8529(avfilter:new): the ssim_c1 has bug in vf_ssim.c
FFmpeg
trac at avcodec.org
Fri Mar 27 11:25:24 EET 2020
#8529: the ssim_c1 has bug in vf_ssim.c
-------------------------------------+------------------------------------
Reporter: wangwei1237 | Owner:
Type: defect | Status: new
Priority: normal | Component: avfilter
Version: git-master | Resolution:
Keywords: ssim | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+------------------------------------
Comment (by Balling):
So, ssim_c1 is defined as (k_1 * L)^2, where k_1 is 0.01 and L is
PIXEL_MAX (it is a define that is 255 for 8 bit). It means that everything
is already squared... so it can be 64 == 8 * 8, dunno. Anyway, you forgot
+ 0.5
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8529#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list