Important color formats missing in QAbstractVideoSurface received from VideoOutput QML object



  • The list of supported color formats in the QAbstractVideoSurface received from a VideoOutput QML Object is the following for both desktop and Android:

    @Format_YUV420P
    Format_YV12
    Format_RGB565
    Format_RGB32
    Format_ARGB32
    Format_BGR32
    Format_BGRA32@

    Here, RGB888 (a.k.a RGB24 in the Qt world) and YUV420sp are missing. Once there are renderers (which I assume are GL renderers but I haven't checked the code) for RGB32 and YUV420p, I can think of no reason why RGB24 and YUV420sp are absent other than not spending time writing the code.

    Is there a good reason for omitting them (i.e cross-platform issues) or they would be added in the future?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.