Config.in 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. config BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS
  2. bool
  3. default y
  4. # Invalid packing size of ControlValue struct on m68k
  5. depends on !BR2_m68k
  6. menuconfig BR2_PACKAGE_LIBCAMERA
  7. bool "libcamera"
  8. depends on BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS
  9. depends on BR2_INSTALL_LIBSTDCPP
  10. depends on BR2_TOOLCHAIN_HAS_THREADS
  11. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
  12. depends on !BR2_STATIC_LIBS # gnutls
  13. depends on BR2_USE_WCHAR # gnutls
  14. depends on BR2_PACKAGE_LIBEVENT # libevent
  15. depends on BR2_PACKAGE_PYTHON3
  16. select BR2_PACKAGE_PYTHON_JINJA2
  17. select BR2_PACKAGE_PYTHON_PLY
  18. select BR2_PACKAGE_PYTHON_PYYAML
  19. select BR2_PACKAGE_GNUTLS
  20. select BR2_PACKAGE_LIBCAMERA_PIPELINE_UVCVIDEO if !BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
  21. help
  22. libcamera provides a software stack to support
  23. complex devices that need heavy hardware image
  24. processing operations.
  25. http://www.libcamera.org/
  26. if BR2_PACKAGE_LIBCAMERA
  27. config BR2_PACKAGE_LIBCAMERA_V4L2
  28. bool "libcamera v4l2 compatibility layer"
  29. help
  30. libcamera v4l2 compatibility layer
  31. config BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
  32. bool
  33. config BR2_PACKAGE_LIBCAMERA_PIPELINE_IPU3
  34. bool "ipu3 pipeline"
  35. select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
  36. help
  37. Pipeline for Intel IPU3.
  38. config BR2_PACKAGE_LIBCAMERA_PIPELINE_RASPBERRYPI
  39. bool "raspberrypi pipeline"
  40. depends on BR2_USE_WCHAR # boost (already enforced for gnutls)
  41. select BR2_PACKAGE_BOOST
  42. select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
  43. help
  44. Pipeline for Raspberry Pi devices.
  45. config BR2_PACKAGE_LIBCAMERA_PIPELINE_RKISP1
  46. bool "rkisp1 pipeline"
  47. select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
  48. help
  49. Pipeline for Rockchip ISP1.
  50. config BR2_PACKAGE_LIBCAMERA_PIPELINE_SIMPLE
  51. bool "simple pipeline"
  52. select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
  53. help
  54. Pipeline for simple pipelines.
  55. config BR2_PACKAGE_LIBCAMERA_PIPELINE_UVCVIDEO
  56. bool "uvcvideo pipeline"
  57. help
  58. Pipeline for uvcvideo devices.
  59. config BR2_PACKAGE_LIBCAMERA_PIPELINE_VIMC
  60. bool "vimc pipeline"
  61. select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
  62. help
  63. Pipeline for the vimc device.
  64. config BR2_PACKAGE_LIBCAMERA_PIPELINE_STARFIVE
  65. bool "starfive pipeline"
  66. select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
  67. select BR2_PACKAGE_YAML_CPP
  68. help
  69. Pipeline for the starfive device.
  70. endif # BR2_PACKAGE_LIBCAMERA
  71. comment "libcamera needs a toolchain w/ C++, threads, wchar, dynamic library, gcc >= 7"
  72. depends on BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS
  73. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
  74. !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || BR2_STATIC_LIBS || !BR2_USE_WCHAR