Lines Matching refs:height
375 f->fmt.pix.height = dev->height; in vidioc_g_fmt_vid_cap()
379 f->fmt.pix.sizeimage = dev->height * f->fmt.pix.bytesperline; in vidioc_g_fmt_vid_cap()
388 unsigned int width, height; in stk1160_try_fmt() local
400 height = clamp_t(unsigned int, f->fmt.pix.height, in stk1160_try_fmt()
409 f->fmt.pix.height = base_height; in stk1160_try_fmt()
451 if (height < base_height && height > base_height / 2) { in stk1160_try_fmt()
452 row_n = div_round_integer(height, base_height - height); in stk1160_try_fmt()
456 f->fmt.pix.height = (base_height * row_n) / (row_n + 1); in stk1160_try_fmt()
459 } else if (height <= base_height / 2) { in stk1160_try_fmt()
460 row_n = div_round_integer(base_height, height) - 1; in stk1160_try_fmt()
464 f->fmt.pix.height = base_height / (row_n + 1); in stk1160_try_fmt()
471 f->fmt.pix.sizeimage = f->fmt.pix.height * f->fmt.pix.bytesperline; in stk1160_try_fmt()
484 f->fmt.pix.width, f->fmt.pix.height); in stk1160_try_fmt()
511 dev->height = f->fmt.pix.height; in vidioc_s_fmt_vid_cap()
549 dev->height = (norm & V4L2_STD_525_60) ? 480 : 576; 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()
835 dev->height = 480; in stk1160_video_register()