GNOME Bugzilla – Bug 406046
[PATCH] more HOST_ENDIAN video caps in video.h
Last modified: 2007-12-10 03:28:52 UTC
The attached patch adds HOST_ENDIAN caps for all the 32-bit formats. I only wanted GST_VIDEO_CAPS_ARGB_HOST_ENDIAN myself, but why not all them all.
Created attachment 82213 [details] [review] patch for video.h
Using endianness dependent formats for 32-bit video is almost always wrong. There are a few cases where someone wrote a library without understanding that video cards (and thus X) only care about memory order. I don't think the existing HOST_ENDIAN macros make sense.