Lines Matching refs:width
46 WriteVerticalLine(VGLBitmap *dst, int x, int y, int width, byte *line) in WriteVerticalLine() argument
58 end_offset = (x + width) & 0x07; in WriteVerticalLine()
59 i = (width + start_offset) / 8; in WriteVerticalLine()
69 while (pos < width) { in WriteVerticalLine()
71 while (pos < last && pos < width) in WriteVerticalLine()
89 width+=8; in WriteVerticalLine()
90 width /= 8; in WriteVerticalLine()
104 bcopy(&VGLPlane[i][0], dst->Bitmap + pos, width); in WriteVerticalLine()
113 for (last = width; ; ) { in WriteVerticalLine()
115 bcopy(&VGLPlane[i][width - last], dst->Bitmap + offset, len); in WriteVerticalLine()
130 for (planepos=0, pos=i; pos<width; planepos++, pos+=4) in WriteVerticalLine()
138 while (width > 0) { in WriteVerticalLine()
140 i = min(VGLAdpInfo.va_window_size - offset, width); in WriteVerticalLine()
144 width -= i; in WriteVerticalLine()
150 bcopy(line, address, width); in WriteVerticalLine()
159 ReadVerticalLine(VGLBitmap *src, int x, int y, int width, byte *line) in ReadVerticalLine() argument
169 end_offset = (x + width) & 0x07; in ReadVerticalLine()
170 count = (width + start_offset) / 8; in ReadVerticalLine()
193 end_offset = (x + width) & 0x07; in ReadVerticalLine()
194 count = (width + start_offset) / 8; in ReadVerticalLine()
210 while (pos < width) { in ReadVerticalLine()
211 for (; bit >= 0 && pos < width; bit--, pos++) { in ReadVerticalLine()
226 for (planepos=0, pos=i; pos<width; planepos++, pos+=4) in ReadVerticalLine()
234 while (width > 0) { in ReadVerticalLine()
236 i = min(VGLAdpInfo.va_window_size - offset, width); in ReadVerticalLine()
240 width -= i; in ReadVerticalLine()
246 bcopy(address, line, width); in ReadVerticalLine()
255 VGLBitmap *dst, int dstx, int dsty, int width, int hight) in __VGLBitmapCopy() argument
263 width=width+srcx; dstx-=srcx; srcx=0; in __VGLBitmapCopy()
269 width=width+dstx; srcx-=dstx; dstx=0; in __VGLBitmapCopy()
274 if (srcx+width > src->VXsize) in __VGLBitmapCopy()
275 width=src->VXsize-srcx; in __VGLBitmapCopy()
278 if (dstx+width > dst->VXsize) in __VGLBitmapCopy()
279 width=dst->VXsize-dstx; in __VGLBitmapCopy()
282 if (width < 0 || hight < 0) in __VGLBitmapCopy()
286 WriteVerticalLine(dst, dstx, dstline, width, in __VGLBitmapCopy()
292 ReadVerticalLine(src, srcx, srcline, width, in __VGLBitmapCopy()
300 if (width > sizeof(buffer)) { in __VGLBitmapCopy()
301 p = malloc(width); in __VGLBitmapCopy()
308 ReadVerticalLine(src, srcx, srcline, width, p); in __VGLBitmapCopy()
309 WriteVerticalLine(dst, dstx, dstline, width, p); in __VGLBitmapCopy()
311 if (width > sizeof(buffer)) in __VGLBitmapCopy()
319 VGLBitmap *dst, int dstx, int dsty, int width, int hight) in VGLBitmapCopy() argument
323 VGLMouseFreeze(dstx, dsty, width, hight, 0); in VGLBitmapCopy()
324 error = __VGLBitmapCopy(src, srcx, srcy, dst, dstx, dsty, width, hight); in VGLBitmapCopy()