Name Description Size
c_bindings.rs similar to CGColorSpaceCreateCalibratedRGB 12058
chain.rs 45792
gtest.rs 32796
iccread.rs should lut8Type and lut16Type be different types? 63798
lib.rs ! A pure Rust color management library. 1973
matrix.rs from pixman and cairo and Mathematics for Game Programmers 4664
transform_avx.rs share input and output locations to save having to keep the locations in separate registers 10928
transform_neon.rs deref *transform now to avoid it in loop 6181
transform_sse2.rs share input and output locations to save having to keep the locations in separate registers 6257
transform_util.rs One would naturally write this function as the following: if (a > 1.) return 1.; else if (a < 0) return 0; else return a; However, that version will let NaNs pass through which is undesirable for most consumers. 20441
transform.rs We previously used a count of 65536 here but that seems like more precision than we actually need. By reducing the size we can improve startup performance and reduce memory usage. ColorSync on 10.5 uses 4097 which is perhaps because they use a fixed point representation where 1. is represented by 0x1000. 60742