Lines Matching defs:rect
81 struct v4l2_rect rect;
423 struct v4l2_rect *rect = &vou_dev->rect;
436 frame_out_height = rect->height / 2;
437 frame_out_top = rect->top / 2;
461 dsr_h = rect->width + rect->left;
467 rect->left, frame_out_top, dsr_h, dsr_v);
472 sh_vou_reg_ab_write(vou_dev, VOUDPR, (rect->left << 16) | frame_out_top);
712 geo.output = vou_dev->rect;
747 vou_dev->rect = geo.output;
834 vou_dev->rect.top = vou_dev->rect.left = 0;
835 vou_dev->rect.width = VOU_MAX_IMAGE_WIDTH;
839 vou_dev->rect.height = 480;
842 vou_dev->rect.height = 576;
845 vou_dev->pix.width = vou_dev->rect.width;
846 vou_dev->pix.height = vou_dev->rect.height;
904 sel->r = vou_dev->rect;
926 struct v4l2_rect *rect = &sel->r;
956 v4l_bound_align_image(&rect->width,
958 &rect->height,
961 if (rect->width + rect->left > VOU_MAX_IMAGE_WIDTH)
962 rect->left = VOU_MAX_IMAGE_WIDTH - rect->width;
964 if (rect->height + rect->top > img_height_max)
965 rect->top = img_height_max - rect->height;
967 geo.output = *rect;
1004 vou_dev->rect = geo.output;
1221 struct v4l2_rect *rect;
1250 rect = &vou_dev->rect;
1255 rect->left = 0;
1256 rect->top = 0;
1257 rect->width = VOU_MAX_IMAGE_WIDTH;
1258 rect->height = 480;