[libcamera-devel] [PATCH LIBCAMERA 0/4] libcamera: determine IPA_PROXY_PATH at runtime

Kieran Bingham kieran.bingham at ideasonboard.com
Tue Mar 17 21:44:05 CET 2020


Hi Kaaira,

Thank you for these patches - they're a good start.

The most common issue in my review was just whitespace topics, which is
just a style thing. You could skim read

  https://www.libcamera.org/coding-style.html#coding-style-guidelines

But installing clang-format and using the pre-commit hook will
automatically identify style topics for the most part for you.

The only other topic that came up is that I hadn't realised (or had
forgotten) that we need to move the static helpers isLibcameraInstalled
and libcameraPath out to be re-usable helpers in the utils module.

I'm sorry - it would have been easier if I'd mentioned that first :-(

Could you do that move as a separate patch please?

Otherwise, it's looking good - and solves the issue!

Thanks

Kieran


On 17/03/2020 17:31, Kaaira Gupta wrote:
> This is a series of patches to determine IPA_PROXY_PATH at runtime and
> removing hard-coded LIBCAMERA_IPA_PROXY_PATH from test.cpp
> 
> Kaaira Gupta (4):
>   libcamera: ipa_proxy: use utils::split()
>   libcamera: ipa_proxy: rearrange proxies precedence
>   libcamera: ipa_proxy: search for proxy in build tree
>   tests: remove IPA_PROXY_PATH environment variable
> 
>  src/libcamera/ipa_proxy.cpp | 72 ++++++++++++++++++++++++++++---------
>  test/libtest/test.cpp       |  4 ---
>  2 files changed, 55 insertions(+), 21 deletions(-)
> 

-- 
Regards
--
Kieran


More information about the libcamera-devel mailing list