cdef: Pad cdef_directions
commit0890faa241d77b649073daf3a79155faf752a520
authorScott LaVarnway <slavarnway@google.com>
Tue, 14 Dec 2021 20:35:25 +0000 (14 15:35 -0500)
committerScott LaVarnway <slavarnway@google.com>
Wed, 15 Dec 2021 17:03:57 +0000 (15 17:03 +0000)
tree1cd6b2d9933d8edd36903323947012ac30980a49
parent8f921edfb7522711d9ccf72cb772e63272bd47cf
cdef: Pad cdef_directions

Direction's range is [0, 7] and it is offset +/-2. Add padding to
cdef_directions and rename it to cdef_directions_padded to avoid the need
for & 7. Results in fewer instructions

Sync with libgav1.
f66df5e cdef: pad kCdefDirections

Change-Id: Icb64f6459dfe8887b49513029775f91780bfffb7
av1/common/cdef_block.c
av1/common/cdef_block.h
av1/common/cdef_block_simd.h