[Bug 693666] bayer: Caps for 16-bit Bayer

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri May 17 10:15:40 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=693666
  GStreamer | gst-plugins-bad | unspecified

--- Comment #2 from Joshua M. Doe <oss at nvl.army.mil> 2013-05-17 17:15:33 UTC ---
Just found the below bug which sort of depends on this one since the patch
there can do 16-bit Bayer:
https://bugzilla.gnome.org/show_bug.cgi?id=607342

Most Bayer cameras that are greater than 8-bit are actually 10- or 12-bits,
just stored in 16-bits. In these cases the new bayer2rgb would produce very
dark images. I've gone with the #1 approach above of using format=rggb16, but
we either need a way of indicating the actual bits used or another element that
will do the conversion before bayer2rgb. In 0.10 I might have suggested using
bpp and depth as part of the caps, but that's out for 1.0. Would a separate
element then be best?

I've written such an element, videolevels, for going from GRAY16 to GRAY8, but
ideally the demosaicing would be performed before going to 8-bits, so perhaps I
could extend my element to go from ARGB64 (the only 16-bit RGB format I can
find in GstVideo) to one of the RGB32 formats. Anyone interested in this?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list