Lines Matching defs:fmtdesc
783 video_enum_format(struct video_softc *sc, struct v4l2_fmtdesc *fmtdesc)
794 err = hw->enum_format(sc->hw_softc, fmtdesc->index, &vfmt);
800 fmtdesc->type = V4L2_BUF_TYPE_VIDEO_CAPTURE; /* TODO: only one type for now */
801 fmtdesc->flags = 0;
803 fmtdesc->flags = V4L2_FMT_FLAG_COMPRESSED;
804 strlcpy(fmtdesc->description,
806 sizeof(fmtdesc->description));
807 fmtdesc->pixelformat = fmt.fmt.pix.pixelformat;
1950 struct v4l2_fmtdesc *fmtdesc;
2005 fmtdesc = data;
2006 if (fmtdesc->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
2008 return video_enum_format(sc, fmtdesc);