Lines Matching defs:format
557 * @format: V4L2 media bus frame format structure
573 struct v4l2_mbus_framefmt format;
983 * compose and format.
987 * and set it in both the compose rect and the frame format size. We
1025 tgt_fmt = &imx274->format;
1061 * imx274_get_fmt - Get the pad format
1064 * @fmt: Pointer to pad level media bus format
1066 * This function is used to get the pad format information.
1077 fmt->format = imx274->format;
1083 * imx274_set_fmt - This is used to set the pad format
1086 * @format: Pointer to pad level media bus format
1088 * This function is used to set the pad format.
1094 struct v4l2_subdev_format *format)
1096 struct v4l2_mbus_framefmt *fmt = &format->format;
1102 err = __imx274_change_compose(imx274, sd_state, format->which,
1110 * applicable format, but we need to keep all other format
1114 if (format->which == V4L2_SUBDEV_FORMAT_TRY)
1117 imx274->format = *fmt;
1150 src_fmt = &imx274->format;
1918 /* only supported format in the driver is Raw 10 bits SRGGB */
2022 /* initialize format */
2026 imx274->format.width = imx274->crop.width / imx274->mode->wbin_ratio;
2027 imx274->format.height = imx274->crop.height / imx274->mode->hbin_ratio;
2028 imx274->format.field = V4L2_FIELD_NONE;
2029 imx274->format.code = MEDIA_BUS_FMT_SRGGB10_1X10;
2030 imx274->format.colorspace = V4L2_COLORSPACE_SRGB;