• 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/video/em28xx/

Lines Matching defs:format

92 static struct em28xx_fmt format[] = {
686 *size = (fh->dev->width * fh->dev->height * dev->format->depth + 7)
741 buf->vb.size = (fh->dev->width * fh->dev->height * dev->format->depth
1026 f->fmt.pix.pixelformat = dev->format->fourcc;
1027 f->fmt.pix.bytesperline = (dev->width * dev->format->depth + 7) >> 3;
1045 for (i = 0; i < ARRAY_SIZE(format); i++)
1046 if (format[i].fourcc == fourcc)
1047 return &format[i];
1066 em28xx_videodbg("Fourcc format (%08x) invalid.\n",
1076 /* width must even because of the YUYV format
1111 dev->format = fmt;
1806 if (unlikely(f->index >= ARRAY_SIZE(format)))
1809 strlcpy(f->description, format[f->index].name, sizeof(f->description));
1810 f->pixelformat = format[f->index].fourcc;
1864 struct v4l2_format *format)
1869 format->fmt.vbi.samples_per_line = dev->vbi_width;
1870 format->fmt.vbi.sample_format = V4L2_PIX_FMT_GREY;
1871 format->fmt.vbi.offset = 0;
1872 format->fmt.vbi.flags = 0;
1873 format->fmt.vbi.sampling_rate = 6750000 * 4 / 2;
1874 format->fmt.vbi.count[0] = dev->vbi_height;
1875 format->fmt.vbi.count[1] = dev->vbi_height;
1880 format->fmt.vbi.start[0] = 10;
1881 format->fmt.vbi.start[1] = 273;
1884 format->fmt.vbi.start[0] = 6;
1885 format->fmt.vbi.start[1] = 318;
1892 struct v4l2_format *format)
1897 format->fmt.vbi.samples_per_line = dev->vbi_width;
1898 format->fmt.vbi.sample_format = V4L2_PIX_FMT_GREY;
1899 format->fmt.vbi.offset = 0;
1900 format->fmt.vbi.flags = 0;
1901 format->fmt.vbi.sampling_rate = 6750000 * 4 / 2;
1902 format->fmt.vbi.count[0] = dev->vbi_height;
1903 format->fmt.vbi.count[1] = dev->vbi_height;
1908 format->fmt.vbi.start[0] = 10;
1909 format->fmt.vbi.start[1] = 273;
1912 format->fmt.vbi.start[0] = 6;
1913 format->fmt.vbi.start[1] = 318;
2509 dev->format = &format[0];
2510 em28xx_set_video_format(dev, format[0].fourcc,