Lines Matching refs:format
89 struct v4l2_mbus_framefmt format;
90 const struct ov7740_pixfmt *fmt; /* Current format */
772 /* default to first format */
800 ov7740->format = *fmt;
807 struct v4l2_subdev_format *format)
818 if (format->pad) {
823 if (format->which == V4L2_SUBDEV_FORMAT_TRY) {
824 ret = ov7740_try_fmt_internal(sd, &format->format, NULL, NULL);
828 mbus_fmt = v4l2_subdev_get_try_format(sd, cfg, format->pad);
829 *mbus_fmt = format->format;
835 ret = ov7740_try_fmt_internal(sd, &format->format, &ovfmt, &fsize);
852 struct v4l2_subdev_format *format)
861 if (format->which == V4L2_SUBDEV_FORMAT_TRY) {
864 format->format = *mbus_fmt;
870 format->format = ov7740->format;
892 struct v4l2_mbus_framefmt *format)
896 format->width = ov7740->frmsize->width;
897 format->height = ov7740->frmsize->height;
898 format->colorspace = ov7740->fmt->colorspace;
899 format->code = ov7740->fmt->mbus_code;
900 format->field = V4L2_FIELD_NONE;
907 struct v4l2_mbus_framefmt *format =
911 ov7740_get_default_format(sd, format);
1134 ov7740_get_default_format(sd, &ov7740->format);