[libcamera-devel] [PATCH v2 0/9] android: Multi-stream support

Kieran Bingham kieran.bingham at ideasonboard.com
Thu Jul 2 23:36:45 CEST 2020


A second (hopefully less RFC) iteration of my multi-stream work which I
needed to work on to progress MJPG support on the Android HAL.

Because of this, you'll notice that the multi-stream support here
already supports exposing different stream indexes for the libcamera
streams than the camera3 indexes requested.

This allows extra streams to be created later to support MJPG, or for an
MJPG stream to reference an existing stream.

Kieran Bingham (9):
  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.
  android: camera_device: Report an error in notifyError()

 include/libcamera/camera.h    |   2 +-
 src/android/camera_device.cpp | 164 ++++++++++++++++++++--------------
 src/android/camera_device.h   |   7 ++
 3 files changed, 103 insertions(+), 70 deletions(-)

-- 
2.25.1



More information about the libcamera-devel mailing list