Lines Matching defs:max_x
435 int min_x, max_x, start_index, end_index;
438 max_x = (int)ceil(inter_x[1]);
443 max_x = (int)ceil(inter_x[0]);
449 int end_x = max_x;
455 float r_unit = (r[end_index] - r[start_index]) / (max_x - min_x);
456 float g_unit = (g[end_index] - g[start_index]) / (max_x - min_x);
457 float b_unit = (b[end_index] - b[start_index]) / (max_x - min_x);