Lines Matching defs:vfmt
787 struct video_format vfmt;
795 err = hw->enum_format(sc->hw_softc, fmtdesc->index, &vfmt);
799 video_format_to_v4l2_format(&vfmt, &fmt);
803 if (vfmt.pixel_format >= VIDEO_FORMAT_MJPEG)
806 video_pixel_format_str(vfmt.pixel_format),
817 struct video_format vfmt;
832 err = hw->enum_format(sc->hw_softc, n, &vfmt);
836 video_format_to_v4l2_format(&vfmt, &fmt);
845 frmdesc->discrete.width = vfmt.width;
846 frmdesc->discrete.height = vfmt.height;
870 struct video_format vfmt;
877 err = hw->get_format(sc->hw_softc, &vfmt);
881 video_format_to_v4l2_format(&vfmt, format);
890 struct video_format vfmt;
897 v4l2_format_to_video_format(fmt, &vfmt);
899 err = hw->set_format(sc->hw_softc, &vfmt);
903 video_format_to_v4l2_format(&vfmt, fmt);
904 sc->sc_stream_in.vs_format = vfmt;
915 struct video_format vfmt;
922 v4l2_format_to_video_format(format, &vfmt);
924 err = hw->try_format(sc->hw_softc, &vfmt);
928 video_format_to_v4l2_format(&vfmt, format);