Searched refs:base_width (Results 1 – 1 of 1) sorted by relevance
376 unsigned int base_width, base_height; in stk1160_try_fmt() local381 base_width = 720; in stk1160_try_fmt()386 base_width / 20, base_width); in stk1160_try_fmt()395 f->fmt.pix.width = base_width; in stk1160_try_fmt()400 if (width < base_width && width > base_width / 2) { in stk1160_try_fmt()411 col_n = div_round_integer(width, base_width - width); in stk1160_try_fmt()415 f->fmt.pix.width = (base_width * col_n) / (col_n + 1); in stk1160_try_fmt()418 } else if (width <= base_width / 2) { in stk1160_try_fmt()430 col_n = div_round_integer(base_width, width) - 1; in stk1160_try_fmt()434 f->fmt.pix.width = base_width / (col_n + 1); in stk1160_try_fmt()