Android: QVideoFrame::map succeeds, yet buffer contains only zero values
-
wrote on 2 Mar 2017, 07:34 last edited by
Hello!
I have created a simple QtQuick 2 application which displays a Camera preview using a VideoOutput with a filter attached to it. The VideoOutput shows the expected preview image.
Within the QVideoFilterRunnable::run() method I'm successfully calling the map() method on the provided QVideoFrame input parameter. However the buffer pointed to by QVideoFrame::bits() only contains zeros. This does not happen if the application runs in the Android simulator (which has OpenGL turned off).
Is there a known issue regarding the mapping of OpenGL video data?
Christian
-
wrote on 2 Mar 2017, 15:42 last edited by
Adding the Mali-T860 chipset to the blacklist solved the issue. Should I file a pull request?
-
wrote on 2 Mar 2017, 14:29 last edited by
Browsing through the Qt sources I've discovered, that certain GPU chipsets get a special treatment. Among others there are the chipsets Mali-T720 and Mali-T760. My device is equipped with a Mali-T860. I'll add that one to the blacklist as well and see where it gets me.
Christian
-
wrote on 2 Mar 2017, 15:42 last edited by
Adding the Mali-T860 chipset to the blacklist solved the issue. Should I file a pull request?
-
Lifetime Qt Championwrote on 2 Mar 2017, 21:53 last edited by SGaist 3 Feb 2017, 21:53
Hi and welcome to devnet,
You can, but before doing it just check whether the 5.9 branch already contains it.
-
Just in case, since you are talking about a pull request, the development is not done on GitHub you have to use Gerrit to get your patch reviewed an possibility integrated.
-
wrote on 3 Mar 2017, 14:33 last edited by
-
Thanks !
2/7