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

Kaaira Gupta kgupta at es.iitr.ac.in
Tue Mar 17 22:39:08 CET 2020


On Tue, Mar 17, 2020 at 08:44:05PM +0000, Kieran Bingham wrote:
> Hi Kaaira,
> 
> Thank you for these patches - they're a good start.

Thanks :D

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

I'll fix them up

> 
>   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?

Yes, sure. I'll just send that as patch 3 of this series.

> 
> 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