Home
last modified time | relevance | path

Searched refs:base_width (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/usb/stk1160/
H A Dstk1160-v4l.c372 unsigned int base_width, base_height; in stk1160_try_fmt() local
377 base_width = 720; in stk1160_try_fmt()
382 base_width / 20, base_width); in stk1160_try_fmt()
391 f->fmt.pix.width = base_width; in stk1160_try_fmt()
396 if (width < base_width && width > base_width / 2) { in stk1160_try_fmt()
407 col_n = div_round_integer(width, base_width - width); in stk1160_try_fmt()
411 f->fmt.pix.width = (base_width * col_n) / (col_n + 1); in stk1160_try_fmt()
414 } else if (width <= base_width / in stk1160_try_fmt()
[all...]
/kernel/linux/linux-6.6/drivers/media/usb/stk1160/
H A Dstk1160-v4l.c376 unsigned int base_width, base_height; in stk1160_try_fmt() local
381 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 / in stk1160_try_fmt()
[all...]

Completed in 2 milliseconds