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
273 fmt->format = *__xtpg_get_pad_format(xtpg, cfg, fmt->pad, fmt->which);
288 /* In two pads mode the source pad format is always identical to the
289 * sink pad format.
292 fmt->format = *__format;
298 bayer_phase = xtpg_get_bayer_phase(fmt->format.code);
300 __format->code = fmt->format.code;
305 fmt->format = *__format;
307 /* Propagate the format to the source pad. */
310 *__format = fmt->format;
324 struct v4l2_mbus_framefmt *format;
326 format = v4l2_subdev_get_try_format(subdev, cfg, fse->pad);
328 if (fse->index || fse->code != format->code)
340 fse->min_width = format->width;
341 fse->max_width = format->width;
342 fse->min_height = format->height;
343 fse->max_height = format->height;
352 struct v4l2_mbus_framefmt *format;
354 format = v4l2_subdev_get_try_format(subdev, fh->pad, 0);
355 *format = xtpg->default_format;
358 format = v4l2_subdev_get_try_format(subdev, fh->pad, 1);
359 *format = xtpg->default_format;
722 const struct xvip_video_format *format;
728 format = xvip_of_get_format(port);
729 if (IS_ERR(format)) {
730 dev_err(dev, "invalid format in DT");
732 return PTR_ERR(format);
735 /* Get and check the format description */
737 xtpg->vip_format = format;
738 } else if (xtpg->vip_format != format) {
739 dev_err(dev, "in/out format mismatch in DT");
814 /* Initialize the default format */