[libcamera-devel] [PATCH v3 0/5] ipa: ipu3: af: Small improvements
Kate Hsuan
hpa at redhat.com
Tue Mar 29 02:36:18 CEST 2022
Hi Kieran,
On Fri, Mar 25, 2022 at 5:26 PM Kieran Bingham
<kieran.bingham at ideasonboard.com> wrote:
>
> Following review of the IPU3 Af implementation, the following additional
> improvements were identified.
>
> No functional change to the running of the algorithm is intended or
> expected, though this does remove a memcpy, and adapts to use a Span for
> range based iterators, as well as hopefully make it easier to use custom
> ROI's and return the AF regions in later developments.
>
> *** This is only compile tested! ***
>
> Kate/JM - could you test this please?
Okay, I can test it, please allow me some time :)
Thank you.
>
> v3:
> - Minor cleanups from Laurent and collect tags.
> - Keeping the two loop implementation of Af::afEstimateVariance
> to prevent risk of "catasrophic cancellation".
>
> Kieran Bingham (5):
> ipa: ipu3: af: Move constants to implementation
> ipa: ipu3: af: Use geometry classes to perform grid centering
> ipa: ipu3: af: Remove redundant memcpy
> ipa: ipu3: af: Use Span for y_table_item_t
> ipa: ipu3: af: Simplify accumulations of y_items
>
> src/ipa/ipu3/algorithms/af.cpp | 140 +++++++++++++--------------------
> src/ipa/ipu3/algorithms/af.h | 15 +---
> 2 files changed, 56 insertions(+), 99 deletions(-)
>
> --
> 2.32.0
>
--
BR,
Kate
More information about the libcamera-devel
mailing list