Searched refs:max_combined (Results 1 – 1 of 1) sorted by relevance
50 void TrimEdges(int *e1, int *e2, int max_combined) { in TrimEdges() argument51 if (*e1 + *e2 <= max_combined) in TrimEdges()54 if (std::min(*e1, *e2) * 2 >= max_combined) in TrimEdges()55 *e1 = *e2 = max_combined / 2; in TrimEdges()57 *e1 = max_combined - *e2; in TrimEdges()59 *e2 = max_combined - *e1; in TrimEdges()