Lines Matching defs:format
94 static struct cx231xx_fmt format[] = {
693 *size = (fh->dev->width * fh->dev->height * dev->format->depth + 7)>>3;
748 /* The only currently supported format is 16 bits/pixel */
749 buf->vb.size = (fh->dev->width * fh->dev->height * dev->format->depth
924 f->fmt.pix.pixelformat = dev->format->fourcc;
925 f->fmt.pix.bytesperline = (dev->width * dev->format->depth + 7) >> 3;
940 for (i = 0; i < ARRAY_SIZE(format); i++)
941 if (format[i].fourcc == fourcc)
942 return &format[i];
961 cx231xx_videodbg("Fourcc format (%08x) invalid.\n",
966 /* width must even because of the YUYV format
1024 dev->format = fmt;
1639 if (unlikely(f->index >= ARRAY_SIZE(format)))
1642 strlcpy(f->description, format[f->index].name, sizeof(f->description));
1643 f->pixelformat = format[f->index].fourcc;
2341 dev->format = &format[0];