Searched refs:sums (Results 1 – 2 of 2) sorted by relevance
1336 int sums[2][4]; in get_rgba_endpoints_unorm() local1345 memset(sums, 0, sizeof sums); in get_rgba_endpoints_unorm()1357 sums[endpoint][i] += p[i]; in get_rgba_endpoints_unorm()1365 sums[endpoint][3] += p[3]; in get_rgba_endpoints_unorm()1377 (sums[0][i] + sums[1][i]) / (width * height); in get_rgba_endpoints_unorm()1380 endpoints[0][i] = sums[0][i] / rgb_left_endpoint_count; in get_rgba_endpoints_unorm()1381 endpoints[1][i] = (sums[1][i] / in get_rgba_endpoints_unorm()1389 (sums[0][3] + sums[1][3]) / (width * height); in get_rgba_endpoints_unorm()1391 endpoints[0][3] = sums[0][3] / alpha_left_endpoint_count; in get_rgba_endpoints_unorm()1392 endpoints[1][3] = (sums[1][3] / in get_rgba_endpoints_unorm()[all …]
202 | sampler2DArray weight) | sums the results to produce the output |