Lines Matching refs:format

62  * The BRx can't perform format conversion, all sink and source formats must be
63 * identical. We pick the format on the first sink pad (pad 0) and propagate it
110 struct v4l2_mbus_framefmt *format;
114 /* Default to YUV if the requested format is not supported. */
121 /* The BRx can't perform format conversion. */
122 format = vsp1_entity_get_pad_format(&brx->entity, sd_state,
124 fmt->code = format->code;
140 struct v4l2_mbus_framefmt *format;
151 brx_try_format(brx, state, fmt->pad, &fmt->format);
153 format = vsp1_entity_get_pad_format(&brx->entity, state, fmt->pad);
154 *format = fmt->format;
163 compose->width = format->width;
164 compose->height = format->height;
167 /* Propagate the format code to all pads. */
172 format = vsp1_entity_get_pad_format(&brx->entity,
174 format->code = fmt->format.code;
223 struct v4l2_mbus_framefmt *format;
245 format = vsp1_entity_get_pad_format(&brx->entity, state,
247 sel->r.left = clamp_t(unsigned int, sel->r.left, 0, format->width - 1);
248 sel->r.top = clamp_t(unsigned int, sel->r.top, 0, format->height - 1);
252 * to the sink format size.
254 format = vsp1_entity_get_pad_format(&brx->entity, state, sel->pad);
255 sel->r.width = format->width;
256 sel->r.height = format->height;
289 struct v4l2_mbus_framefmt *format;
293 format = vsp1_entity_get_pad_format(&brx->entity, brx->entity.state,
305 * format at the pipeline output is premultiplied.
307 flags = pipe->output ? pipe->output->format.flags : 0;
317 (format->width << VI6_BRU_VIRRPF_SIZE_HSIZE_SHIFT) |
318 (format->height << VI6_BRU_VIRRPF_SIZE_VSIZE_SHIFT));
349 premultiplied = brx->inputs[i].rpf->format.flags