Config.in 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  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. depends on !BR2_TOOLCHAIN_HAS_BINUTILS_BUG_27597
  7. menuconfig BR2_PACKAGE_LIBCAMERA
  8. bool "libcamera"
  9. depends on BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS
  10. depends on BR2_INSTALL_LIBSTDCPP
  11. depends on BR2_TOOLCHAIN_HAS_THREADS
  12. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # C++17
  13. depends on !BR2_STATIC_LIBS # gnutls
  14. depends on BR2_USE_WCHAR # gnutls
  15. select BR2_PACKAGE_GNUTLS
  16. select BR2_PACKAGE_LIBYAML
  17. select BR2_PACKAGE_LIBCAMERA_PIPELINE_UVCVIDEO if !BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
  18. help
  19. libcamera provides a software stack to support
  20. complex devices that need heavy hardware image
  21. processing operations.
  22. http://www.libcamera.org/
  23. if BR2_PACKAGE_LIBCAMERA
  24. config BR2_PACKAGE_LIBCAMERA_V4L2
  25. bool "libcamera v4l2 compatibility layer"
  26. help
  27. libcamera v4l2 compatibility layer
  28. config BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
  29. bool
  30. config BR2_PACKAGE_LIBCAMERA_PIPELINE_IMX8_ISI
  31. bool "imx8-isi pipeline"
  32. depends on BR2_arm || BR2_aarch64
  33. select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
  34. help
  35. Pipeline for i.MX8 SoC ISI capture interface.
  36. config BR2_PACKAGE_LIBCAMERA_PIPELINE_IPU3
  37. bool "ipu3 pipeline"
  38. depends on BR2_i386 || BR2_x86_64
  39. select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
  40. help
  41. Pipeline for Intel IPU3.
  42. config BR2_PACKAGE_LIBCAMERA_PIPELINE_RKISP1
  43. bool "rkisp1 pipeline"
  44. depends on BR2_arm || BR2_aarch64
  45. select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
  46. help
  47. Pipeline for Rockchip ISP1.
  48. config BR2_PACKAGE_LIBCAMERA_PIPELINE_RPI_VC4
  49. bool "rpi/vc4 pipeline"
  50. depends on BR2_arm || BR2_aarch64
  51. depends on BR2_USE_WCHAR # boost (already enforced for gnutls)
  52. select BR2_PACKAGE_BOOST
  53. select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
  54. help
  55. Pipeline for Raspberry Pi devices.
  56. config BR2_PACKAGE_LIBCAMERA_PIPELINE_SIMPLE
  57. bool "simple pipeline"
  58. select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
  59. help
  60. Pipeline for simple pipelines.
  61. config BR2_PACKAGE_LIBCAMERA_PIPELINE_UVCVIDEO
  62. bool "uvcvideo pipeline"
  63. help
  64. Pipeline for uvcvideo devices.
  65. config BR2_PACKAGE_LIBCAMERA_PIPELINE_VIMC
  66. bool "vimc pipeline"
  67. select BR2_PACKAGE_LIBCAMERA_HAS_PIPELINE
  68. help
  69. Pipeline for the vimc device.
  70. config BR2_PACKAGE_LIBCAMERA_COMPLIANCE
  71. bool "lc-compliance test application"
  72. depends on BR2_USE_WCHAR # gtest
  73. depends on BR2_TOOLCHAIN_HAS_THREADS # gtest
  74. depends on BR2_INSTALL_LIBSTDCPP # gtest
  75. depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5 # gtest
  76. depends on BR2_USE_MMU # gtest
  77. select BR2_PACKAGE_GTEST
  78. select BR2_PACKAGE_LIBEVENT
  79. help
  80. lc-compliance test application
  81. comment "lc-compliance test application needs a toolchain w/ C++, wchar, threads, gcc >= 5"
  82. depends on BR2_USE_MMU
  83. depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || \
  84. !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_GCC_AT_LEAST_5
  85. endif # BR2_PACKAGE_LIBCAMERA
  86. comment "libcamera needs a toolchain w/ C++, threads, wchar, dynamic library, gcc >= 8"
  87. depends on BR2_PACKAGE_LIBCAMERA_ARCH_SUPPORTS
  88. depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS || \
  89. !BR2_TOOLCHAIN_GCC_AT_LEAST_8 || BR2_STATIC_LIBS || !BR2_USE_WCHAR