FFmpeg: extract TextureBridge into QtMultimedia as QWindowsD3D11TextureBridge


QFFmpeg::TextureBridge implements synchronized D3D11 texture transfer
between two devices using a shared texture and keyed mutexes. It has
no FFmpeg-specific dependencies, so move it into QtMultimedia as
QtMultimediaPrivate::QWindowsD3D11TextureBridge, letting other Windows
backends reuse it instead of reimplementing the same pattern.

Use a finite mutex-acquire timeout instead of INFINITE, avoiding a
deadlock if the D3D device is lost between AcquireSync and
ReleaseSync.

Also extend the new D3D11TextureConverter test with the map() and
P010/BGRA coverage that the VAAPI and VideoToolbox converter tests
already have, so all three hw backends get the same test coverage.

Pick-to: 6.12
Change-Id: Ia604086cca197808d003aa89caaee3d485cc9bcf
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
commitfc5a1f0094589f567ed45ac39ad781858f506bcc
parent1b85acff1461cb8a209c84b2962640d7b17c94a4
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeWed, 30 Sep 2026 00:59:46 +0000