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