HomeSort by relevance Sort by last modified time
    Searched refs:vid (Results 1 - 25 of 156) sorted by null

1 2 3 4 5 6 7

  /external/quake/quake/src/QW/client/
vid_null.c 6 viddef_t vid; // global video state variable
28 vid.maxwarpwidth = vid.width = vid.conwidth = BASEWIDTH;
29 vid.maxwarpheight = vid.height = vid.conheight = BASEHEIGHT;
30 vid.aspect = 1.0;
31 vid.numpages = 1;
32 vid.colormap = host_colormap
    [all...]
d_fill.c 51 if (rx+rwidth > vid.width)
52 rwidth = vid.width - rx;
53 if (ry+rheight > vid.height)
54 rheight = vid.height - rx;
59 dest = ((byte *)vid.buffer + ry*vid.rowbytes + rx);
74 ldest = (unsigned *)((byte*)ldest + vid.rowbytes);
84 dest += vid.rowbytes;
draw.c 22 // vid buffer
146 if (y > vid.height - 8 || x < 0 || x > vid.width - 8)
167 dest = vid.conbuffer + y*vid.conrowbytes + x;
188 dest += vid.conrowbytes;
195 ((byte *)vid.conbuffer + y*vid.conrowbytes + (x<<1));
217 pusdest += (vid.conrowbytes >> 1);
259 dest = vid.conbuffer + y*vid.conrowbytes + x
    [all...]
screen.c 107 viddef_t vid; // global video state variable
164 if (scr_erase_center++ > vid.numpages)
171 y = vid.height*0.35;
176 Draw_TileClear (0, y, vid.width, min(8*scr_erase_lines, vid.height - y - 1));
197 y = vid.height*0.35;
207 x = (vid.width - l*8)/2;
270 Must be called whenever vid changes
280 vid.recalc_refdef = 0;
319 vrect.width = vid.width;
    [all...]
r_misc.c 57 vr.width = vid.width;
58 vr.height = vid.height;
123 dest = vid.buffer + vid.rowbytes*y + x;
139 for (i=0 ; i<h ; i++, dest -= vid.rowbytes*2)
142 // *(dest-vid.rowbytes) = 0x30;
145 for ( ; i<s ; i++, dest -= vid.rowbytes*2)
148 *(dest-vid.rowbytes) = 0x30;
217 if (vid.width - 16 <= NET_TIMINGS)
218 w = vid.width - 16
    [all...]
vid_x.c 71 viddef_t vid; // global video state variable
234 X11_buffersize = vid.width * vid.height * sizeof (*d_pzbuffer);
236 vid_surfcachesize = D_SurfaceCacheForRes (vid.width, vid.height);
245 + vid.width * vid.height * sizeof (*d_pzbuffer);
251 mem = ((vid.width*pwidth+7)&~7) * vid.height;
259 vid.width, vid.height,
    [all...]
vid_svgalib.c 111 if (!svgalib_inited || !vid.direct || !vga_oktowrite()) return;
113 if (vid.aspect > 1.5)
142 vid.direct[(y + i + k) * VGA_rowbytes +
144 vid.direct[(y + i + k) * VGA_rowbytes + (x>>2) + j] =
156 offset = x + ((y << repshift) + i + j) * vid.rowbytes;
163 vid.direct + off, width);
164 memcpy (vid.direct + off,
175 if (!svgalib_inited || !vid.direct || !vga_oktowrite()) return;
177 if (vid.aspect > 1.5)
205 vid.direct[(y + i + k) * VGA_rowbytes + (x>>2) + j]
    [all...]
d_modech.c 66 rowbytes = vid.rowbytes;
72 d_zrowbytes = vid.width * 2;
73 d_zwidth = vid.width;
98 for (i=0 ; i<vid.height; i++)
gl_vidlinuxglx.c 248 vid.width / 2, vid.height / 2);
297 mouse_x = (float) ((int)event.xmotion.x - (int)(vid.width/2));
298 mouse_y = (float) ((int)event.xmotion.y - (int)(vid.height/2));
303 (vid.width/2), (vid.height/2));
612 vid.maxwarpwidth = WARP_WIDTH;
613 vid.maxwarpheight = WARP_HEIGHT;
614 vid.colormap = host_colormap;
615 vid.fullbright = 256 - LittleLong (*((int *)vid.colormap + 2048))
    [all...]
gl_vidandroid.c 229 vid.maxwarpwidth = scr_width;
230 vid.maxwarpheight = height;
231 vid.colormap = host_colormap;
232 vid.fullbright = 0xffff;
233 vid.aspect = (float) scr_width / (float) scr_height;
234 vid.numpages = 2;
235 vid.rowbytes = 2 * scr_width;
236 vid.width = scr_width;
237 vid.height = scr_height;
239 vid.conwidth = scr_width
    [all...]
gl_vidlinux_x11.c 144 vid.recalc_refdef = 1; // force a surface cache flush
662 vid.maxwarpwidth = WARP_WIDTH;
663 vid.maxwarpheight = WARP_HEIGHT;
664 vid.colormap = host_colormap;
665 vid.fullbright = 256 - LittleLong (*((int *)vid.colormap + 2048));
669 // set vid parameters
677 vid.conwidth = Q_atoi(com_argv[i+1]);
679 vid.conwidth = 640;
681 vid.conwidth &= 0xfff8; // make it a multiple of eigh
    [all...]
  /external/quake/quake/src/WinQuake/
vid_null.cpp 25 viddef_t vid; // global video state variable
47 vid.maxwarpwidth = vid.width = vid.conwidth = BASEWIDTH;
48 vid.maxwarpheight = vid.height = vid.conheight = BASEHEIGHT;
49 vid.aspect = 1.0;
50 vid.numpages = 1;
51 vid.colormap = host_colormap;
    [all...]
d_fill.cpp 51 if (rx+rwidth > vid.width)
52 rwidth = vid.width - rx;
53 if (ry+rheight > vid.height)
54 rheight = vid.height - rx;
59 dest = ((byte *)vid.buffer + ry*vid.rowbytes + rx);
74 ldest = (unsigned *)((byte*)ldest + vid.rowbytes);
84 dest += vid.rowbytes;
vid_dos.h 33 int (*setmode)(viddef_t *vid, struct vmode_s *pcurrentmode);
34 void (*swapbuffers)(viddef_t *vid, struct vmode_s *pcurrentmode,
36 void (*setpalette)(viddef_t *vid, struct vmode_s *pcurrentmode,
38 void (*begindirectrect)(viddef_t *vid, struct vmode_s *pcurrentmode,
41 void (*enddirectrect)(viddef_t *vid, struct vmode_s *pcurrentmode,
71 void VGA_SetPalette(viddef_t *vid, vmode_t *pcurrentmode, unsigned char *pal);
72 void VGA_SwapBuffersCopy (viddef_t *vid, vmode_t *pcurrentmode,
74 qboolean VGA_FreeAndAllocVidbuffer (viddef_t *vid, int allocnewbuffer);
77 void VGA_BeginDirectRect (viddef_t *vid, struct vmode_s *pcurrentmode, int x,
79 void VGA_EndDirectRect (viddef_t *vid, struct vmode_s *pcurrentmode, int x,
    [all...]
draw.cpp 22 // vid buffer
149 if (y > vid.height - 8 || x < 0 || x > vid.width - 8)
171 dest = vid.conbuffer + y*vid.conrowbytes + x;
192 dest += vid.conrowbytes;
199 ((byte *)vid.conbuffer + y*vid.conrowbytes + (x<<1));
221 pusdest += (vid.conrowbytes >> 1);
258 if (!vid.direct
    [all...]
screen.cpp 53 viddef_t vid; // global video state variable
110 if (scr_erase_center++ > vid.numpages)
117 y = vid.height*0.35;
122 Draw_TileClear (0, y,vid.width, 8*scr_erase_lines);
143 y = vid.height*0.35;
153 x = (vid.width - l*8)/2;
216 Must be called whenever vid changes
226 vid.recalc_refdef = 0;
265 vrect.width = vid.width;
266 vrect.height = vid.height
    [all...]
r_misc.cpp 55 vr.width = vid.width;
56 vr.height = vid.height;
122 dest = vid.buffer + vid.rowbytes*y + x;
129 for (i=0 ; i<h ; i++, dest -= vid.rowbytes*2)
132 *(dest-vid.rowbytes) = 0x30;
134 for ( ; i<s ; i++, dest -= vid.rowbytes*2)
137 *(dest-vid.rowbytes) = 0x30;
445 if ((vid.width <= vid.maxwarpwidth) &&
    [all...]
vid_sunxil.cpp 103 viddef_t vid; // global video state variable
218 vid.recalc_refdef = 1; // force a surface cache flush
256 vid.width = MP(wattr.width) & ~3;
257 vid.height = MP(wattr.height);
259 if (vid.width < 320)
260 vid.width = 320;
261 if (vid.height < 200)
262 vid.height = 200;
404 vid.width = 320;
405 vid.height = 200
    [all...]
vid_x.cpp 65 viddef_t vid; // global video state variable
313 X11_buffersize = vid.width * vid.height * sizeof (*d_pzbuffer);
315 vid_surfcachesize = D_SurfaceCacheForRes (vid.width, vid.height);
324 + vid.width * vid.height * sizeof (*d_pzbuffer);
330 mem = ((vid.width*pwidth+7)&~7) * vid.height;
338 vid.width, vid.height
    [all...]
gl_screen.cpp 108 viddef_t vid; // global video state variable
178 y = (int)(vid.height*0.35);
188 x = (vid.width - l*8)/2;
251 Must be called whenever vid changes
264 vid.recalc_refdef = 0;
309 h = vid.height - sb_lines;
311 r_refdef.vrect.width = (int) (vid.width * size);
318 r_refdef.vrect.height = (int)(vid.height * size);
319 if ((int)(r_refdef.vrect.height) > (int)(vid.height - sb_lines))
320 r_refdef.vrect.height = vid.height - sb_lines
    [all...]
vid_svgalib.cpp 110 if (!svgalib_inited || !vid.direct || !vga_oktowrite()) return;
112 if (vid.aspect > 1.5)
141 vid.direct[(y + i + k) * VGA_rowbytes +
143 vid.direct[(y + i + k) * VGA_rowbytes + (x>>2) + j] =
155 offset = x + ((y << repshift) + i + j) * vid.rowbytes;
162 vid.direct + off, width);
163 memcpy (vid.direct + off,
174 if (!svgalib_inited || !vid.direct || !vga_oktowrite()) return;
176 if (vid.aspect > 1.5)
204 vid.direct[(y + i + k) * VGA_rowbytes + (x>>2) + j]
    [all...]
d_modech.cpp 66 rowbytes = vid.rowbytes;
72 d_zrowbytes = vid.width * 2;
73 d_zwidth = vid.width;
98 for (i=0 ; i<vid.height; i++)
vid_sunx.cpp 99 viddef_t vid; // global video state variable
347 vid.recalc_refdef = 1; // force a surface cache flush
404 mem = ((vid.width*pwidth+3)&~3) * vid.height;
406 // d_pzbuffer = (unsigned short *) Z_Malloc(vid.width*vid.height*
408 d_pzbuffer = (short *) Hunk_HighAllocName(vid.width*vid.height*
417 vid.width, vid.height
    [all...]
gl_vidandroid.cpp 312 vid.maxwarpwidth = scr_width;
313 vid.maxwarpheight = height;
314 vid.colormap = host_colormap;
315 vid.fullbright = 0xffff;
316 vid.aspect = (float) scr_width / (float) scr_height;
317 vid.numpages = 2;
318 vid.rowbytes = 2 * scr_width;
319 vid.width = scr_width;
320 vid.height = scr_height;
322 vid.conwidth = scr_width
    [all...]
  /external/wpa_supplicant_8/src/ap/
vlan_util.h 12 int vlan_add(const char *if_name, int vid, const char *vlan_if_name);

Completed in 537 milliseconds

1 2 3 4 5 6 7