tests: Add unit test for VideoToolBox / VAAPI TextureConverter


Exercises create()/createTextureHandles() against a real VideoToolbox hw
frame and a real offscreen Metal / EGL QRhi.

Covers pixel-accurate round-tripping of both NV12 planes, and the
retention behavior, which must keep the underlying buffers alive after
the source AVFrame/AVHWFramesContext is destroyed.

To simplify the implementation, we add a few rhi support functionalities
to MultimediaTestLibPrivate to allow us to create offscreen surfaces and
read planes from native textures.

Pick-to: 6.12
Change-Id: I17a167c8dc6f2e9fd5f185e52088d695d21d9b7f
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
commit95ad2cea480c796b6867a5ac6beec64b4621d1cd
parent13557bd5332bdb3e21417fa9b0f47f2f8d19efef
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeMon, 21 Sep 2026 13:51:38 +0000