Searched refs:luminance_sum (Results 1 – 1 of 1) sorted by relevance
992 int luminance_sum = 0, alpha_sum = 0; in get_average_luminance_alpha_unorm() local997 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() local1329 luminance_sum += src[0] + src[1] + src[2]; in get_average_luminance_float()1335 return luminance_sum / (width * height); in get_average_luminance_float()