mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-16 21:51:17 +00:00
Fix accuracy issues in YUV to RGB conversion of 10-bit content in D3D11VA
See #1667 for details.
This commit is contained in:
Binary file not shown.
@@ -2,14 +2,14 @@
|
||||
|
||||
static const min16float3x3 cscMatrix =
|
||||
{
|
||||
1.1644, 1.1644, 1.1644,
|
||||
0.0, -0.1874, 2.1418,
|
||||
1.6781, -0.6505, 0.0,
|
||||
1.1678, 1.1678, 1.1678,
|
||||
0.0, -0.1879, 2.1481,
|
||||
1.6836, -0.6524, 0.0,
|
||||
};
|
||||
|
||||
static const min16float3 offsets =
|
||||
{
|
||||
16.0 / 255.0, 128.0 / 255.0, 128.0 / 255.0
|
||||
64.0 / 1023.0, 512.0 / 1023.0, 512.0 / 1023.0
|
||||
};
|
||||
|
||||
#include "d3d11_video_pixel_end.hlsli"
|
||||
Reference in New Issue
Block a user