Lines Matching defs:rect
458 struct v4l2_rect *rect;
486 rect = mxc_isi_pipe_get_pad_compose(pipe, state,
488 rect->width = mf->width;
489 rect->height = mf->height;
491 rect = mxc_isi_pipe_get_pad_crop(pipe, state,
493 rect->left = 0;
494 rect->top = 0;
495 rect->width = mf->width;
496 rect->height = mf->height;
529 rect = mxc_isi_pipe_get_pad_crop(pipe, state,
532 mf->width = rect->width;
533 mf->height = rect->height;
551 const struct v4l2_rect *rect;
574 rect = mxc_isi_pipe_get_pad_compose(pipe, state,
576 sel->r = *rect;
584 rect = mxc_isi_pipe_get_pad_crop(pipe, state, sel->pad);
585 sel->r = *rect;
593 rect = mxc_isi_pipe_get_pad_compose(pipe, state, sel->pad);
594 sel->r = *rect;
610 struct v4l2_rect *rect;
619 rect = mxc_isi_pipe_get_pad_compose(pipe, state,
621 sel->r.left = clamp_t(s32, sel->r.left, 0, rect->width - 1);
622 sel->r.top = clamp_t(s32, sel->r.top, 0, rect->height - 1);
624 rect->width - sel->r.left);
626 rect->height - sel->r.top);
628 rect = mxc_isi_pipe_get_pad_crop(pipe, state,
630 *rect = sel->r;
655 rect = mxc_isi_pipe_get_pad_compose(pipe, state,
657 *rect = sel->r;
660 rect = mxc_isi_pipe_get_pad_crop(pipe, state,
662 rect->left = 0;
663 rect->top = 0;
664 rect->width = sel->r.width;
665 rect->height = sel->r.height;