[libcamera-devel] [PATCH v2 00/12] android: camera_device: Fix JPEG/RAW sizes
Jacopo Mondi
jacopo at jmondi.org
Wed Sep 2 17:22:24 CEST 2020
Hello,
this series includes what was sent as
[PATCH 0/5] android: camera_device: List JPEG/RAW correct resolutions
[RFC 0/7] android: camera_device: Turn CameraStream into a class
thanks to Kieran super-speedy review I can now send both of them in
a single iteration.
Merging the two cover letters, the series addresses the following issues:
Patches 01->05:
- Claim support for JPEG sizes based on the supported YCbCr_888 sizes.
- Enumerate the RAW sizes
Patches 06->12
The goal is to make CameraStream a class which provides a read-only interface
and enforce the creation of CameraStream instances only when all the requested
information (size, format and associated libcamera::StreamConfiguration index)
are available. In the hope this paves ahead to ease introducing more HAL-only
streams by making the CameraStream class the intermediate representation of an
Android stream mapped to a libcamera stream.
Thanks
j
Jacopo Mondi (12):
android: camera_device: Refuse unsupported formats
android: camera_device: Generate JPEG sizes
android: camera_device: Add debug to stream initialization
android: camera_device: Break out size calculation
android: camera_device: Generate RAW resolutions
libcamera: camera_configuration: Return config index
android: camera_device: Get rid of stream counter
android: camera_device: Use camera3 stream format
android: camera_device: Use Android format
android: camera_device: Rework CameraStream handling
android: camera_device: Set Encoder at construction
android: camera_device: Make CameraStream a class
include/libcamera/camera.h | 2 +-
src/android/camera_device.cpp | 221 +++++++++++++++++++++++-----------
src/android/camera_device.h | 30 +++--
src/libcamera/camera.cpp | 5 +-
4 files changed, 175 insertions(+), 83 deletions(-)
--
2.28.0
More information about the libcamera-devel
mailing list