Lines Matching refs:pix
361 f->fmt.pix.width = dev->width; in vidioc_g_fmt_vid_cap()
362 f->fmt.pix.height = dev->height; in vidioc_g_fmt_vid_cap()
363 f->fmt.pix.field = V4L2_FIELD_INTERLACED; in vidioc_g_fmt_vid_cap()
364 f->fmt.pix.pixelformat = dev->fmt->fourcc; in vidioc_g_fmt_vid_cap()
365 f->fmt.pix.bytesperline = dev->width * 2; in vidioc_g_fmt_vid_cap()
366 f->fmt.pix.sizeimage = dev->height * f->fmt.pix.bytesperline; in vidioc_g_fmt_vid_cap()
367 f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; in vidioc_g_fmt_vid_cap()
385 width = clamp_t(unsigned int, f->fmt.pix.width, in stk1160_try_fmt()
387 height = clamp_t(unsigned int, f->fmt.pix.height, in stk1160_try_fmt()
395 f->fmt.pix.width = base_width; in stk1160_try_fmt()
396 f->fmt.pix.height = base_height; in stk1160_try_fmt()
415 f->fmt.pix.width = (base_width * col_n) / (col_n + 1); in stk1160_try_fmt()
434 f->fmt.pix.width = base_width / (col_n + 1); in stk1160_try_fmt()
443 f->fmt.pix.height = (base_height * row_n) / (row_n + 1); in stk1160_try_fmt()
451 f->fmt.pix.height = base_height / (row_n + 1); in stk1160_try_fmt()
455 f->fmt.pix.pixelformat = dev->fmt->fourcc; in stk1160_try_fmt()
456 f->fmt.pix.field = V4L2_FIELD_INTERLACED; in stk1160_try_fmt()
457 f->fmt.pix.bytesperline = f->fmt.pix.width * 2; in stk1160_try_fmt()
458 f->fmt.pix.sizeimage = f->fmt.pix.height * f->fmt.pix.bytesperline; in stk1160_try_fmt()
459 f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; in stk1160_try_fmt()
471 f->fmt.pix.width, f->fmt.pix.height); in stk1160_try_fmt()
497 dev->width = f->fmt.pix.width; in vidioc_s_fmt_vid_cap()
498 dev->height = f->fmt.pix.height; in vidioc_s_fmt_vid_cap()