Lines Matching defs:width
197 /* Some of the acceleration routines assume the line width is
626 u32 fgcolor, bgcolor, dx, dy, width, height, vxres, vyres, pixelmask;
637 width = image->width;
642 rincr = (width + 7) / 8;
645 if (unlikely(width == 0))
650 if (dx + width > vxres)
651 width = vxres - dx;
698 if (width + shift <= 32) {
704 /* Avoid a shift by 32; width > 0 implied. */
705 pixelmask = (2ul << (width - 1)) - 1;
710 bwidth = (width + 7) / 8;
741 bwidth = (width / 8) & -4;
756 pixelmask = (1ul << (width & 31)) - 1;
763 bwidth = ((width & 31) + 7) / 8;
791 bwidth = (width / 8) & -2;
805 pixelmask = ((1ul << (width & 15)) - 1) << shift;
812 bwidth = (width & 15) > 8;
839 u32 color, dx, dy, width, height, vxres, vyres;
847 width = image->width;
856 if (dx + width > vxres)
857 width = vxres - dx;
869 for (j = 0; j < width; j++) {
927 u32 dx, dy, width, height, vxres, vyres, color;
934 width = rect->width;
943 if (dx > vxres || dy > vyres || !width || !height)
945 if (dx + width > vxres)
946 width = vxres - dx;
993 the width of the screen so that we can take advantage of this
995 if (width == line_length) {
996 width *= height;
1006 if (width <= 2048) {
1009 data = (width - 1) | align;
1017 unsigned long nwidth = width & -2048;
1021 ldata = ((width & 2047) - 1) | align;
1026 if (j < width)
1056 u32 height, u32 width)
1067 n64 = (height * width) / 64;
1070 spos = (sy + height) * width;
1071 dpos = (dy + height) * width;
1082 spos = sy * width;
1083 dpos = dy * width;
1101 u32 height, u32 width)
1115 n16 = (height * width) / 16;
1118 src = tga_fb + (sy + height) * width * 4;
1119 dst = tga_fb + (dy + height) * width * 4;
1130 src = tga_fb + sy * width * 4;
1131 dst = tga_fb + dy * width * 4;
1150 u32 height, u32 width, u32 line_length,
1162 if ((dx | sx | width) & 7) {
1173 backward = dy == sy && dx > sx && dx < sx + width;
1180 depos += width;
1181 sepos += width;
1185 n32 = width / 32;
1186 last_step = width % 32;
1260 unsigned long dx, dy, width, height, sx, sy, vxres, vyres;
1265 width = area->width;
1278 if (dx + width > vxres)
1279 width = vxres - dx;
1284 if (sx + width > vxres || sy + height > vyres)
1290 if (!(line_length & 63) && width * (bpp >> 3) == line_length) {
1292 copyarea_line_8bpp(info, dy, sy, height, width);
1294 copyarea_line_32bpp(info, dy, sy, height, width);
1305 width, line_length, area);