[gst-devel] endianness for video/x-raw-rgb

Ronald Bultje rbultje at ronald.bitfreak.net
Tue Oct 7 03:01:03 CEST 2003


Hi,

On Mon, 2003-10-06 at 19:41, Mariusz Kryński wrote:
> Why endianness for video/x-raw-rgb, 24/32 depth is set to big endian
> ("4321") for all architectures (in most plugins) ? Is this correct ?

David and Wim decided on that some time ago. I've never fully agreed on
this with them, but their idea was that 8-bit color formats needed to be
in byte order, not in host uint32 order. So always big-endian.

> Visualization plugins (goom, monoscope) has this property set to little
> endian, so I cannot link goom and colorspace for example. Another bug
> (?) - visualization plugins sink has mime type set to video/raw instead
> video/x-raw-rgb.

Oops, that's a bug. Can you file a bugzilla bug for that and attach a
patch please?

Thanks,

Ronald

-- 
Ronald Bultje <rbultje at ronald.bitfreak.net>
Linux Video/Multimedia developer





More information about the gstreamer-devel mailing list