Use an integer LUT for PiecewiseLUT2, hence removing a lrint and a multiply from...
authorCarl Hetherington <cth@carlh.net>
Sat, 21 Oct 2023 21:05:56 +0000 (23:05 +0200)
committerCarl Hetherington <cth@carlh.net>
Sat, 21 Oct 2023 22:05:28 +0000 (00:05 +0200)
commite171a0bbaf0dedbab261279561888e7259a40df7
treebba0d25b7cd85d8c70843ba88f3935f1d13585fc
parent251f7a934525e0c846c95cc729664e95928e8aa5
Use an integer LUT for PiecewiseLUT2, hence removing a lrint and a multiply from the rgb -> xyz loop.
src/piecewise_lut.h
src/rgb_xyz.cc
test/rgb_xyz_test.cc