Re: [RFC PATCH v3 18/23] drm/colorop: Add 3x4 CTM type

2023-12-08 Thread Pekka Paalanen
On Wed, 8 Nov 2023 11:36:37 -0500 Harry Wentland wrote: > This type is used to support a 3x4 matrix in colorops. A 3x4 > matrix uses the last column as a "bias" column. Some HW exposes > support for 3x4. The calculation looks like: > > out matrixin > |R| |0 1 2 3 | | R | > |G| =

[RFC PATCH v3 18/23] drm/colorop: Add 3x4 CTM type

2023-11-08 Thread Harry Wentland
This type is used to support a 3x4 matrix in colorops. A 3x4 matrix uses the last column as a "bias" column. Some HW exposes support for 3x4. The calculation looks like: out matrixin |R| |0 1 2 3 | | R | |G| = |4 5 6 7 | x | G | |B| |8 9 10 12| | B |