Lines Matching refs:format

76  * @formats: active V4L2 media bus format for each pad
77 * @default_format: default V4L2 media bus format
78 * @vip_format: format information corresponding to the active format
79 * @bayer: boolean flag if TPG is set to any bayer format
274 fmt->format = *__xtpg_get_pad_format(xtpg, sd_state, fmt->pad,
290 /* In two pads mode the source pad format is always identical to the
291 * sink pad format.
294 fmt->format = *__format;
300 bayer_phase = xtpg_get_bayer_phase(fmt->format.code);
302 __format->code = fmt->format.code;
307 fmt->format = *__format;
309 /* Propagate the format to the source pad. */
313 *__format = fmt->format;
327 struct v4l2_mbus_framefmt *format;
329 format = v4l2_subdev_get_try_format(subdev, sd_state, fse->pad);
331 if (fse->index || fse->code != format->code)
343 fse->min_width = format->width;
344 fse->max_width = format->width;
345 fse->min_height = format->height;
346 fse->max_height = format->height;
355 struct v4l2_mbus_framefmt *format;
357 format = v4l2_subdev_get_try_format(subdev, fh->state, 0);
358 *format = xtpg->default_format;
361 format = v4l2_subdev_get_try_format(subdev, fh->state, 1);
362 *format = xtpg->default_format;
725 const struct xvip_video_format *format;
731 format = xvip_of_get_format(port);
732 if (IS_ERR(format)) {
733 dev_err(dev, "invalid format in DT");
735 return PTR_ERR(format);
738 /* Get and check the format description */
740 xtpg->vip_format = format;
741 } else if (xtpg->vip_format != format) {
742 dev_err(dev, "in/out format mismatch in DT");
817 /* Initialize the default format */