Lines Matching refs:start_window
966 struct v4l2_rect start_window; in ivtvfb_init_vidmode() local
987 start_window.width = osd_xres ? osd_xres : 640; in ivtvfb_init_vidmode()
990 if (osd_left && osd_left + start_window.width > 721) { in ivtvfb_init_vidmode()
998 start_window.left = osd_left >= 0 ? in ivtvfb_init_vidmode()
999 osd_left : ((IVTV_OSD_MAX_WIDTH - start_window.width) / 2); in ivtvfb_init_vidmode()
1002 start_window.width * oi->bytes_per_pixel; in ivtvfb_init_vidmode()
1011 start_window.height = osd_yres ? in ivtvfb_init_vidmode()
1015 if (osd_upper + start_window.height > max_height + 1) { in ivtvfb_init_vidmode()
1023 start_window.top = osd_upper >= 0 ? osd_upper : ((max_height - start_window.height) / 2); in ivtvfb_init_vidmode()
1025 oi->display_width = start_window.width; in ivtvfb_init_vidmode()
1026 oi->display_height = start_window.height; in ivtvfb_init_vidmode()
1036 oi->ivtvfb_defined.left_margin = start_window.left + 1; in ivtvfb_init_vidmode()
1037 oi->ivtvfb_defined.upper_margin = start_window.top + 1; in ivtvfb_init_vidmode()