Home Products Download Order Contacts

comp.graphics.algorithms

Subject: Re: Help with blit bug!



> I have written a 16bit 565 50% blend blit for an embedded device but
> it's got a bug I am having trouble with. I am trying to process two
> pixels at once but the pixels seem to blit in a swapped order on the
> device. Is there something wrong with this code or is it a device issue
> where I would have to swap the pixels before blitting? In that case
> would I be better offer processing a pixel at time?

Propably an endianness issue. For example, if your device is little
endian and the data is high endian, you get wrong results. I assume
RGB565_32_A128 zeros the lowest bit of each r,g and b field?

--
Kalle Rutanen
http://kaba.hilvi.org

Reply


View All Messages in comp.graphics.algorithms

path:
Help with blit bug! =>

Replies:
Re: Help with blit bug!

Copyright 2006 WatermarkFactory.com. All Rights Reserved.