Searched refs:y_saturated (Results 1 – 1 of 1) sorted by relevance
143 float y_saturated = 0; in prepare_parameters() local151 if ((y_saturated == 0) && (pixel_num >= saturated_thresh)) in prepare_parameters()153 y_saturated = i; in prepare_parameters()168 if (y_saturated < (hist_bin_count - 1)) { in prepare_parameters()169 y_saturated = y_saturated + 1; in prepare_parameters()172 y_target = (hist_bin_count / y_saturated) * (1.5 * y_medium + 0.5 * y_average) / 2; in prepare_parameters()177 if ((y_target > y_saturated) || (y_saturated < 4)) { in prepare_parameters()178 y_target = y_saturated / 4; in prepare_parameters()181 y_max = hist_bin_count * (2 * y_saturated + y_target) / y_saturated - y_saturated - y_target; in prepare_parameters()