Qt on Android: How to create a zero-copy Android SurfaceTexture QML item

Android SurfaceTexture is used by all Android classes that need to display (a lot of) frames, it can be used to display media player, camera, etc. You can also use it in combination with other players: OpenMAX, VLC, etc. (well, VLC and other C++ player are using MediaCodec) to decode the images directly to our SurfaceTexture. As you can see it’s pretty useful.

 

Visit this Website to see how it goes:

https://www.kdab.com/qt-android-create-zero-copy-android-surfacetexture-qml-item/