Lines Matching refs:width
374 f->fmt.pix.width = dev->width; in vidioc_g_fmt_vid_cap()
378 f->fmt.pix.bytesperline = dev->width * 2; in vidioc_g_fmt_vid_cap()
388 unsigned int width, height; in stk1160_try_fmt() local
398 width = clamp_t(unsigned int, f->fmt.pix.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()
470 f->fmt.pix.bytesperline = f->fmt.pix.width * 2; in stk1160_try_fmt()
484 f->fmt.pix.width, f->fmt.pix.height); in stk1160_try_fmt()
510 dev->width = f->fmt.pix.width; in vidioc_s_fmt_vid_cap()
548 dev->width = 720; in vidioc_s_std()
674 size = dev->width * dev->height * 2; in queue_setup()
720 if (buf->length < dev->width * dev->height * 2) in buffer_queue()
834 dev->width = 720; in stk1160_video_register()