summaryrefslogtreecommitdiff
path: root/lib/colord/cd-icc.h
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2020-02-21 08:32:35 -0800
committerRichard Hughes <richard@hughsie.com>2020-03-23 19:52:27 +0000
commit78365e9b5ecf6352ed95f46d8dde0313e10c5796 (patch)
tree2fe6e2af93d5e32375255ed6e761fd3e6c43b21c /lib/colord/cd-icc.h
parent1572d92bb69de7632841bf17f3cb81534881c3c6 (diff)
downloadcolord-78365e9b5ecf6352ed95f46d8dde0313e10c5796.tar.gz
libcolord: Add cd_mat33_is_finite
Move the logic to check whether any entries in a matrix are NaN or infinite from cd_it8_utils_calculate_ccmx into a helper function in cd-math.c. In addition, fix a bug in this code: if any entries of the matrix are exactly zero, then fpclassify will return FP_ZERO instead of FP_NORMAL. Don't treat this as a failure: only FP_NAN and FP_INFINITE are errors.
Diffstat (limited to 'lib/colord/cd-icc.h')
0 files changed, 0 insertions, 0 deletions