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:
Valerii Zapodovnikov 2021-04-27 22:32:37 +00:00 committed by Hugo Beauzée-Luyssen
parent 0937dbb5c2
commit 306a43b5ab
1 changed files with 3 additions and 3 deletions

View File

@ -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"