Home
last modified time | relevance | path

Searched refs:rgbf (Results 1 – 1 of 1) sorted by relevance

/zscilib-3.4.0/src/colorimetry/
Dconv.c1180 struct zsl_clr_rgbf rgbf; in zsl_clr_conv_xyz_rgb8() local
1183 rc = zsl_clr_conv_xyz_rgbf(xyz, mtx, &rgbf); in zsl_clr_conv_xyz_rgb8()
1189 rgb->r_invalid = rgbf.r_invalid; in zsl_clr_conv_xyz_rgb8()
1190 rgb->g_invalid = rgbf.g_invalid; in zsl_clr_conv_xyz_rgb8()
1191 rgb->b_invalid = rgbf.b_invalid; in zsl_clr_conv_xyz_rgb8()
1195 if (rgbf.r > 1.0) { in zsl_clr_conv_xyz_rgb8()
1196 rgbf.r = 1.0; in zsl_clr_conv_xyz_rgb8()
1198 if (rgbf.r < 0.0) { in zsl_clr_conv_xyz_rgb8()
1199 rgbf.r = 0.0; in zsl_clr_conv_xyz_rgb8()
1201 if (rgbf.g > 1.0) { in zsl_clr_conv_xyz_rgb8()
[all …]