[vlc-commits] builtin_shaders.h: update to BT.709-2 coefficients

Valerii Zapodovnikov git at videolan.org
Mon May 10 14:00:30 UTC 2021


vlc/vlc-3.0 | branch: master | Valerii Zapodovnikov <val.zapod.vz at gmail.com> | Tue Apr 27 22:32:37 2021 +0000| [306a43b5abd011b375b0a55468d70ed3ee491855] | committer: Hugo Beauzée-Luyssen

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

(cherry picked from commit 68b27c23fd6f87577d2f1c49821008fc5b86f75d)
Signed-off-by: Hugo Beauzée-Luyssen <hugo at beauzee.fr>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=306a43b5abd011b375b0a55468d70ed3ee491855
---

 modules/video_output/win32/builtin_shaders.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/video_output/win32/builtin_shaders.h b/modules/video_output/win32/builtin_shaders.h
index 3a87ce279c..5cdf193320 100644
--- a/modules/video_output/win32/builtin_shaders.h
+++ b/modules/video_output/win32/builtin_shaders.h
@@ -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"



More information about the vlc-commits mailing list