[libcamera-devel] [PATCH 0/3] Support the new cros camera API

Paul Elder paul.elder at ideasonboard.com
Thu Feb 25 11:42:14 CET 2021


Between 13800 (was this the confirmed latest working version?) and
13801, the cros camera API was changed such that a
CROS_CAMERA_HAL_INFO_SYM symbol is required, with two function pointers
set_up and tear_down.

This patch series adds the meson plumbing, pulls in the necessary
headrs, and adds a simple cpp file to satisfy the new requirements.

Paul Elder (3):
  meson: Add cros build option
  include: aosp, cros: Pull in required headers for cros
  cros: Support the new cros camera API with set_up and tear_down

 include/aosp/gtest/gtest_prod.h               | 61 ++++++++++++++
 .../camera_mojo_channel_manager_token.h       | 22 ++++++
 include/cros/cros-camera/cros_camera_hal.h    | 79 +++++++++++++++++++
 include/cros/cros-camera/export.h             | 11 +++
 include/meson.build                           |  5 ++
 meson_options.txt                             |  5 ++
 src/android/meson.build                       |  5 ++
 src/cros/camera3_hal.cpp                      | 21 +++++
 src/cros/meson.build                          | 16 ++++
 src/libcamera/meson.build                     |  6 ++
 src/meson.build                               |  4 +
 11 files changed, 235 insertions(+)
 create mode 100644 include/aosp/gtest/gtest_prod.h
 create mode 100644 include/cros/cros-camera/camera_mojo_channel_manager_token.h
 create mode 100644 include/cros/cros-camera/cros_camera_hal.h
 create mode 100644 include/cros/cros-camera/export.h
 create mode 100644 src/cros/camera3_hal.cpp
 create mode 100644 src/cros/meson.build

-- 
2.27.0



More information about the libcamera-devel mailing list