Refactor standard bitdepth Neon convolution functions
authorJonathan Wright <jonathan.wright@arm.com>
Mon, 8 May 2023 16:41:26 +0000 (17:41 +0100)
committerJonathan Wright <jonathan.wright@arm.com>
Fri, 12 May 2023 13:53:51 +0000 (14:53 +0100)
commit8ecf58432118b672fe3f4a54725bc63caac262aa
tree4cde281838aba9123093ce9596c8c65b38e6ce31
parent905f991acd22b4d1cbfab22223bb5c979fb5c3c9
Refactor standard bitdepth Neon convolution functions

1) Use #define constant instead of magic numbers for right shifts.
2) Move saturating narrow into helper functions that return 4-element
   result vectors.
3) Use mem_neon.h helpers for load/store sequences in Armv8.0 paths.
4) Tidy up: assert conditions and some longer variable names.
5) Prefer != 0 to > 0 where possible for loop termination conditions.

Change-Id: Idfcac43ca38faf729dca07b8cc8f7f45ad264d24
vpx_dsp/arm/vpx_convolve8_neon.c
vpx_dsp/arm/vpx_convolve8_neon.h