[libcamera-devel] [PATCH v3 0/7] Colorspace adjustments and gstreamer mappings
Umang Jain
umang.jain at ideasonboard.com
Mon Aug 29 18:37:35 CEST 2022
Changes in v3:
- Patch 5/7 "Move colorspace adjustment to ColorSpace class" overhauled
- New patch 3/7 "libcamera: v4l2_videodevice: Improve toColorSpace()
readability"
- Patch 2/7 - picks default colorspace if subdev format is not found
Rishikesh Donadkar (1):
gstreamer: Provide colorimetry <> ColorSpace mappings
Umang Jain (6):
libcamera: v4l2_subdevice: Add color encoding for media bus formats
libcamera: v4l2_device: Adjust colorspace based on pixel format
libcamera: v4l2_videodevice: Improve toColorSpace() readability
libcamera: colorspace: Rectify the ColorSpace::Srgb preset
libcamera: color_space: Move color space adjustment to ColorSpace
class
tests: stream: Add a colorspace adjustment test
include/libcamera/color_space.h | 4 +
include/libcamera/internal/v4l2_device.h | 15 +-
src/gstreamer/gstlibcamera-utils.cpp | 169 ++++++++++++++++++++
src/libcamera/camera.cpp | 43 +++---
src/libcamera/color_space.cpp | 119 ++++++++++++++-
src/libcamera/v4l2_device.cpp | 36 ++++-
src/libcamera/v4l2_subdevice.cpp | 186 +++++++++++++----------
src/libcamera/v4l2_videodevice.cpp | 19 ++-
test/stream/meson.build | 1 +
test/stream/stream_colorspace.cpp | 87 +++++++++++
10 files changed, 552 insertions(+), 127 deletions(-)
create mode 100644 test/stream/stream_colorspace.cpp
--
2.37.2
More information about the libcamera-devel
mailing list