Specialize Neon high bitdepth subpel variance by filter value
authorSalome Thirot <salome.thirot@arm.com>
Thu, 9 Feb 2023 14:16:30 +0000 (14:16 +0000)
committerSalome Thirot <salome.thirot@arm.com>
Mon, 13 Feb 2023 20:22:56 +0000 (20:22 +0000)
commitc113d6b027b0299abe31f05240e2895112517c91
tree7e74dc0895c5baccbd3a4078f86fa18bb8eeb345
parent7343d56c1bf2f32b3fe2127cfcec1006f2fd95c6
Specialize Neon high bitdepth subpel variance by filter value

Use the same specialization as for standard bitdepth. The rationale for
the specialization is as follows:

The optimal implementation of the bilinear interpolation depends on the
filter values being used. For both horizontal and vertical interpolation
this can simplify to just taking the source values, or averaging the
source and reference values - which can be computed more easily than a
bilinear interpolation with arbitrary filter values.

This patch introduces tests to find the most optimal bilinear
interpolation implementation based on the filter values being used.
This new specialization is only used for larger block sizes.

Change-Id: I73182c979255f0332a274f2e5907df7f38c9eeb3
vpx_dsp/arm/highbd_subpel_variance_neon.c