mirror of
https://github.com/webmproject/libwebp.git
synced 2025-01-28 23:52:56 +01:00
2f51b614b0
Make WebPPictureDistortion() only compute distortion on A/R/G/B planes, not Y/U/V(A). (not just for SSIM, but PSNR too). This is to avoid problems with using SSIM on U/V channels. If Y/U/V distortion is needed, one can always use WebPPlaneDistortion() individually. Change-Id: If8bc9c3ac12a8d2220f03224694fc389b16b7da9