• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/media/common/

Lines Matching refs:video_fmt

411 	fmt = saa7146_format_by_fourcc(dev,fh->video_fmt.pixelformat);
463 fmt = saa7146_format_by_fourcc(dev,fh->video_fmt.pixelformat);
735 f->fmt.pix = ((struct saa7146_fh *)fh)->video_fmt;
888 fh->video_fmt = f->fmt.pix;
889 DEB_EE(("set to pixelformat '%4.4s'\n", (char *)&fh->video_fmt.pixelformat));
1228 if (fh->video_fmt.width < 48 ||
1229 fh->video_fmt.height < 32 ||
1230 fh->video_fmt.width > vv->standard->h_max_out ||
1231 fh->video_fmt.height > vv->standard->v_max_out) {
1232 DEB_D(("w (%d) / h (%d) out of bounds.\n",fh->video_fmt.width,fh->video_fmt.height));
1236 size = fh->video_fmt.sizeimage;
1243 fh->video_fmt.width,fh->video_fmt.height,size,v4l2_field_names[fh->video_fmt.field]));
1244 if (buf->vb.width != fh->video_fmt.width ||
1245 buf->vb.bytesperline != fh->video_fmt.bytesperline ||
1246 buf->vb.height != fh->video_fmt.height ||
1249 buf->vb.field != fh->video_fmt.field ||
1250 buf->fmt != &fh->video_fmt) {
1257 buf->vb.bytesperline = fh->video_fmt.bytesperline;
1258 buf->vb.width = fh->video_fmt.width;
1259 buf->vb.height = fh->video_fmt.height;
1262 buf->fmt = &fh->video_fmt;
1263 buf->vb.field = fh->video_fmt.field;
1303 *size = fh->video_fmt.sizeimage;
1373 fh->video_fmt.width = 384;
1374 fh->video_fmt.height = 288;
1375 fh->video_fmt.pixelformat = V4L2_PIX_FMT_BGR24;
1376 fh->video_fmt.bytesperline = 0;
1377 fh->video_fmt.field = V4L2_FIELD_ANY;
1378 sfmt = saa7146_format_by_fourcc(dev,fh->video_fmt.pixelformat);
1379 fh->video_fmt.sizeimage = (fh->video_fmt.width * fh->video_fmt.height * sfmt->depth)/8;