[libcamera-devel] [PATCH 0/3] Colour spaces

David Plowman david.plowman at raspberrypi.com
Thu Aug 5 16:21:51 CEST 2021


Hi everyone

In view of the discussion the other day, I thought perhaps I should
"de-RFC" these patches. There are no code changes beyond a very few
cosmetic things, and I added the missing documentation.

As such the patches are still:

1. Add the ColorSpace class.
2. Support the ColorSpace in V4L2VideoDevice.
3. Add ColorSpace support to RPi pipeline handler.

Thanks!
David

David Plowman (3):
  libcamera: Add ColorSpace class
  libcamera: Support passing ColorSpaces to V4L2 drivers
  libcamera: pipeline: raspberrypi: Support colour spaces

 include/libcamera/color_space.h               |  94 +++++++++
 include/libcamera/internal/v4l2_videodevice.h |   2 +
 include/libcamera/meson.build                 |   1 +
 include/libcamera/stream.h                    |   3 +
 src/libcamera/color_space.cpp                 | 180 ++++++++++++++++++
 src/libcamera/meson.build                     |   1 +
 .../pipeline/raspberrypi/raspberrypi.cpp      |  84 ++++++++
 src/libcamera/v4l2_videodevice.cpp            | 117 ++++++++++++
 8 files changed, 482 insertions(+)
 create mode 100644 include/libcamera/color_space.h
 create mode 100644 src/libcamera/color_space.cpp

-- 
2.20.1



More information about the libcamera-devel mailing list