[gstreamer-bugs] [Bug 620412] [video] Incomplete support for 15 and 16 bit RGB and BGR formats

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Jun 7 05:34:22 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=620412
  GStreamer | gst-plugins-base | git

--- Comment #8 from martin.bisson at gmail.com 2010-06-07 12:34:16 UTC ---
The reason I did the things like I did what because all the RGB/BGR 24/32
format caps are defined using endianness=BIG_ENDIAN, but the RGB 15/16 formats
use endianness=BYTE_ORDER in current video.h.

So if the proper way to make this is to stick to BIG_ENDIAN like the other
formats (althought this might be kind of weird because as David said earlier,
big endian is getting to be rare), then the masks would also have to be
adjusted to be expressed in big endian, instead of native endianness as they
are now.

I could obviously do pretty much the same task using little endianness, which
might make for "practical" sense, althought the other RGB format caps are
defined with big endianness format.

The task to make the format respect one endianness is obviously pretty much the
same, I just wonder weither it's better to use big endian (like other RGB
formats) or little endian (that might be a more probable possibility).

-- 
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