From: Unger R. <ric...@te...> - 2006-06-28 13:02:43
|
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 =20 > -----Urspr=FCngliche Nachricht----- > Von: lin...@li...=20 > [mailto:lin...@li...] Im=20 > Auftrag von Niklas Fondberg > Gesendet: Dienstag, 27. Juni 2006 16:39 > An: lin...@li... > Betreff: [Linux-fbdev-users] graphic overlay/mixing question >=20 > Hi all, > I have a question that might be off topic but after searching=20 > the net and mailing lists I give in and hope for some help on=20 > this list. >=20 > I wonder what the best way to mix graphics written to a=20 > framebuffer over decoded video is. I can't change the way the=20 > graphics is written to the device, it has to be directly to a=20 > linux framebuffer device. >=20 > My hope is that there are some generic way of doing it=20 > without bying a fancy XYZ graphics card but if I must I'll do that. >=20 > Flow overview: > userapp -> /dev/fb1 > player -> /dev/fb0 > The graphics would be either with CHROMAKEY transparency=20 > 16bpp or 32 bpp ARGB >=20 > Kind regards > Niklas Fondberg >=20 >=20 > Using Tomcat but need to do more? Need to support web=20 > services, security? > Get stuff done quickly with pre-integrated technology to make=20 > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on=20 > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057& > dat=3D121642 > _______________________________________________ > Linux-fbdev-users mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linux-fbdev-users >=20 |