Searched refs:base_height (Results 1 – 1 of 1) sorted by relevance
376 unsigned int base_width, base_height; in stk1160_try_fmt() local382 base_height = (dev->norm & V4L2_STD_525_60) ? 480 : 576; in stk1160_try_fmt()388 base_height / 20, base_height); in stk1160_try_fmt()396 f->fmt.pix.height = base_height; in stk1160_try_fmt()438 if (height < base_height && height > base_height / 2) { in stk1160_try_fmt()439 row_n = div_round_integer(height, base_height - height); in stk1160_try_fmt()443 f->fmt.pix.height = (base_height * row_n) / (row_n + 1); in stk1160_try_fmt()446 } else if (height <= base_height / 2) { in stk1160_try_fmt()447 row_n = div_round_integer(base_height, height) - 1; in stk1160_try_fmt()451 f->fmt.pix.height = base_height / (row_n + 1); in stk1160_try_fmt()