diff options
author | Tomasz Olszak <olszak.tomasz@gmail.com> | 2017-06-13 11:24:47 +0200 |
---|---|---|
committer | VaL Doroshchuk <valentyn.doroshchuk@qt.io> | 2018-01-15 08:39:28 +0000 |
commit | d58b6b908ea130e9422b08b5b3b460b48da7d337 (patch) | |
tree | 3c0edf6f46ea880a451dd975125649527ee8d288 /src/plugins/directshow/player/directshowplayerservice.cpp | |
parent | b9440a3047cfca9ae253e850db31b8e9b08538e7 (diff) |
Improve quality of YUVY and UYVY rendering
Idea is to upload YUYV/UYVY data as 2 textures and use GL_LINEAR like
in biplanar formats. Having proper interpolation of only one texture
(using e.g. mix function) resulted in vertical and horizontal 1 pixel
stripes depending on scale. The reason was float precision and
unexpected value of fract function. Additionally branching in shader
is expensive so this solution should be more performant.
Task-number: QTBUG-62155
Change-Id: I7ceeb09b4a54eecd16640a626b499d638b52c127
Reviewed-by: Christian Stromme <christian.stromme@qt.io>
Diffstat (limited to 'src/plugins/directshow/player/directshowplayerservice.cpp')
0 files changed, 0 insertions, 0 deletions