Lines Matching refs:pix
320 struct v4l2_pix_format *pix) in skeleton_fill_pix_format() argument
322 pix->pixelformat = V4L2_PIX_FMT_YUYV; in skeleton_fill_pix_format()
325 pix->width = 720; in skeleton_fill_pix_format()
326 pix->height = (skel->std & V4L2_STD_525_60) ? 480 : 576; in skeleton_fill_pix_format()
327 pix->field = V4L2_FIELD_INTERLACED; in skeleton_fill_pix_format()
328 pix->colorspace = V4L2_COLORSPACE_SMPTE170M; in skeleton_fill_pix_format()
331 pix->width = skel->timings.bt.width; in skeleton_fill_pix_format()
332 pix->height = skel->timings.bt.height; in skeleton_fill_pix_format()
334 pix->field = V4L2_FIELD_ALTERNATE; in skeleton_fill_pix_format()
335 pix->height /= 2; in skeleton_fill_pix_format()
337 pix->field = V4L2_FIELD_NONE; in skeleton_fill_pix_format()
339 pix->colorspace = V4L2_COLORSPACE_REC709; in skeleton_fill_pix_format()
346 pix->bytesperline = pix->width * 2; in skeleton_fill_pix_format()
347 pix->sizeimage = pix->bytesperline * pix->height; in skeleton_fill_pix_format()
348 pix->priv = 0; in skeleton_fill_pix_format()
355 struct v4l2_pix_format *pix = &f->fmt.pix; in skeleton_try_fmt_vid_cap() local
363 if (pix->pixelformat != V4L2_PIX_FMT_YUYV) in skeleton_try_fmt_vid_cap()
365 skeleton_fill_pix_format(skel, pix); in skeleton_try_fmt_vid_cap()
387 skel->format = f->fmt.pix; in skeleton_s_fmt_vid_cap()
396 f->fmt.pix = skel->format; in skeleton_g_fmt_vid_cap()