From: Thomas Hellstrom Date: Tue, 8 Mar 2016 06:30:52 +0000 (+0100) Subject: gallium/vl Fix brightness matrix description X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f01e947cdb81f182202146c01e8678770eebf68e;p=mesa.git gallium/vl Fix brightness matrix description The brightness matrix doesn't actually match the procamp matrix and what's calculated in vl_csc_get_matrix. Signed-off-by: Thomas Hellstrom Reviewed-by: Sinclair Yeh Reviewed-by: Christian König --- diff --git a/src/gallium/auxiliary/vl/vl_csc.c b/src/gallium/auxiliary/vl/vl_csc.c index c8efe286755..1587e6cf1df 100644 --- a/src/gallium/auxiliary/vl/vl_csc.c +++ b/src/gallium/auxiliary/vl/vl_csc.c @@ -59,10 +59,10 @@ * [ 0, 0, 0, 1] * * brightness - * [ 1, 0, 0, b] - * [ 0, 1, 0, 0] - * [ 0, 0, 1, 0] - * [ 0, 0, 0, 1] + * [ 1, 0, 0, b/c] + * [ 0, 1, 0, 0] + * [ 0, 0, 1, 0] + * [ 0, 0, 0, 1] * * saturation * [ 1, 0, 0, 0]