Searched refs:luminance_sum (Results 1 – 1 of 1) sorted by relevance
1196 int luminance_sum = 0, alpha_sum = 0; in get_average_luminance_alpha_unorm() local1201 luminance_sum += src[0] + src[1] + src[2]; in get_average_luminance_alpha_unorm()1208 *average_luminance = luminance_sum / (width * height); in get_average_luminance_alpha_unorm()1483 float luminance_sum = 0; in get_average_luminance_float() local1488 luminance_sum += src[0] + src[1] + src[2]; in get_average_luminance_float()1494 return luminance_sum / (width * height); in get_average_luminance_float()