FFmpeg: extend hw texture-converter tests with map() and P010/BGRA
The VAAPI and VideoToolbox hw texture-converter tests only ever
exercised NV12, and only the GPU texture-import path, leaving both
the CPU QVideoFrame::map() fallback and the other pixel formats /
QVideoFrameFormat mappings the pipeline actually supports (10-bit
P010, single-plane BGRA8888) completely untested.
Extend all three converters' tests to also cover the map() path, and
to run against P010 and BGRA8888 in addition to NV12.
Pick-to: 6.12
Change-Id: Ie9fd7c4cdddb15408b2a6302c8b9820186d00fe1
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
| commit | 5a7caf4440919abee91074c2408aa8bd8b68ce6a |
| parent | aa3c9bf83d4d903ad8dcf1fdb59bdb0770623bbf |
| author | Tim Blechmann <tim.blechmann@qt.io> |
| committer | Tim Blechmann <tim.blechmann@qt.io> |
| commit time | Tue, 29 Sep 2026 13:46:24 +0000 |
- M src/multimediatestlib/CMakeLists.txt
- A src/multimediatestlib/qvideoframetestutils.cpp
- A src/multimediatestlib/qvideoframetestutils_p.h
- M tests/auto/unit/plugins/multimedia/ffmpeg/qvaapitextureconverter/tst_qvaapitextureconverter.cpp
- M tests/auto/unit/plugins/multimedia/ffmpeg/qvideotoolboxtextureconverter/tst_qvideotoolboxtextureconverter.cpp
- M tests/auto/unit/plugins/multimedia/ffmpeg/shared/CMakeLists.txt
- A tests/auto/unit/plugins/multimedia/ffmpeg/shared/hwframecontext_p.h
- D tests/auto/unit/plugins/multimedia/ffmpeg/shared/nv12hwframecontext_p.h