Lines Matching defs:format
81 static struct cx231xx_fmt format[] = {
718 dev->size = (dev->width * dev->height * dev->format->depth + 7) >> 3;
836 f->fmt.pix.pixelformat = dev->format->fourcc;
837 f->fmt.pix.bytesperline = (dev->width * dev->format->depth + 7) >> 3;
850 for (i = 0; i < ARRAY_SIZE(format); i++)
851 if (format[i].fourcc == fourcc)
852 return &format[i];
869 cx231xx_videodbg("Fourcc format (%08x) invalid.\n",
874 /* width must even because of the YUYV format
893 struct v4l2_subdev_format format = {
910 dev->format = format_by_fourcc(f->fmt.pix.pixelformat);
912 v4l2_fill_mbus_format(&format.format, &f->fmt.pix, MEDIA_BUS_FMT_FIXED);
913 call_all(dev, pad, set_fmt, NULL, &format);
914 v4l2_fill_pix_format(&f->fmt.pix, &format.format);
930 struct v4l2_subdev_format format = {
951 format.format.code = MEDIA_BUS_FMT_FIXED;
952 format.format.width = dev->width;
953 format.format.height = dev->height;
954 call_all(dev, pad, set_fmt, NULL, &format);
1401 if (unlikely(f->index >= ARRAY_SIZE(format)))
1404 f->pixelformat = format[f->index].fourcc;
1769 dev->format = &format[0];