Home
last modified time | relevance | path

Searched refs:row_n (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/media/usb/stk1160/
A Dstk1160-v4l.c43 unsigned int col_n, row_n; member
150 val, ctrl->col_n, ctrl->row_n); in stk1160_set_fmt()
373 unsigned int col_n, row_n; in stk1160_try_fmt() local
388 row_n = 0; in stk1160_try_fmt()
435 row_n = div_round_integer(height, base_height - height); in stk1160_try_fmt()
436 if (row_n > 0 && row_n <= 255) { in stk1160_try_fmt()
439 f->fmt.pix.height = (base_height * row_n) / (row_n + 1); in stk1160_try_fmt()
443 row_n = div_round_integer(base_height, height) - 1; in stk1160_try_fmt()
444 if (row_n > 0 && row_n <= 255) { in stk1160_try_fmt()
447 f->fmt.pix.height = base_height / (row_n + 1); in stk1160_try_fmt()
[all …]

Completed in 3 milliseconds