[Pixman] image byte order?

Søren Sandmann sandmann at cs.au.dk
Fri Oct 12 12:51:51 PDT 2012


Jonathan Morton <jonathan.morton at movial.com> writes:

>> > The 24-bit formats are not.
>> 
>> So PIXMAN_r8g8b8 has the red byte first no matter what the endian is,
>> correct?
>
> Yes.  This is potentially useful for subpixel antialiasing masks, BTW.

The 24 bit formats are native endian as well, so PIXMAN_r8g8b8 is a
sequence of [r, g, b] bytes on big endian, and a sequence of [b, g, r]
bytes on little endian.


Søren


More information about the Pixman mailing list