tests: Add unit test for MediaCodecTextureConverter


Exercises createTextureHandles() against a real MediaCodec hw decode
and a real offscreen GLES2 QRhi. Unlike VAAPI/VideoToolBox,
MediaCodec's AVHWFramesContext has no upload path (no
frames_get_buffer/transfer_data_to/from), so there is no
synthetic-frame shortcut: the test decodes real H.264/HEVC test clips
through the actual MediaCodec hwaccel path.

Covers the red-frame decode round-trip (NV12 and a P010) and texture
reuse across consecutive frames.

Pick-to: 6.12
Change-Id: I5a67a16620de20aedebe9f0b3f0967da33a187d0
Reviewed-by: Nils Petter Skålerud <nils.petter.skalerud@qt.io>
commit0cf83949b62e4df51022acc094b98c1bdfec48ca
parent5041c9838d3cf48546a3ce7b5f265e97d6ca878a
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeTue, 6 Oct 2026 03:05:39 +0000