[libcamera-devel,v5,0/8] android: Multi-stream support
mbox series

Message ID 20200706230240.2482100-1-kieran.bingham@ideasonboard.com
Headers show
Series
  • android: Multi-stream support
Related show

Message

Kieran Bingham July 6, 2020, 11:02 p.m. UTC
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(-)