public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* V4L2 Colorspace for RGB formats
@ 2016-01-19 18:00 Nicolas Dufresne
  2016-01-19 21:47 ` Hans Verkuil
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Dufresne @ 2016-01-19 18:00 UTC (permalink / raw)
  To: Hans Verkuil; +Cc: Dimitrios Katsaros, linux-media

[-- Attachment #1: Type: text/plain, Size: 731 bytes --]

Hi Hans,

we are having issues in GStreamer with the colorspace in V4L2. The API
does not provide any encoding for RGB formats. The encoding matrix for
those is usually the identity matrix, anything else makes very little
sense to me. For example, vivid will declare a stream with RGB based
pixel format as having the default for sRGB colorspace, which lead to
non-identity syCC encoding.

Shall we simply ignore the encoding set by drivers when the pixel
format is RGB based ? To me it makes very little sense, but the code in
GStreamer is very generic and this wrong information lead to errors
when the data is converted to YUV and back to RGB.

https://bugzilla.gnome.org/show_bug.cgi?id=759624

cheers,
Nicolas

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-01-20  7:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-19 18:00 V4L2 Colorspace for RGB formats Nicolas Dufresne
2016-01-19 21:47 ` Hans Verkuil
2016-01-19 23:00   ` Nicolas Dufresne
2016-01-20  7:30     ` Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox