Details
-
Bug
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
6.7.2
Description
QMultimedia UYVY rendering is in lower image quality than other formats, for example YUV422P.
Steps to reproduce the issue:
- Run the attached example application. ( qt_bug_report_uyvy.zip )
- The application opens a raw UYVY file ( raw_uyvy.bin ) and convert it into two formats, UYVY ( rgb_from_uyvy.png ) and YUV422P ( rgb_from_yuv422.png ).
- rgb_from_uyvy.png will show blurry and blocky image compared to rgb_from_yuv422.png.
The original application is using QtMultimedia to display a FullHD video, with getting UYVY frames from video feed from an external camera.
Since the image quality was lower than expected, the original reporter investigated it, and reported with the comments below:
Could this be caused by the shader that does the UYVY rendering?
https://github.com/qt/qtmultimedia/blob/6.8/src/multimedia/shaders/uyvy.frag
If the texture lookup uses linear interpolation, wouldn't this shader interpolate between alternating Y components in the texture?
This might also be related to the following commit:
https://github.com/qt/qtmultimedia/commit/d58b6b908ea130e9422b08b5b3b460b48da7d337