Searched refs:endpoint_luminances (Results 1 – 1 of 1) sorted by relevance
1218 int endpoint_luminances[2]; in get_rgba_endpoints_unorm() local1284 endpoint_luminances[endpoint] = in get_rgba_endpoints_unorm()1289 midpoint = (endpoint_luminances[0] + endpoint_luminances[1]) / 2; in get_rgba_endpoints_unorm()1292 (endpoint_luminances[0] <= midpoint)) { in get_rgba_endpoints_unorm()1316 int endpoint_luminances[2]; in write_rgb_indices_unorm() local1322 endpoint_luminances[endpoint] = in write_rgb_indices_unorm()1330 if (endpoint_luminances[0] == endpoint_luminances[1]) { in write_rgb_indices_unorm()1339 index = ((luminance - endpoint_luminances[0]) * 3 / in write_rgb_indices_unorm()1340 (endpoint_luminances[1] - endpoint_luminances[0])); in write_rgb_indices_unorm()1522 float endpoint_luminances[2]; in get_endpoints_float() local[all …]