Lines Matching refs:format
121 /* We don't support bayer format */
139 /* Only accept code in the pix map table in non bayer format */
160 struct v4l2_subdev_format *format)
165 /* Get the current sink format */
166 if (format->which == V4L2_SUBDEV_FORMAT_TRY) {
167 format->format = *v4l2_subdev_get_try_format(sd, cfg, 0);
170 format->format = vsca->sink_fmt;
175 if (VIMC_IS_SRC(format->pad)) {
176 format->format.width = crop_rect->width * sca_mult;
177 format->format.height = crop_rect->height * sca_mult;
187 /* Only accept code in the pix map table in non bayer format */
212 /* Do not change the format while stream is on */
224 * Do not change the format of the source pad,
228 fmt->format = *sink_fmt;
229 fmt->format.width = crop_rect->width * sca_mult;
230 fmt->format.height = crop_rect->height * sca_mult;
232 /* Set the new format in the sink pad */
233 vimc_sca_adjust_sink_fmt(&fmt->format);
235 dev_dbg(vsca->ved.dev, "%s: sink format update: "
243 fmt->format.width, fmt->format.height, fmt->format.code,
244 fmt->format.colorspace, fmt->format.quantization,
245 fmt->format.xfer_func, fmt->format.ycbcr_enc);
247 *sink_fmt = fmt->format;
301 /* Do not change the format while stream is on */
510 /* Initialize the frame format */