[libcamera-devel] [PATCH v8 0/8] Colour spaces
David Plowman
david.plowman at raspberrypi.com
Wed Dec 1 16:44:26 CET 2021
Hi everyone
This version of this patch set takes most of Jacopo's suggestions from
his recent reviews, so thanks very much for those!
The most obvious difference is that the patch which adds a ColorSpace
to the V4L2SubdeviceFormat has been broken into two. The first adds
the field and fixes some brace initializers that were broken; the
second actually deals with handing the ColorSpace to/from V4L2. I
thought it might be a bit clearer like that.
Best regards
David
David Plowman (8):
libcamera: Add ColorSpace class
libcamera: Add ColorSpace fields to StreamConfiguration
libcamera: Convert between ColorSpace class and V4L2 formats
libcamera: Support passing ColorSpaces to V4L2 video devices
libcamera: Add colorSpace field to V4L2SubdeviceFormat
libcamera: Support passing ColorSpaces to V4L2 subdevices
libcamera: Add validateColorSpaces to CameraConfiguration class
libcamera: pipeline: raspberrypi: Support color spaces
include/libcamera/camera.h | 2 +
include/libcamera/color_space.h | 69 ++++
include/libcamera/internal/v4l2_device.h | 7 +
include/libcamera/internal/v4l2_subdevice.h | 2 +
include/libcamera/internal/v4l2_videodevice.h | 2 +
include/libcamera/meson.build | 1 +
include/libcamera/stream.h | 3 +
src/libcamera/camera.cpp | 69 ++++
src/libcamera/camera_sensor.cpp | 1 +
src/libcamera/color_space.cpp | 305 ++++++++++++++++++
src/libcamera/meson.build | 1 +
src/libcamera/pipeline/ipu3/cio2.cpp | 7 +-
.../pipeline/raspberrypi/raspberrypi.cpp | 43 +++
src/libcamera/pipeline/simple/simple.cpp | 8 +-
src/libcamera/stream.cpp | 20 ++
src/libcamera/v4l2_device.cpp | 192 +++++++++++
src/libcamera/v4l2_subdevice.cpp | 25 +-
src/libcamera/v4l2_videodevice.cpp | 32 ++
18 files changed, 782 insertions(+), 7 deletions(-)
create mode 100644 include/libcamera/color_space.h
create mode 100644 src/libcamera/color_space.cpp
--
2.30.2
More information about the libcamera-devel
mailing list