Glamo 3362

andrzej zaborowski balrogg at gmail.com
Tue Sep 23 02:50:50 CEST 2008


2008/9/23 Andy Green <andy at openmoko.com>:
> Somebody in the thread at some point said:
> | Hi, I want to know some information about "glamo files".
> |
> | I want to draw directly a RGB image on the OM screen. Some code like
> |
> http://repo.or.cz/w/mplayer/glamo.git?a=tree;f=drivers/libglamo;h=c268ca2a4a98517b6e218669b0a46d2dad737abb;hb=HEAD,
>
> | do the same task but with a YUV image.

That code takes a rectangle in YUV space and writes it somewhere else
in the same framebuffer converted to RGB space, optionally scalling
it.  Do you mean you want something that only copies/scales RGB
rectangles without conversion?
Dodji Seketeli's Xglamo does that, see particularly GLAMOCopy() in
http://cgit.freedesktop.org/~dodji/xglamo/tree/hw/kdrive/glamo/glamo_draw.c?id=8122cc73cc11e011d38144fc77226c37670ef938

>> I can't find a way to implement
> | that I wish. I have seeked in the glamo-regs.h but I don't really find
> | my happiness. So I want to know if the regs are all listed in the
> | glamo-regs.h?

It was written by Harald, it has all the memory map known to Openmoko
Inc. by means of documentation.

>
> I forward this to Andrzej, he did the mplayer stuff and is familiar with
> this part of Glamo; maybe he can help you.

CCed the list so it's searchable (second try).

>
> - -Andy
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
>
> iEYEARECAAYFAkjYFu0ACgkQOjLpvpq7dMoTDQCdHCol//vOI5sztGyJCrpRBY0R
> KpsAnjWjU4ic2+Tz9TnprhOKoWKzLbuT
> =0nSO
> -----END PGP SIGNATURE-----
>

Regards



More information about the devel mailing list