[libcamera-devel,RFC,0/4] Colorspace adjustments and gstreamer mapping
mbox series

Message ID 20220802185719.380855-1-umang.jain@ideasonboard.com
Headers show
Series
  • Colorspace adjustments and gstreamer mapping
Related show

Message

Umang Jain Aug. 2, 2022, 6:57 p.m. UTC
RFC for first three patches and v3 for gstreamer mappings.

Mainly the first 3 patches, adjusts ColorSpace::Srgb to define
a sRGB colorspace space. It also accompanied with a colorspace
adjustment API if sRGB is used with YUV. More such adjustments
can be built on top using the ColorSpace::adjust(StreamConfiguration)
API.

Rishikesh Donadkar (1):
  gstreamer: Provide colorimetry <> ColorSpace mappings

Umang Jain (3):
  libcamera: colorspace: Rectify ColorSpace::Srgb preset
  libcamera: colorspace: Adjust colorspace of YUV streams
  tests: stream: Add a colorspace adjustment test

 include/libcamera/color_space.h      |   6 +
 src/gstreamer/gstlibcamera-utils.cpp | 176 +++++++++++++++++++++++++++
 src/libcamera/camera.cpp             |  11 ++
 src/libcamera/color_space.cpp        |  70 ++++++++++-
 src/libcamera/v4l2_device.cpp        |   2 -
 test/stream/meson.build              |   1 +
 test/stream/stream_colorspace.cpp    |  57 +++++++++
 7 files changed, 315 insertions(+), 8 deletions(-)
 create mode 100644 test/stream/stream_colorspace.cpp

Comments

Umang Jain Aug. 12, 2022, 11:53 a.m. UTC | #1
Hi all,

On 8/3/22 00:27, Umang Jain wrote:
> RFC for first three patches and v3 for gstreamer mappings.
>
> Mainly the first 3 patches, adjusts ColorSpace::Srgb to define
> a sRGB colorspace space. It also accompanied with a colorspace
> adjustment API if sRGB is used with YUV. More such adjustments
> can be built on top using the ColorSpace::adjust(StreamConfiguration)
> API.


anybody interested to review the series? Perhaps David, Laurent based on 
the previous discussions we had?

Thank you!

--

Umang

> Rishikesh Donadkar (1):
>    gstreamer: Provide colorimetry <> ColorSpace mappings
>
> Umang Jain (3):
>    libcamera: colorspace: Rectify ColorSpace::Srgb preset
>    libcamera: colorspace: Adjust colorspace of YUV streams
>    tests: stream: Add a colorspace adjustment test
>
>   include/libcamera/color_space.h      |   6 +
>   src/gstreamer/gstlibcamera-utils.cpp | 176 +++++++++++++++++++++++++++
>   src/libcamera/camera.cpp             |  11 ++
>   src/libcamera/color_space.cpp        |  70 ++++++++++-
>   src/libcamera/v4l2_device.cpp        |   2 -
>   test/stream/meson.build              |   1 +
>   test/stream/stream_colorspace.cpp    |  57 +++++++++
>   7 files changed, 315 insertions(+), 8 deletions(-)
>   create mode 100644 test/stream/stream_colorspace.cpp
>