2020-09-04 11:51:45 +02:00
|
|
|
config BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS
|
|
|
|
bool
|
|
|
|
default y
|
|
|
|
# Invalid packing size of ControlValue struct on m68k
|
2020-11-17 22:25:19 +01:00
|
|
|
depends on !BR2_m68k
|
2020-09-04 11:51:45 +02:00
|
|
|
|
2020-06-16 20:59:50 +02:00
|
|
|
menuconfig BR2_PACKAGE_LIBCAMERA
|
2019-04-03 13:29:02 +02:00
|
|
|
bool "libcamera"
|
2020-09-04 11:51:45 +02:00
|
|
|
depends on BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS
|
2019-04-03 13:29:02 +02:00
|
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
2020-09-04 16:01:29 +02:00
|
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
|
2020-06-16 20:59:50 +02:00
|
|
|
depends on !BR2_STATIC_LIBS # gnutls
|
|
|
|
depends on BR2_USE_WCHAR # gnutls
|
|
|
|
select BR2_PACKAGE_GNUTLS
|
|
|
|
select BR2_PACKAGE_LIBCAMERA_PIPELINE_UVCVIDEO if !BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
|
2019-04-03 13:29:02 +02:00
|
|
|
help
|
|
|
|
libcamera provides a software stack to support
|
|
|
|
complex devices that need heavy hardware image
|
|
|
|
processing operations.
|
|
|
|
|
|
|
|
http://www.libcamera.org/
|
|
|
|
|
2020-06-16 20:59:50 +02:00
|
|
|
if BR2_PACKAGE_LIBCAMERA
|
|
|
|
|
2020-06-16 20:59:51 +02:00
|
|
|
config BR2_PACKAGE_LIBCAMERA_V4L2
|
|
|
|
bool "libcamera v4l2 compatibility layer"
|
|
|
|
help
|
|
|
|
libcamera v4l2 compatibility layer
|
|
|
|
|
2020-06-16 20:59:50 +02:00
|
|
|
config BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
|
|
|
|
bool
|
|
|
|
|
|
|
|
config BR2_PACKAGE_LIBCAMERA_PIPELINE_IPU3
|
|
|
|
bool "ipu3 pipeline"
|
|
|
|
select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
|
|
|
|
help
|
|
|
|
Pipeline for Intel IPU3.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_LIBCAMERA_PIPELINE_RASPBERRYPI
|
|
|
|
bool "raspberrypi pipeline"
|
|
|
|
depends on BR2_USE_WCHAR # boost (already enforced for gnutls)
|
|
|
|
select BR2_PACKAGE_BOOST
|
|
|
|
select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
|
|
|
|
help
|
|
|
|
Pipeline for Raspberry Pi devices.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_LIBCAMERA_PIPELINE_RKISP1
|
|
|
|
bool "rkisp1 pipeline"
|
|
|
|
select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
|
|
|
|
help
|
|
|
|
Pipeline for Rockchip ISP1.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_LIBCAMERA_PIPELINE_SIMPLE
|
|
|
|
bool "simple pipeline"
|
|
|
|
select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
|
|
|
|
help
|
|
|
|
Pipeline for simple pipelines.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_LIBCAMERA_PIPELINE_UVCVIDEO
|
|
|
|
bool "uvcvideo pipeline"
|
|
|
|
help
|
|
|
|
Pipeline for uvcvideo devices.
|
|
|
|
|
|
|
|
config BR2_PACKAGE_LIBCAMERA_PIPELINE_VIMC
|
|
|
|
bool "vimc pipeline"
|
|
|
|
select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
|
|
|
|
help
|
|
|
|
Pipeline for the vimc device.
|
|
|
|
|
|
|
|
endif # BR2_PACKAGE_LIBCAMERA
|
|
|
|
|
2020-09-04 16:01:29 +02:00
|
|
|
comment "libcamera needs a toolchain w/ C++, threads, wchar, dynamic library, gcc >= 7"
|
2020-09-04 11:51:45 +02:00
|
|
|
depends on BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS
|
2019-04-03 13:29:02 +02:00
|
|
|
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
|
2020-09-04 16:01:29 +02:00
|
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_7 || BR2_STATIC_LIBS || !BR2_USE_WCHAR
|