color-management-v1: implement target color volume
This commit is contained in:
parent
5ad5c5cbcf
commit
04f280aabe
10 changed files with 249 additions and 64 deletions
|
|
@ -2138,7 +2138,7 @@ impl ColorTransforms {
|
|||
src: &LinearColorDescription,
|
||||
dst: &ColorDescription,
|
||||
) -> Option<&mut ColorTransform> {
|
||||
if src.id == dst.linear.id {
|
||||
if src.embeds_into(&dst.linear) {
|
||||
return None;
|
||||
}
|
||||
let ct = match self.map.entry([src.id, dst.linear.id]) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue