Lines Matching refs:format
89 struct v4l2_mbus_framefmt format;
90 const struct ov7740_pixfmt *fmt; /* Current format */
770 /* default to first format */
798 ov7740->format = *fmt;
805 struct v4l2_subdev_format *format)
816 if (format->pad) {
821 if (format->which == V4L2_SUBDEV_FORMAT_TRY) {
822 ret = ov7740_try_fmt_internal(sd, &format->format, NULL, NULL);
827 format->pad);
828 *mbus_fmt = format->format;
834 ret = ov7740_try_fmt_internal(sd, &format->format, &ovfmt, &fsize);
851 struct v4l2_subdev_format *format)
860 if (format->which == V4L2_SUBDEV_FORMAT_TRY) {
863 format->format = *mbus_fmt;
869 format->format = ov7740->format;
891 struct v4l2_mbus_framefmt *format)
895 format->width = ov7740->frmsize->width;
896 format->height = ov7740->frmsize->height;
897 format->colorspace = ov7740->fmt->colorspace;
898 format->code = ov7740->fmt->mbus_code;
899 format->field = V4L2_FIELD_NONE;
906 struct v4l2_mbus_framefmt *format =
910 ov7740_get_default_format(sd, format);
1133 ov7740_get_default_format(sd, &ov7740->format);