# HG changeset patch # User reimar # Date 1367434361 0 # Node ID c6215f816368af04bc7a63e6a9b7900f6a37136b # Parent 4b69c31e8e77d536e220dc9e339d53d3d89e369d Fix XYZ conversion matrix. diff -r 4b69c31e8e77 -r c6215f816368 libvo/csputils.c --- a/libvo/csputils.c Wed May 01 18:52:40 2013 +0000 +++ b/libvo/csputils.c Wed May 01 18:52:41 2013 +0000 @@ -77,7 +77,7 @@ { 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},