Re: [FFmpeg-devel] apsnr's PSNR formula is different from Wikipedia's formula

2024-11-26 Thread Anton Khirnov
Quoting Shawn Singh via ffmpeg-devel (2024-10-07 19:22:29) > On Tue, Oct 1, 2024 at 3:41 PM Jing Lu wrote: > > > Hi ffmpeg-devel@, > > > > I recently came across the apnsr filter > > , > > and the formula for PSNR it uses: >

Re: [FFmpeg-devel] apsnr's PSNR formula is different from Wikipedia's formula

2024-10-07 Thread Shawn Singh via ffmpeg-devel
On Tue, Oct 1, 2024 at 3:41 PM Jing Lu wrote: > Hi ffmpeg-devel@, > > I recently came across the apnsr filter > , > and the formula for PSNR it uses: > > 2.0 * log(s->max) - log(s->nb_samples / s->chs[ch].uv) > > > which is