[MPlayer-cvslog] r36204 - trunk/libvo/csputils.c

reimar subversion at mplayerhq.hu
Wed May 1 20:52:41 CEST 2013


Author: reimar
Date: Wed May  1 20:52:41 2013
New Revision: 36204

Log:
Fix XYZ conversion matrix.

Modified:
   trunk/libvo/csputils.c

Modified: trunk/libvo/csputils.c
==============================================================================
--- trunk/libvo/csputils.c	Wed May  1 20:52:40 2013	(r36203)
+++ trunk/libvo/csputils.c	Wed May  1 20:52:41 2013	(r36204)
@@ -77,7 +77,7 @@ void mp_get_yuv2rgb_coeffs(struct mp_csp
     { 16 / 255.0 * 1.164, -128 / 255.0, -128 / 255.0, 1.0/1.164},
     { 0, -128 / 255.0, -128 / 255.0, 1},
   };
-  static const float xyz_level_adjust[4] = {0, 0, 0, 0};
+  static const float xyz_level_adjust[4] = {0, 0, 0, 1};
   static const float uv_coeffs_table[MP_CSP_COUNT][3][3] = {
     [MP_CSP_DEFAULT] = {
       {1,  0.000,  1.596},


More information about the MPlayer-cvslog mailing list