[libcamera-devel] [PATCH v2 0/4] Add colorimetry support to libcamera gstreamer element.

Rishikesh Donadkar rishikeshdonadkar at gmail.com
Thu Jul 7 11:43:58 CEST 2022


This series aims to add colorimetry support to the libcamera gstreamer
element.

If colorimetry is specified by the user in the gstreamer pipeline, try to
apply the libcamera colorspace corresponding to the GStreamer colorimetry
to the camera if the colorspace passes the validation then push the
colorimetry corresponding to the valid colorspace in the caps.
If the colorimetry pushed into the caps is same as requested negotiation
will succeed, else negotiation will fail.

If no colorimetry is specified by the user in the gstreamer pipeline,
push the GStreamer colorimetry corresponding to the current colorspace
applied to the camera into the caps and the negotiation will be take
care of by the gstreamer.


Rishikesh Donadkar (4):
  gstreamer: convert from libcamera colorspace toGStreamer colorimetry.
  gstreamer: Update the obtained colorimetry in caps.
  gstreamer:Convert between requested colorimetry and libcamera
    ColorSpace
  gstreamer: Configure the colorSpace in the Stream configuration.

 src/gstreamer/gstlibcamera-utils.cpp | 69 ++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)

-- 
2.25.1



More information about the libcamera-devel mailing list