Searched refs:base_width (Results 1 – 1 of 1) sorted by relevance
389 unsigned int base_width, base_height; in stk1160_try_fmt() local394 base_width = 720; in stk1160_try_fmt()399 base_width / 20, base_width); in stk1160_try_fmt()408 f->fmt.pix.width = base_width; in stk1160_try_fmt()413 if (width < base_width && width > base_width / 2) { in stk1160_try_fmt()424 col_n = div_round_integer(width, base_width - width); in stk1160_try_fmt()428 f->fmt.pix.width = (base_width * col_n) / (col_n + 1); in stk1160_try_fmt()431 } else if (width <= base_width / 2) { in stk1160_try_fmt()443 col_n = div_round_integer(base_width, width) - 1; in stk1160_try_fmt()447 f->fmt.pix.width = base_width / (col_n + 1); in stk1160_try_fmt()