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, sd_state, fmt->pad,
289 /* In two pads mode the source pad format is always identical to the
290 * sink pad format.
293 fmt->format = *__format;
299 bayer_phase = xtpg_get_bayer_phase(fmt->format.code);
301 __format->code = fmt->format.code;
306 fmt->format = *__format;
308 /* Propagate the format to the source pad. */
312 *__format = fmt->format;
326 struct v4l2_mbus_framefmt *format;
328 format = v4l2_subdev_state_get_format(sd_state, fse->pad);
330 if (fse->index || fse->code != format->code)
342 fse->min_width = format->width;
343 fse->max_width = format->width;
344 fse->min_height = format->height;
345 fse->max_height = format->height;
354 struct v4l2_mbus_framefmt *format;
356 format = v4l2_subdev_state_get_format(fh->state, 0);
357 *format = xtpg->default_format;
360 format = v4l2_subdev_state_get_format(fh->state, 1);
361 *format = xtpg->default_format;
724 const struct xvip_video_format *format;
730 format = xvip_of_get_format(port);
731 if (IS_ERR(format)) {
732 dev_err(dev, "invalid format in DT");
734 return PTR_ERR(format);
737 /* Get and check the format description */
739 xtpg->vip_format = format;
740 } else if (xtpg->vip_format != format) {
741 dev_err(dev, "in/out format mismatch in DT");
816 /* Initialize the default format */