cdef: Improve cdef_filter_block_8x8_{8,16}.
commit70f6c11bfdef9c020937b65d97a7bd999de2d979
authorScott LaVarnway <slavarnway@google.com>
Wed, 5 Jan 2022 13:55:54 +0000 (5 08:55 -0500)
committerScott LaVarnway <slavarnway@google.com>
Tue, 11 Jan 2022 23:41:47 +0000 (11 23:41 +0000)
treecfd591a825d365a09968be20729371b3bc75c0e0
parent96147b216691c5b9ea417f5c4c46ecf1f415badb
cdef: Improve cdef_filter_block_8x8_{8,16}.

Move shared code into a common function. Use a flag to choose bitdepth
specific code.

For cdef_filter_block_8x8_8(), use v256 until storing the final output.
Eliminates instructions during constrain.

For cdef_filter_block_8x8_16(), reduce the number of instructions used to find max.

Change-Id: I97c0570e641c2853fe7373bc70f966cbab89b02f
av1/common/cdef_block_simd.h