Lines Matching refs:luminance
1018 int luminance; in get_rgba_endpoints_unorm() local
1029 luminance = p[0] + p[1] + p[2]; in get_rgba_endpoints_unorm()
1030 if (luminance < average_luminance) { in get_rgba_endpoints_unorm()
1111 int luminance; in write_rgb_indices_unorm() local
1133 luminance = src[0] + src[1] + src[2]; in write_rgb_indices_unorm()
1135 index = ((luminance - endpoint_luminances[0]) * 3 / in write_rgb_indices_unorm()
1367 float luminance; in get_endpoints_float() local
1377 luminance = p[0] + p[1] + p[2]; in get_endpoints_float()
1378 if (luminance < average_luminance) { in get_endpoints_float()
1439 float luminance; in write_rgb_indices_float() local
1461 luminance = src[0] + src[1] + src[2]; in write_rgb_indices_float()
1463 index = ((luminance - endpoint_luminances[0]) * 15 / in write_rgb_indices_float()