1
0
Fork 0
forked from wry/wry

cmm: add color-management module

This commit is contained in:
Julian Orth 2025-03-01 13:54:12 +01:00
parent ed1955d3d1
commit 82085a3858
27 changed files with 1182 additions and 20 deletions

View file

@ -1,14 +1,8 @@
use {
crate::utils::clonecell::CloneCell,
crate::{cmm::cmm_transfer_function::TransferFunction, utils::clonecell::CloneCell},
std::{cell::Cell, cmp::Ordering, ops::Mul, sync::Arc},
};
#[derive(Copy, Clone, Debug, Eq, PartialEq)]
pub enum TransferFunction {
Srgb,
Linear,
}
#[derive(Copy, Clone, Debug, PartialEq)]
pub struct Color {
r: f32,