Lines Matching refs:toXYZD50
175 static void write_xyz_tag(uint32_t* ptr, const skcms_Matrix3x3& toXYZD50, int col) { in write_xyz_tag() argument
178 ptr[2] = SkEndian_SwapBE32(float_round_to_fixed(toXYZD50.vals[0][col])); in write_xyz_tag()
179 ptr[3] = SkEndian_SwapBE32(float_round_to_fixed(toXYZD50.vals[1][col])); in write_xyz_tag()
180 ptr[4] = SkEndian_SwapBE32(float_round_to_fixed(toXYZD50.vals[2][col])); in write_xyz_tag()
232 const skcms_Matrix3x3& toXYZD50) { in get_color_profile_description() argument
234 bool srgb_gamut = nearly_equal(toXYZD50, SkNamedGamut::kSRGB); in get_color_profile_description()
246 if (twoDotTwo && nearly_equal(toXYZD50, SkNamedGamut::kAdobeRGB)) { in get_color_profile_description()
249 bool display_p3 = nearly_equal(toXYZD50, SkNamedGamut::kDisplayP3); in get_color_profile_description()
257 bool rec2020 = nearly_equal(toXYZD50, SkNamedGamut::kRec2020); in get_color_profile_description()
270 const skcms_Matrix3x3& toXYZD50) { in get_color_profile_tag() argument
272 if (const char* description = get_color_profile_description(fn, toXYZD50)) { in get_color_profile_tag()
285 md5.write(&toXYZD50, sizeof(toXYZD50)); in get_color_profile_tag()
300 const skcms_Matrix3x3& toXYZD50) { in SkWriteICCProfile() argument
322 get_color_profile_tag(colorProfileTag, fn, toXYZD50); in SkWriteICCProfile()
332 write_xyz_tag((uint32_t*) ptr, toXYZD50, 0); in SkWriteICCProfile()
334 write_xyz_tag((uint32_t*) ptr, toXYZD50, 1); in SkWriteICCProfile()
336 write_xyz_tag((uint32_t*) ptr, toXYZD50, 2); in SkWriteICCProfile()