Use vpx_sse instead of vpx_mse to compute SSE
authorWan-Teh Chang <wtc@google.com>
Thu, 28 Sep 2023 16:26:58 +0000 (09:26 -0700)
committerJames Zern <jzern@google.com>
Fri, 8 Dec 2023 00:34:23 +0000 (00:34 +0000)
commit0d5811e4effb62672ec60aed5bd21553af158791
treee237dd9faefe2aa6c8aa49253b76e6fd9dd6c990
parentc64a85d25afe01a3aac14980314836ee22281cb5
Use vpx_sse instead of vpx_mse to compute SSE

Use vpx_sse and vpx_highbd_sse instead of vpx_mse16x16 and
vpx_highbd_8_mse16x16 respectively to compute SSE for PSNR
calculations. This solves an issue whereby vpx_highbd_8_mse16x16
was being used to calculate SSE for 10- and 12-bit input.

This is a port of the libaom CL
https://aomedia-review.googlesource.com/c/aom/+/175063
by Jonathan Wright <jonathan.wright@arm.com>.

Bug: webm:1819
Change-Id: I37e3ac72835e67ccb44ac89a4ed16df62c2169a7
(cherry picked from commit 7dfe343199381bddddc5eaa648e947876979b61b)
vpx_dsp/psnr.c