Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/main/
Dtexcompress_bptc.c992 int luminance_sum = 0, alpha_sum = 0; in get_average_luminance_alpha_unorm() local
997 luminance_sum += src[0] + src[1] + src[2]; in get_average_luminance_alpha_unorm()
1004 *average_luminance = luminance_sum / (width * height); in get_average_luminance_alpha_unorm()
1324 float luminance_sum = 0; in get_average_luminance_float() local
1329 luminance_sum += src[0] + src[1] + src[2]; in get_average_luminance_float()
1335 return luminance_sum / (width * height); in get_average_luminance_float()