<div dir="ltr"><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:large;color:rgb(7,55,99)">​​</div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:large;color:rgb(7,55,99)">Thank you Nicolas.</div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif;font-size:large;color:rgb(7,55,99)"><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif"><span style="font-size:large;color:rgb(7,55,99)">What about this element </span><font color="#0000ff"><a href="https://github.com/TheImagingSource/tiscamera/blob/master/src/gsttiswhitebalance.c">https://github.com/TheImagingSource/tiscamera/blob/master/src/gsttiswhitebalance.c</a> </font></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif"><font color="#0000ff"><br></font></div><div class="gmail_default"><font color="#073763" face="trebuchet ms, sans-serif" size="4">This is exactly what I want but this element is only available in Gstreamer-0.10 and I only working with 1.0</font><br></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif"><span style="color:rgb(7,55,99);font-size:large"><br></span></div><div class="gmail_default" style="font-family:'trebuchet ms',sans-serif"><span style="color:rgb(7,55,99);font-size:large">Best,</span></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 22, 2015 at 1:55 PM, Nicolas Dufresne <span dir="ltr"><<a href="mailto:nicolas.dufresne@collabora.com" target="_blank">nicolas.dufresne@collabora.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">Le vendredi 22 mai 2015 à 10:06 +0100, Hamdi Rakkez a écrit :<br>
> What can I possibly use for RGB correction when dealing with a bayer<br>
> video (Multiplying the Red, Green and blue by a certain coefficients)<br>
> in Gstreamer-1.0<br>
<br>
</span>If your correction fits into one of the standard colorimetry GStreamer<br>
support (see GstVideoColorimetry type in the documentation), you may<br>
just set that at the source. If you HW require a custom matrix, my<br>
suggestion would be to enhance bayer2rgb. You could add a property to<br>
pass the correction matrix, or find a way to add this information in<br>
the bayer caps fields (the second can be negotiated at least, it's<br>
easier if the matrix may change, or if you want to switch source<br>
keeping the same elements downstream).<br>
<br>
Nicolas<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div></div>