[libcamera-devel,v9,0/8] Colour spaces
mbox series

Message ID 20211206105032.13876-1-david.plowman@raspberrypi.com
Headers show
Series
  • Colour spaces
Related show

Message

David Plowman Dec. 6, 2021, 10:50 a.m. UTC
Hi everyone

No great changes here, just a couple of updates from Jacopo - so
thanks for those! - and fixing a minor conflict in one of the build
files.

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                      |  59 ++++
 src/libcamera/camera_sensor.cpp               |   2 +
 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              |  21 +-
 src/libcamera/v4l2_videodevice.cpp            |  32 ++
 18 files changed, 769 insertions(+), 7 deletions(-)
 create mode 100644 include/libcamera/color_space.h
 create mode 100644 src/libcamera/color_space.cpp