Lines Matching full:compose
778 * __vfe_get_compose - Get pointer to compose selection structure
783 * Return pointer to TRY or ACTIVE compose rectangle structure
794 return &line->compose; in __vfe_get_compose()
879 * vfe_try_compose - Handle try compose selection by pad subdev method
929 struct v4l2_rect *compose; in vfe_try_crop() local
931 compose = __vfe_get_compose(line, sd_state, which); in vfe_try_crop()
933 if (rect->width > compose->width) in vfe_try_crop()
934 rect->width = compose->width; in vfe_try_crop()
936 if (rect->width + rect->left > compose->width) in vfe_try_crop()
937 rect->left = compose->width - rect->width; in vfe_try_crop()
939 if (rect->height > compose->height) in vfe_try_crop()
940 rect->height = compose->height; in vfe_try_crop()
942 if (rect->height + rect->top > compose->height) in vfe_try_crop()
943 rect->top = compose->height - rect->height; in vfe_try_crop()
1097 /* Reset sink pad compose selection */ in vfe_set_format()