[libcamera-devel] [PATCH v3 0/8] android: Multi-stream support

Kieran Bingham kieran.bingham at ideasonboard.com
Fri Jul 3 14:39:11 CEST 2020


The third iteration for multi-stream support.

Following the review comments this morning, things are tidied, and
cleaned up and could almost be ready for consumption.

With this series, and further work on top to support creation of JPEG
streams I have been able to run the native Chrome camera application
again.

An unrelated change to notifyError has been removed from this series,
and the unused halStream in the CameraStream has been removed. Also the
CameraStream vector is now clear()ed and resize()d on entry to the
configuration function to ensure it's consistent on every call to
configrue streams.

Aside from that, it's just cleanup and fixups.

Kieran Bingham (8):
  libcamera: camera: Allow unspecified roles for generateConfiguration
  android: camera_device: Provide a toPixelFormat helper
  android: camera_device: Support multiple stream configurations
  android: camera_device: Simplify FrameBuffer construction from a
    buffer_handle_t
  android: camera_device: Create the Request and
    Camera3RequestDescriptor together
  android: camera_device: Maintain a vector of CameraStream
  android: camera_device: Add buffers for each stream to Requests
  android: camera_device: Remove single buffer restriction.

 include/libcamera/camera.h    |   2 +-
 src/android/camera_device.cpp | 172 ++++++++++++++++++++--------------
 src/android/camera_device.h   |  12 +++
 3 files changed, 114 insertions(+), 72 deletions(-)

-- 
2.25.1



More information about the libcamera-devel mailing list