Lines Matching full:compose
119 struct v4l2_rect *compose) in dcmipp_byteproc_adjust_crop() argument
123 v4l2_rect_map_inside(r, compose); in dcmipp_byteproc_adjust_crop()
132 /* Compose is not possible for JPEG or Bayer formats */ in dcmipp_byteproc_adjust_compose()
234 struct v4l2_rect *compose; in dcmipp_byteproc_enum_frame_size() local
246 compose = v4l2_subdev_state_get_compose(sd_state, 0); in dcmipp_byteproc_enum_frame_size()
247 fse->max_width = compose->width; in dcmipp_byteproc_enum_frame_size()
248 fse->max_height = compose->height; in dcmipp_byteproc_enum_frame_size()
259 struct v4l2_rect *crop, *compose; in dcmipp_byteproc_set_fmt() local
267 compose = v4l2_subdev_state_get_compose(sd_state, 0); in dcmipp_byteproc_set_fmt()
279 *compose = *crop; in dcmipp_byteproc_set_fmt()
293 struct v4l2_rect *crop, *compose; in dcmipp_byteproc_get_selection() local
297 * Compose is done on the sink pad in dcmipp_byteproc_get_selection()
314 compose = v4l2_subdev_state_get_compose(sd_state, 0); in dcmipp_byteproc_get_selection()
322 s->r = *compose; in dcmipp_byteproc_get_selection()
325 s->r = *compose; in dcmipp_byteproc_get_selection()
347 struct v4l2_rect *crop, *compose; in dcmipp_byteproc_set_selection() local
351 * Compose is done on the sink pad in dcmipp_byteproc_set_selection()
365 compose = v4l2_subdev_state_get_compose(sd_state, 0); in dcmipp_byteproc_set_selection()
369 dcmipp_byteproc_adjust_crop(&s->r, compose); in dcmipp_byteproc_set_selection()
382 *compose = s->r; in dcmipp_byteproc_set_selection()
389 dev_dbg(byteproc->dev, "s_selection: compose %ux%u@(%u,%u)\n", in dcmipp_byteproc_set_selection()
390 compose->width, compose->height, in dcmipp_byteproc_set_selection()
391 compose->left, compose->top); in dcmipp_byteproc_set_selection()
407 struct v4l2_rect *compose, *crop; in dcmipp_byteproc_configure_scale_crop() local
411 compose = v4l2_subdev_state_get_compose(state, 0); in dcmipp_byteproc_configure_scale_crop()
430 hprediv = sink_fmt->width / compose->width; in dcmipp_byteproc_configure_scale_crop()
438 vprediv = sink_fmt->height / compose->height; in dcmipp_byteproc_configure_scale_crop()
447 compose->width, compose->height, in dcmipp_byteproc_configure_scale_crop()