Lines Matching defs:vfd
289 struct v4l2_fmtdesc vfd = { .type = V4L2_BUF_TYPE_VIDEO_CAPTURE };
291 while(!v4l2_ioctl(s->fd, VIDIOC_ENUM_FMT, &vfd)) {
292 enum AVCodecID codec_id = ff_fmt_v4l2codec(vfd.pixelformat);
293 enum AVPixelFormat pix_fmt = ff_fmt_v4l2ff(vfd.pixelformat, codec_id);
295 vfd.index++;
297 if (!(vfd.flags & V4L2_FMT_FLAG_COMPRESSED) &&
302 vfd.description);
303 } else if (vfd.flags & V4L2_FMT_FLAG_COMPRESSED &&
308 vfd.description);
314 if (vfd.flags & V4L2_FMT_FLAG_EMULATED)
318 list_framesizes(ctx, vfd.pixelformat);