[Interest] QML and video

Ola Røer Thorsen ola at silentwings.no
Fri Jan 17 13:43:29 CET 2014


Not directly answering your question Jeff, but anyway, I recommend looking
into using bc-cat on the SGX if possible.

http://processors.wiki.ti.com/index.php/OpenGLES_Texture_Streaming_-_bc-cat_User_Guide

You will have to write your own video render item for Qt Quick, because you
need a special texture lookup in the fragment shader (it's not a regular
texture). Also you need a custom video surface class (inheriting
QAbstractVideoSurface), that will upload the texture for you using bc-cat.

Apart from the faster texture uploads, bc-cat also automatically converts
YUV to RGB for you so there is no need for YUV-RGB conversions in the
shader (also faster).

Cheers,
Ola







2014/1/17 Lopes Yoann <Yoann.Lopes at digia.com>

>  On which platform are you? Embedded Linux using GStreamer as multimedia
> backend?
>
>
> Yoann Lopes
> Senior Software Engineer - Digia, Qt
> Visit us on: http://qt.digia.com
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140117/91a28512/attachment.html>


More information about the Interest mailing list