Lines Matching refs:format
80 struct v4l2_mbus_framefmt *format; in hsit_enum_frame_size() local
82 format = vsp1_entity_get_pad_format(&hsit->entity, cfg, fse->pad, in hsit_enum_frame_size()
85 if (fse->index || fse->code != format->code) in hsit_enum_frame_size()
97 fse->min_width = format->width; in hsit_enum_frame_size()
98 fse->max_width = format->width; in hsit_enum_frame_size()
99 fse->min_height = format->height; in hsit_enum_frame_size()
100 fse->max_height = format->height; in hsit_enum_frame_size()
112 fmt->format = *vsp1_entity_get_pad_format(&hsit->entity, cfg, fmt->pad, in hsit_get_format()
123 struct v4l2_mbus_framefmt *format; in hsit_set_format() local
125 format = vsp1_entity_get_pad_format(&hsit->entity, cfg, fmt->pad, in hsit_set_format()
132 fmt->format = *format; in hsit_set_format()
136 format->code = hsit->inverse ? MEDIA_BUS_FMT_AHSV8888_1X32 in hsit_set_format()
138 format->width = clamp_t(unsigned int, fmt->format.width, in hsit_set_format()
140 format->height = clamp_t(unsigned int, fmt->format.height, in hsit_set_format()
142 format->field = V4L2_FIELD_NONE; in hsit_set_format()
143 format->colorspace = V4L2_COLORSPACE_SRGB; in hsit_set_format()
145 fmt->format = *format; in hsit_set_format()
148 format = vsp1_entity_get_pad_format(&hsit->entity, cfg, HSIT_PAD_SOURCE, in hsit_set_format()
150 *format = fmt->format; in hsit_set_format()
151 format->code = hsit->inverse ? MEDIA_BUS_FMT_ARGB8888_1X32 in hsit_set_format()