mirror of https://code.videolan.org/videolan/vlc
builtin_shaders.h: update to BT.709-2 coefficients
(cherry picked from commit 68b27c23fd
)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
This commit is contained in:
parent
0937dbb5c2
commit
306a43b5ab
|
@ -63,9 +63,9 @@ static const char shader_convert601to709_source[] =
|
|||
|
||||
"float4 yuv709_to_rgb(float4 YUV)\n"
|
||||
"{\n"
|
||||
" float Kr = 0.2125;\n"
|
||||
" float Kg = 0.7154;\n"
|
||||
" float Kb = 0.0721;\n"
|
||||
" float Kr = 0.2126;\n"
|
||||
" float Kg = 0.7152;\n"
|
||||
" float Kb = 0.0722;\n"
|
||||
" float Y = YUV.x;\n"
|
||||
" float U = YUV.y;\n"
|
||||
" float V = YUV.z;\n"
|
||||
|
|
Loading…
Reference in New Issue