Re: graphic overlay/mixing question
"Unger Richard" <[email protected]> Wed, 28 Jun 2006 15:02:08 +0200
| Newsgroups | gmane.linux.fbdev.user |
|---|---|
| Message-ID | <[email protected]> |
Hi! AFAIK what you want is not that easy - blending between two framebuffers is not a function that is part of the standard kernel. Some hardware and framebuffer driver combinations may present the different layers supported by the hardware as separate framebuffer interfaces (fb0, fb1). In this case fb0 might be the graphics layer, and fb1 might be the videolayer. By setting the right parameters in the framebuffer driver it may be possible to blend between the layers. All this depends completely on the hardware though. A much better option would be to use something like DirectFB - with this library you can mix different layers of graphics and video in a flexible way, and it operates accellerated on most common hardware. This option would require your software to support DirectFB though, so that may not be an option. Richard > -----Ursprüngliche Nachricht----- > Von: [email protected] > [mailto:[email protected]] Im > Auftrag von Niklas Fondberg > Gesendet: Dienstag, 27. Juni 2006 16:39 > An: [email protected] > Betreff: [Linux-fbdev-users] graphic overlay/mixing question > > Hi all, > I have a question that might be off topic but after searching > the net and mailing lists I give in and hope for some help on > this list. > > I wonder what the best way to mix graphics written to a > framebuffer over decoded video is. I can't change the way the > graphics is written to the device, it has to be directly to a > linux framebuffer device. > > My hope is that there are some generic way of doing it > without bying a fancy XYZ graphics card but if I must I'll do that. > > Flow overview: > userapp -> /dev/fb1 > player -> /dev/fb0 > The graphics would be either with CHROMAKEY transparency > 16bpp or 32 bpp ARGB > > Kind regards > Niklas Fondberg > > > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > dat=121642 > _______________________________________________ > Linux-fbdev-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/linux-fbdev-users > Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642