Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dtexcompress_bptc.c1014 int endpoint_luminances[2]; in get_rgba_endpoints_unorm() local
1080 endpoint_luminances[endpoint] = in get_rgba_endpoints_unorm()
1085 midpoint = (endpoint_luminances[0] + endpoint_luminances[1]) / 2; in get_rgba_endpoints_unorm()
1088 (endpoint_luminances[0] <= midpoint)) { in get_rgba_endpoints_unorm()
1112 int endpoint_luminances[2]; in write_rgb_indices_unorm() local
1118 endpoint_luminances[endpoint] = in write_rgb_indices_unorm()
1126 if (endpoint_luminances[0] == endpoint_luminances[1]) { in write_rgb_indices_unorm()
1135 index = ((luminance - endpoint_luminances[0]) * 3 / in write_rgb_indices_unorm()
1136 (endpoint_luminances[1] - endpoint_luminances[0])); in write_rgb_indices_unorm()
1363 float endpoint_luminances[2]; in get_endpoints_float() local
[all …]