vf_psnr: always calculate MSE over full pixel range.
authorRonald S. Bultje <rsbultje@gmail.com>
Sat, 11 Jul 2015 11:22:47 +0000 (07:22 -0400)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 11 Jul 2015 16:47:05 +0000 (18:47 +0200)
commit9879421f1ac1427efd5448772f7a58de1ae09872
tree8e24ed342b0d444e14df6a228bea404966ca6fbc
parent9b8b804cfb37361a0fac49a6ce7052247d75a42e
vf_psnr: always calculate MSE over full pixel range.

This makes the output compatible with that of pretty much any other
tool that calculates PSNR.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavfilter/vf_psnr.c