ref: d2c3a6aeaa6d1a46090834e15a90b768918b18ac
parent: 3503bcb69f1c0a6aa1fa13e6743d141b504f7458
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Wed Oct 16 12:51:18 EDT 2024
color matrix: fix wrong channel order in saturation coefficients
--- a/colormatrix.c
+++ b/colormatrix.c
@@ -24,7 +24,7 @@
static float cmcontrast[4*4];
static float cmsaturation[4*4];
static float cmvblend[4*4];
-static float gs[3] = {0.3086, 0.6094, 0.0820};
+static float gs[3] = {0.0820, 0.6094, 0.3086};
static void
mmul(float d[4*4], float a[4*4], float b[4*4])