Commit dd66123
committed
Build ROMM->CIE XYZ D65 matrix dynamically
Remove the hard-coded ROMM_RGB to XYZ D65 matrix and instead generate the conversion matrix at runtime using build_conversion_matrix_to_XYZ_D65 with ROMM_RGB::primaries and Bradford adaptation. Update the CreateMatrixOp call to accept the constructed MatrixArrayPtr. This simplifies maintenance and ensures the matrix is derived from the defined primaries and chosen chromatic adaptation method.
Signed-off-by: Vlad <shaamaan@gmail.com>1 parent 55143ae commit dd66123
1 file changed
Lines changed: 2 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | 33 | | |
40 | 34 | | |
41 | 35 | | |
| |||
110 | 104 | | |
111 | 105 | | |
112 | 106 | | |
113 | | - | |
114 | 107 | | |
115 | 108 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
| 109 | + | |
| 110 | + | |
120 | 111 | | |
121 | 112 | | |
122 | 113 | | |
| |||
0 commit comments