Skip to content
Snippets Groups Projects
Commit 306a43b5 authored by Valerii Za.'s avatar Valerii Za. Committed by Hugo Beauzée-Luyssen
Browse files

builtin_shaders.h: update to BT.709-2 coefficients


(cherry picked from commit 68b27c23)
Signed-off-by: default avatarHugo Beauzée-Luyssen <hugo@beauzee.fr>
parent 0937dbb5
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment