Lines Matching defs:FbBits

85  * by this software; it must be log2(sizeof (FbBits) * 8)
99 #define FB_ALLONES ((FbBits) -1)
134 #define FbFullMask(n) ((n) == FB_UNIT ? FB_ALLONES : ((((FbBits) 1) << n) - 1))
138 typedef unsigned __int64 FbBits;
147 typedef unsigned long FbBits;
149 typedef unsigned long long FbBits;
155 typedef CARD32 FbBits;
159 typedef CARD16 FbBits;
163 typedef FbBits FbStip;
189 /* #define FbLeftBits(x,n) ((x) & ((((FbBits) 1) << (n)) - 1)) */
199 #define FbPatternOffsetBits (sizeof (FbBits) - 1)
309 case (sizeof (FbBits) - 7) | (1 << (FB_SHIFT - 3)): \
310 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
312 case (sizeof (FbBits) - 7) | (2 << (FB_SHIFT - 3)): \
313 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
314 FbStorePart(dst,sizeof (FbBits) - 6,CARD8,xor); \
316 case (sizeof (FbBits) - 7) | (3 << (FB_SHIFT - 3)): \
317 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
318 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
320 case (sizeof (FbBits) - 7) | (4 << (FB_SHIFT - 3)): \
321 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
322 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
323 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
325 case (sizeof (FbBits) - 7) | (5 << (FB_SHIFT - 3)): \
326 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
327 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
328 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
330 case (sizeof (FbBits) - 7) | (6 << (FB_SHIFT - 3)): \
331 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
332 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
333 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
334 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
336 case (sizeof (FbBits) - 7): \
337 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
338 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
339 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
341 case (sizeof (FbBits) - 6) | (1 << (FB_SHIFT - 3)): \
342 FbStorePart(dst,sizeof (FbBits) - 6,CARD8,xor); \
344 case (sizeof (FbBits) - 6) | (2 << (FB_SHIFT - 3)): \
345 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
347 case (sizeof (FbBits) - 6) | (3 << (FB_SHIFT - 3)): \
348 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
349 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
351 case (sizeof (FbBits) - 6) | (4 << (FB_SHIFT - 3)): \
352 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
353 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
355 case (sizeof (FbBits) - 6) | (5 << (FB_SHIFT - 3)): \
356 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
357 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
358 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
360 case (sizeof (FbBits) - 6): \
361 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
362 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
364 case (sizeof (FbBits) - 5) | (1 << (FB_SHIFT - 3)): \
365 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
367 case (sizeof (FbBits) - 5) | (2 << (FB_SHIFT - 3)): \
368 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
369 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
371 case (sizeof (FbBits) - 5) | (3 << (FB_SHIFT - 3)): \
372 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
373 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
375 case (sizeof (FbBits) - 5) | (4 << (FB_SHIFT - 3)): \
376 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
377 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
378 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
380 case (sizeof (FbBits) - 5): \
381 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
382 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
384 case (sizeof (FbBits) - 4) | (1 << (FB_SHIFT - 3)): \
385 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
387 case (sizeof (FbBits) - 4) | (2 << (FB_SHIFT - 3)): \
388 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
390 case (sizeof (FbBits) - 4) | (3 << (FB_SHIFT - 3)): \
391 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
392 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
394 case (sizeof (FbBits) - 4): \
395 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
423 case (sizeof (FbBits) - 3) | (1 << (FB_SHIFT - 3)): \
424 FbStorePart(dst,sizeof (FbBits) - 3,CARD8,xor); \
426 case (sizeof (FbBits) - 3) | (2 << (FB_SHIFT - 3)): \
427 FbStorePart(dst,sizeof (FbBits) - 3,CARD8,xor); \
428 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
430 case (sizeof (FbBits) - 2) | (1 << (FB_SHIFT - 3)): \
431 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
433 case sizeof (FbBits) - 3: \
434 FbStorePart(dst,sizeof (FbBits) - 3,CARD8,xor); \
435 case sizeof (FbBits) - 2: \
436 FbStorePart(dst,sizeof (FbBits) - 2,CARD16,xor); \
438 case sizeof (FbBits) - 1: \
439 FbStorePart(dst,sizeof (FbBits) - 1,CARD8,xor); \
489 * of the FbBits base unit, 'o' is the offset within that unit
507 #define FbLaneCase8(n,a,o) ((n) == 0x0ff ? (void) (*(FbBits *) ((a)+(o)) = fgxor) : \
614 typedef FbBits (*ReadMemoryProcPtr)(const void *src, int size);
615 typedef void (*WriteMemoryProcPtr)(void *dst, FbBits value, int size);
658 FbBits and, xor; /* reduced rop values */
659 FbBits bgand, bgxor; /* for stipples */
660 FbBits fg, bg, pm; /* expanded and filled */
713 (pointer) = (FbBits *) _pPix->devPrivate.ptr; \
714 (stride) = ((int) _pPix->devKind) / sizeof (FbBits); (void)(stride); \
783 FbBits pm,
878 fbDots8 (FbBits *dst,
888 FbBits and,
889 FbBits xor);
892 fbArc8 (FbBits *dst,
898 FbBits and,
899 FbBits xor);
902 fbGlyph8 (FbBits *dstLine,
906 FbBits fg,
952 fbDots16(FbBits *dst,
962 FbBits and,
963 FbBits xor);
966 fbArc16(FbBits *dst,
972 FbBits and,
973 FbBits xor);
976 fbGlyph16(FbBits *dstLine,
980 FbBits fg,
1027 fbDots24(FbBits *dst,
1037 FbBits and,
1038 FbBits xor);
1041 fbArc24(FbBits *dst,
1047 FbBits and,
1048 FbBits xor);
1051 fbGlyph24(FbBits *dstLine,
1055 FbBits fg,
1102 fbDots32(FbBits *dst,
1112 FbBits and,
1113 FbBits xor);
1116 fbArc32(FbBits *dst,
1122 FbBits and,
1123 FbBits xor);
1126 fbGlyph32(FbBits *dstLine,
1130 FbBits fg,
1150 fbBlt (FbBits *src,
1154 FbBits *dst,
1162 FbBits pm,
1169 fbBlt24 (FbBits *srcLine,
1173 FbBits *dstLine,
1181 FbBits pm,
1188 FbStride srcStride, /* in FbStip units, not FbBits units */
1192 FbStride dstStride, /* in FbStip units, not FbBits units */
1199 FbBits pm,
1209 FbBits *dst,
1217 FbBits fgand,
1218 FbBits fbxor,
1219 FbBits bgand,
1220 FbBits bgxor);
1227 FbBits *dst,
1228 FbStride dstStride, /* FbBits units per scanline */
1235 FbBits fgand, /* rrop values */
1236 FbBits fgxor,
1237 FbBits bgand,
1238 FbBits bgxor);
1242 fbBltPlane (FbBits *src,
1434 FbBits and,
1435 FbBits xor);
1535 FbBits pm,
1546 FbBits fg,
1547 FbBits bg,
1548 FbBits pm,
1638 fbDots (FbBits *dstOrig,
1648 FbBits andOrig,
1649 FbBits xorOrig);
1869 fbSolid (FbBits *dst,
1877 FbBits and,
1878 FbBits xor);
1882 fbSolid24 (FbBits *dst,
1889 FbBits and,
1890 FbBits xor);
1898 fbTransparentSpan (FbBits *dst,
1899 FbBits stip,
1900 FbBits fgxor,
1904 fbEvenStipple (FbBits *dst,
1916 FbBits fgand,
1917 FbBits fgxor,
1918 FbBits bgand,
1919 FbBits bgxor,
1925 fbOddStipple (FbBits *dst,
1938 FbBits fgand,
1939 FbBits fgxor,
1940 FbBits bgand,
1941 FbBits bgxor,
1947 fbStipple (FbBits *dst,
1961 FbBits fgand,
1962 FbBits fgxor,
1963 FbBits bgand,
1964 FbBits bgxor,
1974 fbEvenTile (FbBits *dst,
1981 FbBits *tile,
1986 FbBits pm,
1991 fbOddTile (FbBits *dst,
1998 FbBits *tile,
2004 FbBits pm,
2011 fbTile (FbBits *dst,
2018 FbBits *tile,
2024 FbBits pm,
2033 FbBits
2037 fbReduceRasterOp (int rop, FbBits fg, FbBits pm, FbBits *andp, FbBits *xorp);
2087 FbBits and,
2088 FbBits xor);