Lines Matching refs:format

74 	struct v4l2_mbus_framefmt *format;  in bru_s_stream()  local
86 format = &bru->entity.formats[BRU_PAD_SOURCE]; in bru_s_stream()
97 flags = pipe->output ? pipe->output->video.format.flags : 0; in bru_s_stream()
104 (format->width << VI6_BRU_VIRRPF_SIZE_HSIZE_SHIFT) | in bru_s_stream()
105 (format->height << VI6_BRU_VIRRPF_SIZE_VSIZE_SHIFT)); in bru_s_stream()
128 premultiplied = bru->inputs[i].rpf->video.format.flags in bru_s_stream()
194 struct v4l2_mbus_framefmt *format; in bru_enum_mbus_code() local
205 format = vsp1_entity_get_pad_format(&bru->entity, cfg, in bru_enum_mbus_code()
207 code->code = format->code; in bru_enum_mbus_code()
251 fmt->format = *vsp1_entity_get_pad_format(&bru->entity, cfg, fmt->pad, in bru_get_format()
261 struct v4l2_mbus_framefmt *format; in bru_try_format() local
273 format = vsp1_entity_get_pad_format(&bru->entity, cfg, in bru_try_format()
275 fmt->code = format->code; in bru_try_format()
289 struct v4l2_mbus_framefmt *format; in bru_set_format() local
291 bru_try_format(bru, cfg, fmt->pad, &fmt->format, fmt->which); in bru_set_format()
293 format = vsp1_entity_get_pad_format(&bru->entity, cfg, fmt->pad, in bru_set_format()
295 *format = fmt->format; in bru_set_format()
304 compose->width = format->width; in bru_set_format()
305 compose->height = format->height; in bru_set_format()
313 format = vsp1_entity_get_pad_format(&bru->entity, cfg, in bru_set_format()
315 format->code = fmt->format.code; in bru_set_format()
353 struct v4l2_mbus_framefmt *format; in bru_set_selection() local
365 format = vsp1_entity_get_pad_format(&bru->entity, cfg, BRU_PAD_SOURCE, in bru_set_selection()
367 sel->r.left = clamp_t(unsigned int, sel->r.left, 0, format->width - 1); in bru_set_selection()
368 sel->r.top = clamp_t(unsigned int, sel->r.top, 0, format->height - 1); in bru_set_selection()
373 format = vsp1_entity_get_pad_format(&bru->entity, cfg, sel->pad, in bru_set_selection()
375 sel->r.width = format->width; in bru_set_selection()
376 sel->r.height = format->height; in bru_set_selection()