Lines Matching refs:rect

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