Skip to content
Snippets Groups Projects
Commit d2967313 authored by Salome Thirot's avatar Salome Thirot Committed by Hassene Tmar
Browse files

Optimize Neon implementation of svt_aom_lpf_6

The Neon implementations of svt_aom_lpf_vertical_6 and
svt_aom_lpf_horizontal_6 compute both filter4() and filter6() before
selecting for each element which filter is actually needed. In practice,
however, a lot of cases only need one of the filters, so specialize for
these scenarios, computing only the filters that are needed and
eliminate bitwise select. This makes the case where all filters are
needed slightly slower, but as it is far from the most common case this
is ok.

Also move the actual filter computation to separate functions to avoid
code duplication.
parent 9c49a56b
No related branches found
No related tags found
1 merge request!2368Optimize Neon implementation of loopfilter functions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment