Michel Dänzer wrote:
> On Fri, 2008-02-15 at 01:45 +0100, Denis Oliver Kropp wrote:
>> Michel Dänzer wrote:
>>> So, while of course it's possible to define the order of the components
>>> of 24 bit RGB formats differently on big endian CPUs than on little
>>> endian CPUs, that is rather artificial and not directly related to
>>> endianness.
>> If you assume that the CPU can write 24 bit words at any byte address, 
>> it's endianness related :)
> 
> I'm not sure I follow - are you thinking of 24 bit CPUs? :) If not, how
> would you store 24 bit 'words' on a 32 bit CPU?

Right, using word here is not fully correct. I was thinking about CPUs which
support atomic stores of something shorter than their word, but longer than
one byte.

-- 
Best regards,
   Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to