VideoFrameEncoderUPtr: simplify hw device type getter
`getHwDeviceType` returned an iterator, which leads to an interface with
a lot of shared state.
We simplify it by converting it to a free function without the need for
context. It will require one additional lookup in the deviceTypes list,
but this list is short and the scoring could eventually be moved to an
extra lookup table
Pick-to: 6.12
Change-Id: I00518a0b3c1eb7d0843f888519f7f2ee294d98bc
Reviewed-by: Artem Dyomin <artem.dyomin@qt.io>
| commit | 467fc0e26aa0864aaaaeff500a798f1b5ae77599 |
| parent | 6cdbd57e0a2663aada1c5a1a52357ead68ab04a9 |
| author | Tim Blechmann <tim.blechmann@qt.io> |
| committer | Tim Blechmann <tim.blechmann@qt.io> |
| commit time | Tue, 11 Aug 2026 12:34:39 +0000 |