Lines Matching defs:format

103 static struct em28xx_fmt format[] = {
218 fmt = v4l2->format->reg;
228 * it's likely used for an additional (compressed ?) format there.
346 * it out, we end up with the same format as the rest of the VBI
641 * Process data packet according to the em2710/em2750/em28xx frame data format
726 * Process data packet according to the em25xx/em276x/7x/8x frame data format
1045 (v4l2->width * v4l2->height * v4l2->format->depth + 7) >> 3;
1067 size = (v4l2->width * v4l2->height * v4l2->format->depth + 7) >> 3;
1430 f->fmt.pix.pixelformat = v4l2->format->fourcc;
1431 f->fmt.pix.bytesperline = (v4l2->width * v4l2->format->depth + 7) >> 3;
1448 for (i = 0; i < ARRAY_SIZE(format); i++)
1449 if (format[i].fourcc == fourcc)
1450 return &format[i];
1469 fmt = &format[0];
1470 em28xx_videodbg("Fourcc format (%08x) invalid. Using default (%08x).\n",
1487 * width must even because of the YUYV format
1527 v4l2->format = fmt;
2003 if (unlikely(f->index >= ARRAY_SIZE(format)))
2006 f->pixelformat = format[f->index].fourcc;
2021 em28xx_videodbg("Fourcc format (%08x) invalid.\n",
2056 struct v4l2_format *format)
2061 format->fmt.vbi.samples_per_line = v4l2->vbi_width;
2062 format->fmt.vbi.sample_format = V4L2_PIX_FMT_GREY;
2063 format->fmt.vbi.offset = 0;
2064 format->fmt.vbi.flags = 0;
2065 format->fmt.vbi.sampling_rate = 6750000 * 4 / 2;
2066 format->fmt.vbi.count[0] = v4l2->vbi_height;
2067 format->fmt.vbi.count[1] = v4l2->vbi_height;
2068 memset(format->fmt.vbi.reserved, 0, sizeof(format->fmt.vbi.reserved));
2073 format->fmt.vbi.start[0] = 10;
2074 format->fmt.vbi.start[1] = 273;
2077 format->fmt.vbi.start[0] = 6;
2078 format->fmt.vbi.start[1] = 318;
2569 * Default format, used for tvp5150 or saa711x output formats
2693 v4l2->format = &format[0];
2703 em28xx_set_video_format(dev, format[0].fourcc,