Lines Matching refs:endpoint
56 int8_t endpoint; member
364 int endpoint; in extract_unorm_endpoints() local
371 for (endpoint = 0; endpoint < 2; endpoint++) { in extract_unorm_endpoints()
372 endpoints[subset * 2 + endpoint][component] = in extract_unorm_endpoints()
382 for (endpoint = 0; endpoint < 2; endpoint++) { in extract_unorm_endpoints()
383 endpoints[subset * 2 + endpoint][3] = in extract_unorm_endpoints()
392 for (endpoint = 0; endpoint < 2; endpoint++) in extract_unorm_endpoints()
393 endpoints[subset * 2 + endpoint][3] = 255; in extract_unorm_endpoints()
401 for (endpoint = 0; endpoint < 2; endpoint++) { in extract_unorm_endpoints()
406 endpoints[subset * 2 + endpoint][component] <<= 1; in extract_unorm_endpoints()
407 endpoints[subset * 2 + endpoint][component] |= pbit; in extract_unorm_endpoints()
416 for (endpoint = 0; endpoint < 2; endpoint++) { in extract_unorm_endpoints()
418 endpoints[subset * 2 + endpoint][component] <<= 1; in extract_unorm_endpoints()
419 endpoints[subset * 2 + endpoint][component] |= pbit; in extract_unorm_endpoints()
427 for (endpoint = 0; endpoint < 2; endpoint++) { in extract_unorm_endpoints()
429 endpoints[subset * 2 + endpoint][component] = in extract_unorm_endpoints()
430 expand_component(endpoints[subset * 2 + endpoint][component], in extract_unorm_endpoints()
437 endpoints[subset * 2 + endpoint][3] = in extract_unorm_endpoints()
438 expand_component(endpoints[subset * 2 + endpoint][3], in extract_unorm_endpoints()
764 int endpoint, component; in extract_float_endpoints() local
776 for (bitfield = mode->bitfields; bitfield->endpoint != -1; bitfield++) { in extract_float_endpoints()
783 endpoints[bitfield->endpoint][bitfield->component] |= in extract_float_endpoints()
787 endpoints[bitfield->endpoint][bitfield->component] |= in extract_float_endpoints()
794 for (endpoint = 1; endpoint < n_endpoints; endpoint++) { in extract_float_endpoints()
796 value = sign_extend(endpoints[endpoint][component], in extract_float_endpoints()
798 endpoints[endpoint][component] = in extract_float_endpoints()
806 for (endpoint = 0; endpoint < n_endpoints; endpoint++) { in extract_float_endpoints()
808 value = sign_extend(endpoints[endpoint][component], in extract_float_endpoints()
810 endpoints[endpoint][component] = in extract_float_endpoints()
815 for (endpoint = 0; endpoint < n_endpoints; endpoint++) { in extract_float_endpoints()
817 endpoints[endpoint][component] = in extract_float_endpoints()
818 unsigned_unquantize(endpoints[endpoint][component], in extract_float_endpoints()
1017 int endpoint; in get_rgba_endpoints_unorm() local
1031 endpoint = 0; in get_rgba_endpoints_unorm()
1034 endpoint = 1; in get_rgba_endpoints_unorm()
1037 sums[endpoint][i] += p[i]; in get_rgba_endpoints_unorm()
1040 endpoint = 0; in get_rgba_endpoints_unorm()
1043 endpoint = 1; in get_rgba_endpoints_unorm()
1045 sums[endpoint][3] += p[3]; in get_rgba_endpoints_unorm()
1079 for (endpoint = 0; endpoint < 2; endpoint++) { in get_rgba_endpoints_unorm()
1080 endpoint_luminances[endpoint] = in get_rgba_endpoints_unorm()
1081 endpoints[endpoint][0] + in get_rgba_endpoints_unorm()
1082 endpoints[endpoint][1] + in get_rgba_endpoints_unorm()
1083 endpoints[endpoint][2]; in get_rgba_endpoints_unorm()
1113 int endpoint; in write_rgb_indices_unorm() local
1117 for (endpoint = 0; endpoint < 2; endpoint++) { in write_rgb_indices_unorm()
1118 endpoint_luminances[endpoint] = in write_rgb_indices_unorm()
1119 endpoints[endpoint][0] + in write_rgb_indices_unorm()
1120 endpoints[endpoint][1] + in write_rgb_indices_unorm()
1121 endpoints[endpoint][2]; in write_rgb_indices_unorm()
1214 int component, endpoint; in compress_rgba_unorm_block() local
1232 for (endpoint = 0; endpoint < 2; endpoint++) in compress_rgba_unorm_block()
1233 write_bits(&writer, 5, endpoints[endpoint][component] >> 3); in compress_rgba_unorm_block()
1236 for (endpoint = 0; endpoint < 2; endpoint++) in compress_rgba_unorm_block()
1237 write_bits(&writer, 6, endpoints[endpoint][3] >> 2); in compress_rgba_unorm_block()
1366 int endpoint, component; in get_endpoints_float() local
1379 endpoint = 0; in get_endpoints_float()
1382 endpoint = 1; in get_endpoints_float()
1385 sums[endpoint][i] += p[i]; in get_endpoints_float()
1407 for (endpoint = 0; endpoint < 2; endpoint++) { in get_endpoints_float()
1409 endpoints[endpoint][component] = in get_endpoints_float()
1410 clamp_value(endpoints[endpoint][component], is_signed); in get_endpoints_float()
1417 for (endpoint = 0; endpoint < 2; endpoint++) { in get_endpoints_float()
1418 endpoint_luminances[endpoint] = in get_endpoints_float()
1419 endpoints[endpoint][0] + in get_endpoints_float()
1420 endpoints[endpoint][1] + in get_endpoints_float()
1421 endpoints[endpoint][2]; in get_endpoints_float()
1441 int endpoint; in write_rgb_indices_float() local
1445 for (endpoint = 0; endpoint < 2; endpoint++) { in write_rgb_indices_float()
1446 endpoint_luminances[endpoint] = in write_rgb_indices_float()
1447 endpoints[endpoint][0] + in write_rgb_indices_float()
1448 endpoints[endpoint][1] + in write_rgb_indices_float()
1449 endpoints[endpoint][2]; in write_rgb_indices_float()
1528 int component, endpoint; in compress_rgb_float_block() local
1543 for (endpoint = 0; endpoint < 2; endpoint++) { in compress_rgb_float_block()
1546 get_endpoint_value(endpoints[endpoint][component], is_signed); in compress_rgb_float_block()