On Tue, 24 Jul 2012 03:32:25 -0400 (EDT) [email protected] said: > Hi everybody, > > I work actually on a set-top-box little endian with a 24-bit depth > framebuffer (evas version 1.2.1). I noticed there are no conversion between > little endian and big endian (my color was inverted). I propose a patch to > handle the endianness for this depth (I test only the > evas_common_convert_rgba_to_24bpp_rgb_888 fonction).
hmm this is wrong. as its writing 1 byte at a time and advancing 3 bytes a time this has nothing to do with endianess. your 24bit framebuffer (unusual these days) is literally BGR nor RGB. not an endianess matter (it would be if we were writing int's (32bits) at a time). :) ie uw ant to be using evas_common_convert_rgba_to_24bpp_rgb_888() instead of evas_common_convert_rgba_to_24bpp_bgr_888()... or the other way around - i have no idea which one is being used in your case - but something is telling the evas convert subsystem to use the wrong 24bpp format for your hardware. :) -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [email protected] ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
