Lines Matching refs:rect
84 struct v4l2_rect rect; member
440 struct v4l2_rect *rect = &vou_dev->rect; in sh_vou_configure_geometry() local
453 frame_out_height = rect->height / 2; in sh_vou_configure_geometry()
454 frame_out_top = rect->top / 2; in sh_vou_configure_geometry()
478 dsr_h = rect->width + rect->left; in sh_vou_configure_geometry()
484 rect->left, frame_out_top, dsr_h, dsr_v); in sh_vou_configure_geometry()
489 sh_vou_reg_ab_write(vou_dev, VOUDPR, (rect->left << 16) | frame_out_top); in sh_vou_configure_geometry()
728 geo.output = vou_dev->rect; in sh_vou_set_fmt_vid_out()
763 vou_dev->rect = geo.output; in sh_vou_set_fmt_vid_out()
849 vou_dev->rect.top = vou_dev->rect.left = 0; in sh_vou_s_std()
850 vou_dev->rect.width = VOU_MAX_IMAGE_WIDTH; in sh_vou_s_std()
854 vou_dev->rect.height = 480; in sh_vou_s_std()
857 vou_dev->rect.height = 576; in sh_vou_s_std()
860 vou_dev->pix.width = vou_dev->rect.width; in sh_vou_s_std()
861 vou_dev->pix.height = vou_dev->rect.height; in sh_vou_s_std()
919 sel->r = vou_dev->rect; in sh_vou_g_selection()
941 struct v4l2_rect *rect = &sel->r; in sh_vou_s_selection() local
968 v4l_bound_align_image(&rect->width, in sh_vou_s_selection()
970 &rect->height, in sh_vou_s_selection()
973 if (rect->width + rect->left > VOU_MAX_IMAGE_WIDTH) in sh_vou_s_selection()
974 rect->left = VOU_MAX_IMAGE_WIDTH - rect->width; in sh_vou_s_selection()
976 if (rect->height + rect->top > img_height_max) in sh_vou_s_selection()
977 rect->top = img_height_max - rect->height; in sh_vou_s_selection()
979 geo.output = *rect; in sh_vou_s_selection()
1016 vou_dev->rect = geo.output; in sh_vou_s_selection()
1227 struct v4l2_rect *rect; in sh_vou_probe() local
1256 rect = &vou_dev->rect; in sh_vou_probe()
1261 rect->left = 0; in sh_vou_probe()
1262 rect->top = 0; in sh_vou_probe()
1263 rect->width = VOU_MAX_IMAGE_WIDTH; in sh_vou_probe()
1264 rect->height = 480; in sh_vou_probe()