[libcamera-devel,v2,0/2] Multiple colorimetry support for libcamerasrc.
mbox series

Message ID 20220809143531.7473-1-rishikeshdonadkar@gmail.com
Headers show
Series
  • Multiple colorimetry support for libcamerasrc.
Related show

Message

Rishikesh Donadkar Aug. 9, 2022, 2:35 p.m. UTC
GStreamer pipeline supports passing multiple colorimetry as a comma
separated list.

For Example :

gst-launch-1.0 libcamerasrc ! "video/x-raw,colorimetry={bt2020,bt709,sRGB}" ! glimagesink

In this case, if supported by the camera one of bt2020, bt709, sRGB
should be applied.

This series aims to adds multiple colorimetry support to the libcamera
gstreamer element.

---
changes form v1 to v2:
- Moved the function colorspace_from_colorimetry() from PATCH 1/2 to
  PATCH 2/2.
- Fixed spellings and grammar.
---

Rishikesh Donadkar (2):
  gstreamer: Provide ColorSpace => colorimetry mappings
  gstreamer: Add multiple colorimetry support

 src/gstreamer/gstlibcamera-utils.cpp | 223 ++++++++++++++++++++++++++-
 src/gstreamer/gstlibcamera-utils.h   |   4 +-
 src/gstreamer/gstlibcamerasrc.cpp    |   3 +-
 3 files changed, 224 insertions(+), 6 deletions(-)