Lines Matching defs:format
221 const struct v4l2_mbus_framefmt *format;
230 format = v4l2_subdev_state_get_opposite_stream_format(state,
233 if (!format)
236 code->code = format->code;
263 * The source pad format is always identical to the sink pad format and
269 /* Validate the requested format. */
270 if (!mxc_isi_bus_format_by_code(fmt->format.code, MXC_ISI_PIPE_PAD_SINK))
271 fmt->format.code = MXC_ISI_DEF_MBUS_CODE_SINK;
273 fmt->format.width = clamp_t(unsigned int, fmt->format.width,
275 fmt->format.height = clamp_t(unsigned int, fmt->format.height,
277 fmt->format.field = V4L2_FIELD_NONE;
280 * Set the format on the sink stream and propagate it to the source
287 *sink_fmt = fmt->format;
289 /* TODO: A format propagation helper would be useful. */
303 *source_fmt = fmt->format;