Lines Matching refs:rect

72 	struct v4l2_rect rect;  member
449 struct v4l2_rect *rect = &vou_dev->rect; in sh_vou_configure_geometry() local
462 frame_out_height = rect->height / 2; in sh_vou_configure_geometry()
463 frame_out_top = rect->top / 2; in sh_vou_configure_geometry()
487 dsr_h = rect->width + rect->left; in sh_vou_configure_geometry()
493 rect->left, frame_out_top, dsr_h, dsr_v); in sh_vou_configure_geometry()
498 sh_vou_reg_ab_write(vou_dev, VOUDPR, (rect->left << 16) | frame_out_top); in sh_vou_configure_geometry()
691 vou_dev->rect.width, vou_dev->rect.height, in sh_vou_s_fmt_vid_out()
719 geo.output = vou_dev->rect; in sh_vou_s_fmt_vid_out()
749 vou_dev->rect = geo.output; in sh_vou_s_fmt_vid_out()
931 a->c = vou_dev->rect; in sh_vou_g_crop()
941 struct v4l2_rect *rect = &a_writable.c; in sh_vou_s_crop() local
955 rect->width, rect->height, rect->left, rect->top); in sh_vou_s_crop()
965 v4l_bound_align_image(&rect->width, 0, VOU_MAX_IMAGE_WIDTH, 1, in sh_vou_s_crop()
966 &rect->height, 0, img_height_max, 1, 0); in sh_vou_s_crop()
968 if (rect->width + rect->left > VOU_MAX_IMAGE_WIDTH) in sh_vou_s_crop()
969 rect->left = VOU_MAX_IMAGE_WIDTH - rect->width; in sh_vou_s_crop()
971 if (rect->height + rect->top > img_height_max) in sh_vou_s_crop()
972 rect->top = img_height_max - rect->height; in sh_vou_s_crop()
974 geo.output = *rect; in sh_vou_s_crop()
1011 vou_dev->rect = geo.output; in sh_vou_s_crop()
1295 struct v4l2_rect *rect; in sh_vou_probe() local
1323 rect = &vou_dev->rect; in sh_vou_probe()
1328 rect->left = 0; in sh_vou_probe()
1329 rect->top = 0; in sh_vou_probe()
1330 rect->width = VOU_MAX_IMAGE_WIDTH; in sh_vou_probe()
1331 rect->height = 480; in sh_vou_probe()