PipeWire: make video format helpers reusable


Move toQtPixelFormat(), toSpaVideoFormat() and rateFromFps() out of
QPipeWireCaptureHelper into a standalone qpipewire_videoformat_support,
and add unit tests covering the pixel-format mapping and NTSC-aware
frame rate rounding.
This allows us to reuse it for future pipewire camera support.

Pick-to: 6.12
Change-Id: Ib2cfb0e181b3712c38b99aecea6ed58030df5928
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
commitd5316dee64c9ecf86808812ab0fad7da5c3f6f8b
parent8f567348aba4525adeda5a3fba5e729192ca5e1b
authorTim Blechmann <tim.blechmann@qt.io>
committerTim Blechmann <tim.blechmann@qt.io>
commit timeWed, 2 Sep 2026 11:07:21 +0000