Multimedia: Extract generic DMABUF EGL texture importer
Move the EGL/GL DMABUF texture import machinery out of the
FFmpeg plugin and into the qtmultimedia library. This allows us to reuse
it in future independently from the FFmpeg codebase.
VAAPITextureConverter now only exports VASurface planes into a
DmaBufPlane array and delegates the EGLImage/GL work to the shared
importer.
Pick-to: 6.12
Change-Id: I22633944f11ce064c0b622be7f60567570dbb7f9
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
| commit | 87d7a38a4ad62ccbcc8b21aa63af26de5ad8e3d3 |
| parent | d2ae2aa07b40126158323de50da7060faa86e1db |
| author | Tim Blechmann <tim.blechmann@qt.io> |
| committer | Tim Blechmann <tim.blechmann@qt.io> |
| commit time | Thu, 3 Sep 2026 03:09:47 +0000 |
- M src/multimedia/CMakeLists.txt
- M src/multimedia/qmultimedia_ranges_p.h
- A src/multimedia/video/qdmabuftextureimporter.cpp
- A src/multimedia/video/qdmabuftextureimporter_p.h
- M src/multimediatestlib/CMakeLists.txt
- A src/multimediatestlib/udmabuftestutils.cpp
- A src/multimediatestlib/udmabuftestutils_p.h
- M src/plugins/multimedia/ffmpeg/CMakeLists.txt
- M src/plugins/multimedia/ffmpeg/qffmpeghwaccel_vaapi.cpp
- M src/plugins/multimedia/ffmpeg/qffmpeghwaccel_vaapi_p.h
- M tests/auto/unit/multimedia/CMakeLists.txt
- A tests/auto/unit/multimedia/qdmabuftextureimporter/CMakeLists.txt
- A tests/auto/unit/multimedia/qdmabuftextureimporter/tst_qdmabuftextureimporter.cpp