[libcamera-devel] [PATCH v4 0/7] Colospace adjustment and gstreamer mapping
Umang Jain
umang.jain at ideasonboard.com
Tue Aug 30 09:47:18 CEST 2022
Changes in v4:
- Improve commit message in 1/7
- Use private static member function instead of unnamed namespace
in 3/7
- Rework the 6/7 test slightly and introduce failure logs
- comestic changes
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 | 5 +-
include/libcamera/internal/v4l2_videodevice.h | 3 +
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 | 184 ++++++++++--------
src/libcamera/v4l2_videodevice.cpp | 7 +
test/stream/meson.build | 1 +
test/stream/stream_colorspace.cpp | 96 +++++++++
11 files changed, 549 insertions(+), 118 deletions(-)
create mode 100644 test/stream/stream_colorspace.cpp
--
2.37.2
More information about the libcamera-devel
mailing list