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

Kieran Bingham kieran.bingham at ideasonboard.com
Tue Jul 7 01:02:32 CEST 2020


A (final?) spin for the multi-stream support in the Android Camera HAL
due to v4 being a complete flop and causing a double-free of the
Request, where I'm afraid to say I had forgotten that the internal core
handles the cleanup of that object.

Anyway, that's corrected in "Create the Request and
Camera3RequestDescriptor together", and now the multiple-streams are
operating again for me, where with some initial JPEG support on top, I
can successfully launch the native camera application again.

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 | 183 +++++++++++++++++++++-------------
 src/android/camera_device.h   |  13 +++
 3 files changed, 125 insertions(+), 73 deletions(-)

-- 
2.25.1



More information about the libcamera-devel mailing list