Hi guys,

I need a little help on a core part of evas.
I have compiled e* to make it run on this board:

http://www.sgrunt.net/files/pub/fotoAcaso/DSC_3279.JPG

It's arm board, with busybox (BusyBox v1.7.2) and a linux 2.6.21 kernel:
Linux (none) 2.6.21-label2 #13 Tue Nov 20 00:36:57 CET 2007 armv5tejl unknown

It works, but I have a problem in

EAPI Gfx_Func_Convert
evas_common_convert_func_get(DATA8 *dest, int w, int h, int depth,
DATA32 rmask, DATA32 gmask, DATA32 bmask, Convert_Pal_Mode pal_mode,
int rotation);

in evas_convert_main.c

It's called with these values:
dest 0x403a6000
w 240
h 320
rmask 1f
gmask 3e0
bmask 7c00
rotation 0

and none of the following condition is satisfied

if ((rmask == 0x0000f800) && (gmask == 0x000007e0) && (bmask == 0x0000001f))
....    
if ((rmask == 0x0000001f) && (gmask == 0x000007e0) && (bmask == 0x0000f800))
...
and so on.

I've tried to cheat and I've forced the return of
evas_common_convert_rgba_to_16bpp_rgb_555_dith.
You can see the result in the above pic... colors are swapped.

I had the same problem with qtopia: I had to patch and recompile the
qtopia src... all the color wasn't rgb but rather bgr.
Now it works.

apart from the wrng colors, I've a...

Program received signal SIGSEGV, Segmentation fault.
evas_common_convert_rgba_to_16bpp_rgb_555_dith (src=<value optimized out>,
    dst=<value optimized out>, src_jump=<value optimized out>,
    dst_jump=<value optimized out>, w=240, h=320, dith_x=0, dith_y=0, pal=0x0)
    at evas_convert_rgb_16.c:1659
1659       *dst_ptr = (r << 10) | (g << 5) | (b);

...but I think that is a evas_common_convert_func_get related problem.

Now I'm investigating on this, but I'm totally new to E and to
rgba|bpp|555|color stuff..
so... any suggestion from any one will be highly appreciated!!

tnxall

Mario

-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to