[Bug 693175] ffmpegcolorspace: endianness inconsistency with 16-bit RGB

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Feb 6 06:21:22 PST 2013


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

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk
            Summary|Endianness inconsistency in |ffmpegcolorspace:
                   |ffmpegcolorspace caps       |endianness inconsistency
                   |                            |with 16-bit RGB
           Severity|normal                      |enhancement

--- Comment #4 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2013-02-06 14:21:17 UTC ---
Maybe I'm confused, but isn't it like this (in 1.0):

RGB16 = in bits inside an uint16_t: RRRR RGGG GGGB BBBB
BGR16 = in bits inside an uint16_t: BBBB BGGG GGGR RRRR

So basically both are a mirror image of each other, like LE/BE.

So if it's all expressed in terms of big endian:

BGR16 == BGR16_BE == RGB16_LE and
RGB16 == RGB16_BE == BGR16_LE

?

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