Lines Matching full:compose

1653 	struct v4l2_rect *compose;  in mt9m114_ifp_init_state()  local
1673 compose = v4l2_subdev_state_get_compose(state, 0); in mt9m114_ifp_init_state()
1675 compose->left = 0; in mt9m114_ifp_init_state()
1676 compose->top = 0; in mt9m114_ifp_init_state()
1677 compose->width = crop->width; in mt9m114_ifp_init_state()
1678 compose->height = crop->height; in mt9m114_ifp_init_state()
1682 format->width = compose->width; in mt9m114_ifp_init_state()
1683 format->height = compose->height; in mt9m114_ifp_init_state()
1836 /* Crop and compose are only supported on the sink pad. */ in mt9m114_ifp_get_selection()
1866 * The compose default and bounds sizes are equal to the sink in mt9m114_ifp_get_selection()
1890 struct v4l2_rect *compose; in mt9m114_ifp_set_selection() local
1896 /* Crop and compose are only supported on the sink pad. */ in mt9m114_ifp_set_selection()
1902 compose = v4l2_subdev_state_get_compose(state, 0); in mt9m114_ifp_set_selection()
1924 /* Propagate to the compose rectangle. */ in mt9m114_ifp_set_selection()
1925 compose->width = crop->width; in mt9m114_ifp_set_selection()
1926 compose->height = crop->height; in mt9m114_ifp_set_selection()
1929 * Clamp the compose rectangle. The scaler can only downscale. in mt9m114_ifp_set_selection()
1931 compose->left = 0; in mt9m114_ifp_set_selection()
1932 compose->top = 0; in mt9m114_ifp_set_selection()
1933 compose->width = clamp_t(unsigned int, ALIGN(sel->r.width, 2), in mt9m114_ifp_set_selection()
1936 compose->height = clamp_t(unsigned int, ALIGN(sel->r.height, 2), in mt9m114_ifp_set_selection()
1940 sel->r = *compose; in mt9m114_ifp_set_selection()
1943 /* Propagate the compose rectangle to the source format. */ in mt9m114_ifp_set_selection()
1945 format->width = compose->width; in mt9m114_ifp_set_selection()
1946 format->height = compose->height; in mt9m114_ifp_set_selection()