Name Description Size
c_bindings.rs similar to CGColorSpaceCreateCalibratedRGB 16110
chain.rs 45792
gtest.rs 32963
iccread.rs should lut8Type and lut16Type be different types? 64836
lib.rs ! A pure Rust color management library. 2341
matrix.rs from pixman and cairo and Mathematics for Game Programmers 4765
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. 60109
transform_avx.rs share input and output locations to save having to keep the locations in separate registers 10821
transform_neon.rs deref *transform now to avoid it in loop 6095
transform_sse2.rs share input and output locations to save having to keep the locations in separate registers 6263
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. 21451