Lines Matching full:pix

322 	f->fmt.pix.width = chan->width;  in cx25821_vidioc_g_fmt_vid_cap()
323 f->fmt.pix.height = chan->height; in cx25821_vidioc_g_fmt_vid_cap()
324 f->fmt.pix.field = chan->field; in cx25821_vidioc_g_fmt_vid_cap()
325 f->fmt.pix.pixelformat = chan->fmt->fourcc; in cx25821_vidioc_g_fmt_vid_cap()
326 f->fmt.pix.bytesperline = (chan->width * chan->fmt->depth) >> 3; in cx25821_vidioc_g_fmt_vid_cap()
327 f->fmt.pix.sizeimage = chan->height * f->fmt.pix.bytesperline; in cx25821_vidioc_g_fmt_vid_cap()
328 f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; in cx25821_vidioc_g_fmt_vid_cap()
339 enum v4l2_field field = f->fmt.pix.field; in cx25821_vidioc_try_fmt_vid_cap()
343 fmt = cx25821_format_by_fourcc(f->fmt.pix.pixelformat); in cx25821_vidioc_try_fmt_vid_cap()
348 w = f->fmt.pix.width; in cx25821_vidioc_try_fmt_vid_cap()
353 f->fmt.pix.height = maxh / 4; in cx25821_vidioc_try_fmt_vid_cap()
356 f->fmt.pix.height = maxh / 2; in cx25821_vidioc_try_fmt_vid_cap()
359 f->fmt.pix.height = maxh; in cx25821_vidioc_try_fmt_vid_cap()
362 f->fmt.pix.field = field; in cx25821_vidioc_try_fmt_vid_cap()
363 f->fmt.pix.width = w; in cx25821_vidioc_try_fmt_vid_cap()
364 f->fmt.pix.bytesperline = (f->fmt.pix.width * fmt->depth) >> 3; in cx25821_vidioc_try_fmt_vid_cap()
365 f->fmt.pix.sizeimage = f->fmt.pix.height * f->fmt.pix.bytesperline; in cx25821_vidioc_try_fmt_vid_cap()
366 f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; in cx25821_vidioc_try_fmt_vid_cap()
384 chan->fmt = cx25821_format_by_fourcc(f->fmt.pix.pixelformat); in vidioc_s_fmt_vid_cap()
385 chan->field = f->fmt.pix.field; in vidioc_s_fmt_vid_cap()
386 chan->width = f->fmt.pix.width; in vidioc_s_fmt_vid_cap()
387 chan->height = f->fmt.pix.height; in vidioc_s_fmt_vid_cap()
389 if (f->fmt.pix.pixelformat == V4L2_PIX_FMT_Y41P) in vidioc_s_fmt_vid_cap()
540 fmt = cx25821_format_by_fourcc(f->fmt.pix.pixelformat); in cx25821_vidioc_try_fmt_vid_out()
543 f->fmt.pix.width = 720; in cx25821_vidioc_try_fmt_vid_out()
544 f->fmt.pix.height = (dev->tvnorm & V4L2_STD_625_50) ? 576 : 480; in cx25821_vidioc_try_fmt_vid_out()
545 f->fmt.pix.field = V4L2_FIELD_INTERLACED; in cx25821_vidioc_try_fmt_vid_out()
546 f->fmt.pix.bytesperline = (f->fmt.pix.width * fmt->depth) >> 3; in cx25821_vidioc_try_fmt_vid_out()
547 f->fmt.pix.sizeimage = f->fmt.pix.height * f->fmt.pix.bytesperline; in cx25821_vidioc_try_fmt_vid_out()
548 f->fmt.pix.colorspace = V4L2_COLORSPACE_SMPTE170M; in cx25821_vidioc_try_fmt_vid_out()
563 chan->fmt = cx25821_format_by_fourcc(f->fmt.pix.pixelformat); in vidioc_s_fmt_vid_out()
564 chan->field = f->fmt.pix.field; in vidioc_s_fmt_vid_out()
565 chan->width = f->fmt.pix.width; in vidioc_s_fmt_vid_out()
566 chan->height = f->fmt.pix.height; in vidioc_s_fmt_vid_out()
567 if (f->fmt.pix.pixelformat == V4L2_PIX_FMT_Y41P) in vidioc_s_fmt_vid_out()