Quoting Wood, David ([EMAIL PROTECTED]):
> Yep,
> Double checked, the Source formats per the avenger docs are:
>
> 0 - 1bit
> 1 - 8bit
> 3 - 16bit RGB
> 4 - 24bit RGB
> 5 - 32bit RGB
> 8 - Packed 4:2:2 YUYV
> 9 - Packed 4:2:2 UYVY
>
> Destination Formats are:
>
> 1 - 8bpp
> 3 - 16bpp
> 4 - 24bpp
> 5 - 32bpp
>
> So, if DFB_PIXELFORMAT_INDEX is returning a value of 1 for a 16bpp source,
> it presents an issue.
There's a lookup table in the driver:
static int blitFormat[] = {
2, /* DSPF_RGB15 */
3, /* DSPF_RGB16 */
4, /* DSPF_RGB24 */
5, /* DSPF_RGB32 */
5, /* DSPF_ARGB */
0 /* DSPF_A8 */
};
So it should work.
--
Best regards,
Denis Oliver Kropp
.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/ |
"------------------------------------------"
convergence integrated media GmbH
--
Info: To unsubscribe send a mail to [EMAIL PROTECTED] with
"unsubscribe directfb-dev" as subject.