[libcamera-devel] [Buildroot] [PATCH v3] package/libcamera: bump version to 96fab38
Peter Seiderer
ps.report at gmx.net
Tue Jun 16 18:34:53 CEST 2020
Hello Yann, Kieran,
On Tue, 16 Jun 2020 09:27:46 +0200, "Yann E. MORIN" <yann.morin.1998 at free.fr> wrote:
> Kieran, Peter, All,
>
> On 2020-06-15 12:32 +0100, Kieran Bingham spake thusly:
> > On 14/06/2020 18:02, Yann E. MORIN wrote:
> [--SNIP--]
> > > As I understand it, it would make sense that a thir-party provides a
> > > binary blob for their hardware, nd use none of the pipelines for the
> > > known boards, no?
> > Libcamera could be built without any I believe (/me goes to test).
> > Yes, libcamera will build successfully and cleanly with -Dpipelines=""
> >
> > But a pipeline handler is always required for *operation*, and those can
> > not be 'binary blobs'.
> >
> > Only the image processing algorithm (IPA) components can be an external
> > binary. There must be a corresponding (open source) pipeline-handler to
> > support the algorithms.
>
> OK, so I guess this indeed calls for always enabling a default pipeline
> handler, and the UVC one makes for a good default one (see below).
>
> > > If it makes sense that no pipeline is enabled, I'm fine with having none
> > > enabled by default.
> > I guess my only thought would be to expect at least UVC support - but
> > hey, the target might not have USB - so it certainly is use-case specific.
>
> But as you said a pipeline handler is mandatory, the UVC one is generic
> enough that it is enabled by default.
>
> What we usually do in such a situation, is something like:
>
> config BR2_PACKAGE_LIBCAMERA
> bool "libcamera"
> select BR2_PACKAGE_LIBCAMERA_PIPELINE_UVC if !BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
>
> config BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
> bool
>
> config BR2_PACKAGE_LIBCAMERA_PIPELINE_IPU3
> bool "ipu3 pipeline"
> select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
>
> config BR2_PACKAGE_LIBCAMERA_PIPELINE_RKISP1
> bool "rkisp1 pipeline"
> select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
>
> config BR2_PACKAGE_LIBCAMERA_PIPELINE_RPI
> bool "rpi pipeline"
> select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
>
> config BR2_PACKAGE_LIBCAMERA_PIPELINE_UVC
> bool "UVC pipeline"
>
> Peter, can you respin with this change, please? ;-)
Yes, can do, will be in the next patch iteration...
Regards,
Peter
>
> Regards,
> Yann E. MORIN.
>
More information about the libcamera-devel
mailing list