[Development] QT through DirectFB on Video playback

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Thu Mar 20 18:47:25 CET 2014


An embedded video SoC based DFB setup will be something like this
(might vary a little for your specific board):

a) 1 background plane (typically lowest z order)
b) 1 or more video planes
c) 1 or more OSD planes

b and c z-order might be interchangeable via DFB.

Qt typically would run on either the primary or secondary OSD planes
(check your vendor docs for which plane it actually uses). Any video
playback would typically render frames on one of the video planes.

In order to run Qt UI and video together you would just need to make
the relevant area of the Qt application transparent. The h/w will
blend the video and OSD planes together and show it on the video port.
See the widget attributes (Qt::WidgetAttribute) for the exact
attribute to set (I think it was WA_NoSystemBackground).

HTH,
-mandeep

On Thu, Mar 20, 2014 at 6:52 PM, Poornima Belavanaki
<poori14apr at gmail.com> wrote:
> Hi ,
>
> We are developing Qt apps on embedded device. We are using DirectFB as
> windowing system .
>
> We have cross-compiled and developed few basic QT apps, which are working.
> Now, we want to get the qt apps on Video window through DirectFB.
> Basically, want to create directfb surface using QT app on Video playback as
> ours would be a Single application.
>
> How can we get QT apps running on Video playback through DirectFB? Our SoC
> vendor has given a sample tool to start Video playback through DirectFB.
>
> Hope the problem is clear. If not, please let me know, will try to provide
> more details.
>
> Thanks and Regards,
> Poornima



More information about the Development mailing list