Lines Matching refs:sdformat
160 struct v4l2_subdev_format *sdformat) in video_mux_get_format() argument
166 sdformat->format = *__video_mux_get_pad_format(sd, cfg, sdformat->pad, in video_mux_get_format()
167 sdformat->which); in video_mux_get_format()
176 struct v4l2_subdev_format *sdformat) in video_mux_set_format() argument
180 struct media_pad *pad = &vmux->pads[sdformat->pad]; in video_mux_set_format()
183 mbusformat = __video_mux_get_pad_format(sd, cfg, sdformat->pad, in video_mux_set_format()
184 sdformat->which); in video_mux_set_format()
189 sdformat->which); in video_mux_set_format()
194 v4l_bound_align_image(&sdformat->format.width, 1, 65536, 0, in video_mux_set_format()
195 &sdformat->format.height, 1, 65536, 0, 0); in video_mux_set_format()
198 switch (sdformat->format.code) { in video_mux_set_format()
289 sdformat->format.code = MEDIA_BUS_FMT_Y8_1X8; in video_mux_set_format()
292 if (sdformat->format.field == V4L2_FIELD_ANY) in video_mux_set_format()
293 sdformat->format.field = V4L2_FIELD_NONE; in video_mux_set_format()
299 sdformat->format = vmux->format_mbus[vmux->active]; in video_mux_set_format()
301 *mbusformat = sdformat->format; in video_mux_set_format()
305 *source_mbusformat = sdformat->format; in video_mux_set_format()