summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/vl/vl_csc.c
diff options
context:
space:
mode:
authorThomas Hellstrom <[email protected]>2016-03-08 07:30:52 +0100
committerThomas Hellstrom <[email protected]>2017-02-22 10:18:30 +0100
commitf01e947cdb81f182202146c01e8678770eebf68e (patch)
treeb88c8c19e899f1130f68a1bbfa34af7021c12086 /src/gallium/auxiliary/vl/vl_csc.c
parentec8139e50c050e24885c9f015cafc2394b734db5 (diff)
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 <[email protected]> Reviewed-by: Sinclair Yeh <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/vl/vl_csc.c')
-rw-r--r--src/gallium/auxiliary/vl/vl_csc.c8
1 files changed, 4 insertions, 4 deletions
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]