Home
last modified time | relevance | path

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

/external/skia/third_party/skcms/
Dskcms.cc802 static bool read_tag_mab(const skcms_ICCTag* tag, skcms_A2B* a2b, bool pcs_is_xyz) { in read_tag_mab() argument
852 float encoding_factor = pcs_is_xyz ? (65535 / 32768.0f) : 1.0f; in read_tag_mab()
929 static bool read_tag_mba(const skcms_ICCTag* tag, skcms_B2A* b2a, bool pcs_is_xyz) { in read_tag_mba() argument
978 float encoding_factor = pcs_is_xyz ? (32768 / 65535.0f) : 1.0f; // TODO: understand in read_tag_mba()
1122 static bool read_a2b(const skcms_ICCTag* tag, skcms_A2B* a2b, bool pcs_is_xyz) { in read_a2b() argument
1126 if (tag->type == skcms_Signature_mAB ) { ok = read_tag_mab(tag, a2b, pcs_is_xyz); } in read_a2b()
1147 static bool read_b2a(const skcms_ICCTag* tag, skcms_B2A* b2a, bool pcs_is_xyz) { in read_b2a() argument
1151 if (tag->type == skcms_Signature_mBA ) { ok = read_tag_mba(tag, b2a, pcs_is_xyz); } in read_b2a()
1261 bool pcs_is_xyz = profile->pcs == skcms_Signature_XYZ; in skcms_ParseWithA2BPriority() local
1275 if (pcs_is_xyz) { in skcms_ParseWithA2BPriority()
[all …]
/external/skqp/third_party/skcms/
Dskcms.cc598 static bool read_tag_mab(const skcms_ICCTag* tag, skcms_A2B* a2b, bool pcs_is_xyz) { in read_tag_mab() argument
648 float encoding_factor = pcs_is_xyz ? 65535 / 32768.0f : 1.0f; in read_tag_mab()
777 static bool read_a2b(const skcms_ICCTag* tag, skcms_A2B* a2b, bool pcs_is_xyz) { in read_a2b() argument
784 ok = read_tag_mab(tag, a2b, pcs_is_xyz); in read_a2b()
912 bool pcs_is_xyz = profile->pcs == skcms_Signature_XYZ; in skcms_Parse() local
926 if (pcs_is_xyz) { in skcms_Parse()
967 if (!read_a2b(&a2b_tag, &profile->A2B, pcs_is_xyz)) { in skcms_Parse()