Home
last modified time | relevance | path

Searched refs:height (Results 1 – 25 of 202) sorted by relevance

123456789

/linux-2.4.37.9/drivers/video/sis/
Dsis_accel.c134 int src_y, int dst_x, int dst_y, int width, int height) in SiS300SubsequentScreenToScreenCopy() argument
155 src_y += height-1; in SiS300SubsequentScreenToScreenCopy()
156 dst_y += height-1; in SiS300SubsequentScreenToScreenCopy()
158 SiS300SetupRect(width, height) in SiS300SubsequentScreenToScreenCopy()
221 int dst_x, int dst_y, int width, int height) in SiS310SubsequentScreenToScreenCopy() argument
237 if((mymax - mymin) < height) { in SiS310SubsequentScreenToScreenCopy()
257 SiS310SetupRect(width, height) in SiS310SubsequentScreenToScreenCopy()
344 int width, height; in fbcon_sis_fillrect() local
356 if(!rect->width || !rect->height || rect->dx >= vxres || rect->dy >= vyres) { in fbcon_sis_fillrect()
362 height = ((rect->dy + rect->height) > vyres) ? (vyres - rect->dy) : rect->height; in fbcon_sis_fillrect()
[all …]
/linux-2.4.37.9/scripts/lxdialog/
Dtextbox.c25 static void print_page (WINDOW * win, int height, int width);
28 static void print_position (WINDOW * win, int height, int width);
38 dialog_textbox (const char *title, const char *file, int height, int width) in dialog_textbox() argument
83 y = (LINES - height) / 2; in dialog_textbox()
86 draw_shadow (stdscr, y, x, height, width); in dialog_textbox()
88 dialog = newwin (height, width, y, x); in dialog_textbox()
92 text = subwin (dialog, height - 4, width - 2, y + 1, x + 1); in dialog_textbox()
99 draw_box (dialog, 0, 0, height, width, dialog_attr, border_attr); in dialog_textbox()
102 mvwaddch (dialog, height-3, 0, ACS_LTEE); in dialog_textbox()
123 print_button (dialog, " Exit ", height - 2, width / 2 - 4, TRUE); in dialog_textbox()
[all …]
Dyesno.c28 print_buttons(WINDOW *dialog, int height, int width, int selected) in print_buttons() argument
31 int y = height - 2; in print_buttons()
44 dialog_yesno (const char *title, const char *prompt, int height, int width) in dialog_yesno() argument
51 y = (LINES - height) / 2; in dialog_yesno()
53 draw_shadow (stdscr, y, x, height, width); in dialog_yesno()
55 dialog = newwin (height, width, y, x); in dialog_yesno()
58 draw_box (dialog, 0, 0, height, width, dialog_attr, border_attr); in dialog_yesno()
60 mvwaddch (dialog, height-3, 0, ACS_LTEE); in dialog_yesno()
84 print_buttons(dialog, height, width, 0); in dialog_yesno()
104 print_buttons(dialog, height, width, button); in dialog_yesno()
Dinputbox.c30 print_buttons(WINDOW *dialog, int height, int width, int selected) in print_buttons() argument
33 int y = height - 2; in print_buttons()
46 dialog_inputbox (const char *title, const char *prompt, int height, int width, in dialog_inputbox() argument
56 y = (LINES - height) / 2; in dialog_inputbox()
59 draw_shadow (stdscr, y, x, height, width); in dialog_inputbox()
61 dialog = newwin (height, width, y, x); in dialog_inputbox()
64 draw_box (dialog, 0, 0, height, width, dialog_attr, border_attr); in dialog_inputbox()
66 mvwaddch (dialog, height-3, 0, ACS_LTEE); in dialog_inputbox()
98 print_buttons(dialog, height, width, 0); in dialog_inputbox()
192 print_buttons(dialog, height, width, 1); in dialog_inputbox()
[all …]
Ddialog.h143 void attr_clear (WINDOW * win, int height, int width, chtype attr);
148 void draw_box (WINDOW * win, int y, int x, int height, int width, chtype box,
150 void draw_shadow (WINDOW * win, int y, int x, int height, int width);
153 int dialog_yesno (const char *title, const char *prompt, int height, int width);
154 int dialog_msgbox (const char *title, const char *prompt, int height,
156 int dialog_textbox (const char *title, const char *file, int height, int width);
157 int dialog_menu (const char *title, const char *prompt, int height, int width,
160 int dialog_checklist (const char *title, const char *prompt, int height,
164 int dialog_inputbox (const char *title, const char *prompt, int height,
Dmsgbox.c29 dialog_msgbox (const char *title, const char *prompt, int height, int width, in dialog_msgbox() argument
37 y = (LINES - height) / 2; in dialog_msgbox()
39 draw_shadow (stdscr, y, x, height, width); in dialog_msgbox()
41 dialog = newwin (height, width, y, x); in dialog_msgbox()
44 draw_box (dialog, 0, 0, height, width, dialog_attr, border_attr); in dialog_msgbox()
65 mvwaddch (dialog, height - 3, 0, ACS_LTEE); in dialog_msgbox()
72 height - 2, width / 2 - 4, TRUE); in dialog_msgbox()
Dchecklist.c65 int y, int x, int height) in print_arrows() argument
82 y = y + height + 1; in print_arrows()
85 if ((height < item_no) && (scroll + choice < item_no - 1)) { in print_arrows()
103 print_buttons( WINDOW *dialog, int height, int width, int selected) in print_buttons() argument
106 int y = height - 2; in print_buttons()
120 dialog_checklist (const char *title, const char *prompt, int height, int width, in dialog_checklist() argument
149 y = (LINES - height) / 2; in dialog_checklist()
151 draw_shadow (stdscr, y, x, height, width); in dialog_checklist()
153 dialog = newwin (height, width, y, x); in dialog_checklist()
156 draw_box (dialog, 0, 0, height, width, dialog_attr, border_attr); in dialog_checklist()
[all …]
Dmenubox.c105 int y, int x, int height) in print_arrows() argument
126 y = y + height + 1; in print_arrows()
129 if ((height < item_no) && (scroll + height < item_no)) { in print_arrows()
149 print_buttons (WINDOW *win, int height, int width, int selected) in print_buttons() argument
152 int y = height - 2; in print_buttons()
166 dialog_menu (const char *title, const char *prompt, int height, int width, in dialog_menu() argument
180 y = (LINES - height) / 2; in dialog_menu()
182 draw_shadow (stdscr, y, x, height, width); in dialog_menu()
184 dialog = newwin (height, width, y, x); in dialog_menu()
187 draw_box (dialog, 0, 0, height, width, dialog_attr, border_attr); in dialog_menu()
[all …]
Dutil.c112 attr_clear (WINDOW * win, int height, int width, chtype attr) in attr_clear() argument
117 for (i = 0; i < height; i++) { in attr_clear()
286 draw_box (WINDOW * win, int y, int x, int height, int width, in draw_box() argument
292 for (i = 0; i < height; i++) { in draw_box()
297 else if (i == height - 1 && !j) in draw_box()
301 else if (i == height - 1 && j == width - 1) in draw_box()
305 else if (i == height - 1) in draw_box()
321 draw_shadow (WINDOW * win, int y, int x, int height, int width) in draw_shadow() argument
327 wmove (win, y + height, x + 2); in draw_shadow()
330 for (i = y + 1; i < y + height + 1; i++) { in draw_shadow()
/linux-2.4.37.9/drivers/video/aty/
Dmach64_accel.c24 int height, int width);
26 int sx, int height, int width);
176 static inline void draw_rect(s16 x, s16 y, u16 width, u16 height, in draw_rect() argument
182 aty_st_le32(DST_HEIGHT_WIDTH, (width << 16) | height, info); in draw_rect()
187 u_int width, u_int height, in aty_rectcopy() argument
193 if (!width || !height) in aty_rectcopy()
207 dsty += height - 1; in aty_rectcopy()
208 srcy += height - 1; in aty_rectcopy()
221 aty_st_le32(SRC_HEIGHT1_WIDTH1, (width << 16) | height, info); in aty_rectcopy()
223 draw_rect(dstx, dsty, width, height, info); in aty_rectcopy()
[all …]
/linux-2.4.37.9/drivers/video/
Dfbcon-hga.c53 int height, int width) in fbcon_hga_bmove() argument
62 fb_memmove(dest, src, height*fontheight(p)*width); in fbcon_hga_bmove()
68 for (rows = height*fontheight(p); rows--; ) { in fbcon_hga_bmove()
76 y1 = (sy+height)*fontheight(p)-1; in fbcon_hga_bmove()
77 y2 = (dy+height)*fontheight(p)-1; in fbcon_hga_bmove()
78 for (rows = height*fontheight(p); rows--;) { in fbcon_hga_bmove()
89 int height, int width) in fbcon_hga_clear() argument
95 DPRINTK("fbcon_hga_clear: sx:%d, sy:%d, height:%d, width:%d\n", sx, sy, height, width); in fbcon_hga_clear()
101 fb_memset255(dest, height*fontheight(p)*width); in fbcon_hga_clear()
103 fb_memclear(dest, height*fontheight(p)*width); in fbcon_hga_clear()
[all …]
Dfbcon-mfb.c36 int height, int width) in fbcon_mfb_bmove() argument
44 fb_memmove(dest, src, height*fontheight(p)*width); in fbcon_mfb_bmove()
48 for (rows = height*fontheight(p); rows--;) { in fbcon_mfb_bmove()
54 src = p->screen_base+((sy+height)*fontheight(p)-1)*p->next_line+sx; in fbcon_mfb_bmove()
55 dest = p->screen_base+((dy+height)*fontheight(p)-1)*p->next_line+dx; in fbcon_mfb_bmove()
56 for (rows = height*fontheight(p); rows--;) { in fbcon_mfb_bmove()
65 int height, int width) in fbcon_mfb_clear() argument
75 fb_memset255(dest, height*fontheight(p)*width); in fbcon_mfb_clear()
77 fb_memclear(dest, height*fontheight(p)*width); in fbcon_mfb_clear()
79 for (rows = height*fontheight(p); rows--; dest += p->next_line) in fbcon_mfb_clear()
[all …]
Dfbcon-sti.c133 int height, int width) in fbcon_sti_bmove() argument
136 sti_bmove(default_sti /* FIXME */, sy, sx, dy, dx, height, width); in fbcon_sti_bmove()
144 memcpy_fromhp_tohp(dest, src, height*fontheight(p)*width); in fbcon_sti_bmove()
148 for (rows = height*fontheight(p); rows--;) { in fbcon_sti_bmove()
154 src = p->screen_base+((sy+height)*fontheight(p)-1)*p->next_line+sx; in fbcon_sti_bmove()
155 dest = p->screen_base+((dy+height)*fontheight(p)-1)*p->next_line+dx; in fbcon_sti_bmove()
156 for (rows = height*fontheight(p); rows--;) { in fbcon_sti_bmove()
168 int height, int width) in fbcon_sti_clear() argument
178 memset_tohp(dest, ~0, height*fontheight(p)*width); in fbcon_sti_clear()
180 memset_tohp(dest, 0, height*fontheight(p)*width); in fbcon_sti_clear()
[all …]
Dfbcon-vga.c100 int height, int width) in fbcon_vga_bmove() argument
108 vga_memmovew(dst, src, height*width); in fbcon_vga_bmove()
112 for (rows = height; rows-- ;) { in fbcon_vga_bmove()
118 src = (u16 *)(p->screen_base+(sy+height-1)*p->next_line+sx*2); in fbcon_vga_bmove()
119 dst = (u16 *)(p->screen_base+(dy+height-1)*p->next_line+dx*2); in fbcon_vga_bmove()
120 for (rows = height; rows-- ;) { in fbcon_vga_bmove()
129 int height, int width) in fbcon_vga_clear() argument
135 vga_memsetw(dest, conp->vc_video_erase_char, height*width); in fbcon_vga_clear()
137 for (rows = height; rows-- ; dest += p->next_line/2) in fbcon_vga_clear()
Dmdacon.c448 int height, int width) in mdacon_clear() argument
453 if (width <= 0 || height <= 0) in mdacon_clear()
457 scr_memsetw(dest, eattr, height*width*2); in mdacon_clear()
459 for (; height > 0; height--, dest+=mda_num_columns) in mdacon_clear()
465 int dy, int dx, int height, int width) in mdacon_bmove() argument
469 if (width <= 0 || height <= 0) in mdacon_bmove()
473 scr_memmovew(MDA_ADDR(0,dy), MDA_ADDR(0,sy), height*width*2); in mdacon_bmove()
479 for (; height > 0; height--) { in mdacon_bmove()
485 src = MDA_ADDR(sx, sy+height-1); in mdacon_bmove()
486 dest = MDA_ADDR(dx, dy+height-1); in mdacon_bmove()
[all …]
Dfbcon-cfb2.c58 int height, int width) in fbcon_cfb2_bmove() argument
66 height * linesize); in fbcon_cfb2_bmove()
72 for (rows = height * fontheight(p) ; rows-- ;) { in fbcon_cfb2_bmove()
79 src = p->screen_base + (sy+height) * linesize + sx * 2 in fbcon_cfb2_bmove()
81 dst = p->screen_base + (dy+height) * linesize + dx * 2 in fbcon_cfb2_bmove()
83 for (rows = height * fontheight(p) ; rows-- ;) { in fbcon_cfb2_bmove()
93 int height, int width) in fbcon_cfb2_clear() argument
96 int bytes=p->next_line,lines=height * fontheight(p), rows, i; in fbcon_cfb2_clear()
Dfbcon-cfb4.c58 int height, int width) in fbcon_cfb4_bmove() argument
66 height * linesize); in fbcon_cfb4_bmove()
72 for (rows = height * fontheight(p) ; rows-- ;) { in fbcon_cfb4_bmove()
79 src = p->screen_base + (sy+height) * linesize + sx * 4 in fbcon_cfb4_bmove()
81 dst = p->screen_base + (dy+height) * linesize + dx * 4 in fbcon_cfb4_bmove()
83 for (rows = height * fontheight(p) ; rows-- ;) { in fbcon_cfb4_bmove()
93 int height, int width) in fbcon_cfb4_clear() argument
96 int bytes=p->next_line,lines=height * fontheight(p), rows, i; in fbcon_cfb4_clear()
Dfbcon-cfb8.c49 int height, int width) in fbcon_cfb8_bmove() argument
57 height * linesize); in fbcon_cfb8_bmove()
68 for (rows = height * fontheight(p) ; rows-- ;) { in fbcon_cfb8_bmove()
74 src = p->screen_base + (sy+height) * linesize + sx - bytes; in fbcon_cfb8_bmove()
75 dst = p->screen_base + (dy+height) * linesize + dx - bytes; in fbcon_cfb8_bmove()
76 for (rows = height * fontheight(p) ; rows-- ;) { in fbcon_cfb8_bmove()
84 static inline void rectfill(u8 *dest, int width, int height, u8 data, in rectfill() argument
87 while (height-- > 0) { in rectfill()
94 int height, int width) in fbcon_cfb8_clear() argument
97 int bytes=p->next_line,lines=height * fontheight(p); in fbcon_cfb8_clear()
Dpm2fb.c99 u32 height; /* height of virtual screen */ member
289 static int pm2fb_set_font(struct display *d, int width, int height);
734 pm2_WR(i, PM2R_SCREEN_SIZE, (p->height<<16)|p->width); in set_screen()
1103 h != user_mode[i].par.height); i++); in pm2pci_detect()
1210 int dy, int dx, int height, int width) { in pm2fb_pp_bmove() argument
1224 height=height*fontheight(p); in pm2fb_pp_bmove()
1226 dy, width, height); in pm2fb_pp_bmove()
1230 int dy, int dx, int height, int width) { in pm2fb_bmove() argument
1244 height=height*fontheight(p); in pm2fb_bmove()
1246 width, height, 0); in pm2fb_bmove()
[all …]
Dfbcon-vga-planes.c106 int height, int width) in fbcon_vga_planes_bmove() argument
119 height *= fontheight(p); in fbcon_vga_planes_bmove()
125 while (height--) { in fbcon_vga_planes_bmove()
137 dest = p->screen_base + dx + width + (dy + height - 1) * p->line_length; in fbcon_vga_planes_bmove()
138 src = p->screen_base + sx + width + (sy + height - 1) * p->line_length; in fbcon_vga_planes_bmove()
139 while (height--) { in fbcon_vga_planes_bmove()
153 int height, int width) in fbcon_vga_planes_clear() argument
168 height *= fontheight(p); in fbcon_vga_planes_clear()
171 while (height--) { in fbcon_vga_planes_clear()
Dfbcon-ilbm.c45 int height, int width) in fbcon_ilbm_bmove() argument
50 height*fontheight(p)*p->next_line); in fbcon_ilbm_bmove()
58 for (i = p->var.bits_per_pixel*height*fontheight(p); i--;) { in fbcon_ilbm_bmove()
64 src = p->screen_base+(sy+height)*fontheight(p)*p->next_line+sx; in fbcon_ilbm_bmove()
65 dest = p->screen_base+(dy+height)*fontheight(p)*p->next_line+dx; in fbcon_ilbm_bmove()
66 for (i = p->var.bits_per_pixel*height*fontheight(p); i--;) { in fbcon_ilbm_bmove()
76 int height, int width) in fbcon_ilbm_clear() argument
85 for (rows = height*fontheight(p); rows--;) { in fbcon_ilbm_clear()
/linux-2.4.37.9/drivers/video/matrox/
Dmatroxfb_accel.c148 static void matrox_cfbX_bmove(struct display* p, int sy, int sx, int dy, int dx, int height, int wi… in matrox_cfbX_bmove() argument
160 height *= fontheight(p); in matrox_cfbX_bmove()
177 end = (sy+height-1)*pixx+sx+curr_ydstorg(MINFO); in matrox_cfbX_bmove()
179 dy += height-1; in matrox_cfbX_bmove()
185 mga_ydstlen(dy, height); in matrox_cfbX_bmove()
192 static void matrox_cfb4_bmove(struct display* p, int sy, int sx, int dy, int dx, int height, int wi… in matrox_cfb4_bmove() argument
204 fbcon_cfb4_bmove(p, sy, sx, dy, dx, height, width); in matrox_cfb4_bmove()
210 height *= fontheight(p); in matrox_cfb4_bmove()
231 end = (sy+height-1)*pixx+sx+curr_ydstorg(MINFO); in matrox_cfb4_bmove()
233 dy += height-1; in matrox_cfb4_bmove()
[all …]
/linux-2.4.37.9/drivers/media/video/
Dpms.c42 int height; member
561 static void pms_resolution(short width, short height) in pms_resolution() argument
565 fg_height=height; in pms_resolution()
576 if(height>fg_height) in pms_resolution()
642 for (y = 0; y < dev->height; y++ ) in pms_capture()
652 cnt -= dev->height; in pms_capture()
661 cnt += dev->height; in pms_capture()
854 if(vw.height<16||vw.height>480) in pms_ioctl()
859 pd->height=vw.height; in pms_ioctl()
861 pms_resolution(pd->width, pd->height); in pms_ioctl()
[all …]
/linux-2.4.37.9/drivers/usb/
Dse401.c163 se401->height[i]); in se401_read_proc()
506 static void se401_send_size(struct usb_se401 *se401, int width, int height) in se401_send_size() argument
510 int sendheight=height; in se401_send_size()
519 while (i<se401->sizes && !(se401->width[i]==width && se401->height[i]==height)) in se401_send_size()
522 if (se401->width[i]==width*2 && se401->height[i]==height*2) { in se401_send_size()
523 sendheight=se401->height[i]; in se401_send_size()
527 if (se401->width[i]==width*4 && se401->height[i]==height*4) { in se401_send_size()
528 sendheight=se401->height[i]; in se401_send_size()
641 static int se401_set_size(struct usb_se401 *se401, int width, int height) in se401_set_size() argument
645 if (se401->cwidth==width && se401->cheight==height) in se401_set_size()
[all …]
/linux-2.4.37.9/drivers/video/riva/
Daccel.c44 int sx, int height, int width, u_int color) in riva_rectfill() argument
51 rinfo->riva.Bitmap->UnclippedRectangle[0].WidthHeight = (width << 16) | height; in riva_rectfill()
55 int height, int width) in fbcon_riva_bmove() argument
64 height *= fontheight(p); in fbcon_riva_bmove()
69 rinfo->riva.Blt->WidthHeight = (height << 16) | width; in fbcon_riva_bmove()
174 int sx, int height, int width) in fbcon_riva8_clear() argument
185 height *= fontheight(p); in fbcon_riva8_clear()
187 riva_rectfill(rinfo, sy, sx, height, width, bgx); in fbcon_riva8_clear()
287 int sx, int height, int width) in fbcon_riva16_clear() argument
298 height *= fontheight(p); in fbcon_riva16_clear()
[all …]

123456789