#include "lib/jxl/opsin_params.h"
-#include <stdlib.h>
+#include "lib/jxl/cms/opsin_params.h"
-#include "lib/jxl/linalg.h"
+#define INVERSE_OPSIN_FROM_SPEC 1
-namespace jxl {
+#if not(INVERSE_OPSIN_FROM_SPEC)
+#include "lib/jxl/base/matrix_ops.h"
+#endif
-#define INVERSE_OPSIN_FROM_SPEC 1
+namespace jxl {
const float* GetOpsinAbsorbanceInverseMatrix() {
#if INVERSE_OPSIN_FROM_SPEC
- return DefaultInverseOpsinAbsorbanceMatrix();
+ return jxl::cms::DefaultInverseOpsinAbsorbanceMatrix();
#else // INVERSE_OPSIN_FROM_SPEC
// Compute the inverse opsin matrix from the forward matrix. Less precise
// than taking the values from the specification, but must be used if the