Searched refs:base_height (Results 1 – 1 of 1) sorted by relevance
372 unsigned int base_width, base_height; in stk1160_try_fmt() local378 base_height = (dev->norm & V4L2_STD_525_60) ? 480 : 576; in stk1160_try_fmt()384 base_height / 20, base_height); in stk1160_try_fmt()392 f->fmt.pix.height = base_height; in stk1160_try_fmt()434 if (height < base_height && height > base_height / 2) { in stk1160_try_fmt()435 row_n = div_round_integer(height, base_height - height); in stk1160_try_fmt()439 f->fmt.pix.height = (base_height * row_n) / (row_n + 1); in stk1160_try_fmt()442 } else if (height <= base_height / 2) { in stk1160_try_fmt()443 row_n = div_round_integer(base_height, height) - 1; in stk1160_try_fmt()447 f->fmt.pix.height = base_height / (row_n + 1); in stk1160_try_fmt()