Lines Matching defs:pix
44 * @format: current pix format
308 struct v4l2_pix_format *pix)
310 pix->pixelformat = V4L2_PIX_FMT_YUYV;
313 pix->width = 720;
314 pix->height = (skel->std & V4L2_STD_525_60) ? 480 : 576;
315 pix->field = V4L2_FIELD_INTERLACED;
316 pix->colorspace = V4L2_COLORSPACE_SMPTE170M;
319 pix->width = skel->timings.bt.width;
320 pix->height = skel->timings.bt.height;
322 pix->field = V4L2_FIELD_ALTERNATE;
323 pix->height /= 2;
325 pix->field = V4L2_FIELD_NONE;
327 pix->colorspace = V4L2_COLORSPACE_REC709;
334 pix->bytesperline = pix->width * 2;
335 pix->sizeimage = pix->bytesperline * pix->height;
336 pix->priv = 0;
343 struct v4l2_pix_format *pix = &f->fmt.pix;
351 if (pix->pixelformat != V4L2_PIX_FMT_YUYV)
353 skeleton_fill_pix_format(skel, pix);
375 skel->format = f->fmt.pix;
384 f->fmt.pix = skel->format;