Lines Matching refs:r
161 sel->r = *vsp1_rwpf_get_crop(rwpf, cfg, sel->which); in vsp1_rwpf_get_selection()
167 sel->r.left = 0; in vsp1_rwpf_get_selection()
168 sel->r.top = 0; in vsp1_rwpf_get_selection()
169 sel->r.width = format->width; in vsp1_rwpf_get_selection()
170 sel->r.height = format->height; in vsp1_rwpf_get_selection()
200 sel->r.left = min_t(unsigned int, sel->r.left, format->width - 2); in vsp1_rwpf_set_selection()
201 sel->r.top = min_t(unsigned int, sel->r.top, format->height - 2); in vsp1_rwpf_set_selection()
203 sel->r.left = min_t(unsigned int, sel->r.left, 255); in vsp1_rwpf_set_selection()
204 sel->r.top = min_t(unsigned int, sel->r.top, 255); in vsp1_rwpf_set_selection()
206 sel->r.width = min_t(unsigned int, sel->r.width, in vsp1_rwpf_set_selection()
207 format->width - sel->r.left); in vsp1_rwpf_set_selection()
208 sel->r.height = min_t(unsigned int, sel->r.height, in vsp1_rwpf_set_selection()
209 format->height - sel->r.top); in vsp1_rwpf_set_selection()
212 *crop = sel->r; in vsp1_rwpf_set_selection()