Lines Matching defs:FbBits

84  * by this software; it must be log2(sizeof (FbBits) * 8)
98 #define FB_ALLONES ((FbBits) -1)
133 #define FbFullMask(n) ((n) == FB_UNIT ? FB_ALLONES : ((((FbBits) 1) << n) - 1))
137 typedef unsigned __int64 FbBits;
146 typedef unsigned long FbBits;
148 typedef unsigned long long FbBits;
154 typedef CARD32 FbBits;
158 typedef CARD16 FbBits;
162 typedef FbBits FbStip;
188 /* #define FbLeftBits(x,n) ((x) & ((((FbBits) 1) << (n)) - 1)) */
198 #define FbPatternOffsetBits (sizeof (FbBits) - 1)
308 case (sizeof (FbBits) - 7) | (1 << (FB_SHIFT - 3)): \
309 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
311 case (sizeof (FbBits) - 7) | (2 << (FB_SHIFT - 3)): \
312 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
313 FbStorePart(dst,sizeof (FbBits) - 6,CARD8,xor); \
315 case (sizeof (FbBits) - 7) | (3 << (FB_SHIFT - 3)): \
316 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
317 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
319 case (sizeof (FbBits) - 7) | (4 << (FB_SHIFT - 3)): \
320 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
321 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
322 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
324 case (sizeof (FbBits) - 7) | (5 << (FB_SHIFT - 3)): \
325 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
326 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
327 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
329 case (sizeof (FbBits) - 7) | (6 << (FB_SHIFT - 3)): \
330 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
331 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
332 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
333 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
335 case (sizeof (FbBits) - 7): \
336 FbStorePart(dst,sizeof (FbBits) - 7,CARD8,xor); \
337 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
338 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
340 case (sizeof (FbBits) - 6) | (1 << (FB_SHIFT - 3)): \
341 FbStorePart(dst,sizeof (FbBits) - 6,CARD8,xor); \
343 case (sizeof (FbBits) - 6) | (2 << (FB_SHIFT - 3)): \
344 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
346 case (sizeof (FbBits) - 6) | (3 << (FB_SHIFT - 3)): \
347 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
348 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
350 case (sizeof (FbBits) - 6) | (4 << (FB_SHIFT - 3)): \
351 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
352 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
354 case (sizeof (FbBits) - 6) | (5 << (FB_SHIFT - 3)): \
355 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
356 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
357 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
359 case (sizeof (FbBits) - 6): \
360 FbStorePart(dst,sizeof (FbBits) - 6,CARD16,xor); \
361 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
363 case (sizeof (FbBits) - 5) | (1 << (FB_SHIFT - 3)): \
364 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
366 case (sizeof (FbBits) - 5) | (2 << (FB_SHIFT - 3)): \
367 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
368 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
370 case (sizeof (FbBits) - 5) | (3 << (FB_SHIFT - 3)): \
371 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
372 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
374 case (sizeof (FbBits) - 5) | (4 << (FB_SHIFT - 3)): \
375 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
376 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
377 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
379 case (sizeof (FbBits) - 5): \
380 FbStorePart(dst,sizeof (FbBits) - 5,CARD8,xor); \
381 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
383 case (sizeof (FbBits) - 4) | (1 << (FB_SHIFT - 3)): \
384 FbStorePart(dst,sizeof (FbBits) - 4,CARD8,xor); \
386 case (sizeof (FbBits) - 4) | (2 << (FB_SHIFT - 3)): \
387 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
389 case (sizeof (FbBits) - 4) | (3 << (FB_SHIFT - 3)): \
390 FbStorePart(dst,sizeof (FbBits) - 4,CARD16,xor); \
391 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
393 case (sizeof (FbBits) - 4): \
394 FbStorePart(dst,sizeof (FbBits) - 4,CARD32,xor); \
422 case (sizeof (FbBits) - 3) | (1 << (FB_SHIFT - 3)): \
423 FbStorePart(dst,sizeof (FbBits) - 3,CARD8,xor); \
425 case (sizeof (FbBits) - 3) | (2 << (FB_SHIFT - 3)): \
426 FbStorePart(dst,sizeof (FbBits) - 3,CARD8,xor); \
427 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
429 case (sizeof (FbBits) - 2) | (1 << (FB_SHIFT - 3)): \
430 FbStorePart(dst,sizeof (FbBits) - 2,CARD8,xor); \
432 case sizeof (FbBits) - 3: \
433 FbStorePart(dst,sizeof (FbBits) - 3,CARD8,xor); \
434 case sizeof (FbBits) - 2: \
435 FbStorePart(dst,sizeof (FbBits) - 2,CARD16,xor); \
437 case sizeof (FbBits) - 1: \
438 FbStorePart(dst,sizeof (FbBits) - 1,CARD8,xor); \
488 * of the FbBits base unit, 'o' is the offset within that unit
506 #define FbLaneCase8(n,a,o) ((n) == 0x0ff ? (void) (*(FbBits *) ((a)+(o)) = fgxor) : \
617 typedef FbBits (*ReadMemoryProcPtr)(const void *src, int size);
618 typedef void (*WriteMemoryProcPtr)(void *dst, FbBits value, int size);
662 FbBits and, xor; /* reduced rop values */
663 FbBits bgand, bgxor; /* for stipples */
664 FbBits fg, bg, pm; /* expanded and filled */
717 (pointer) = (FbBits *) _pPix->devPrivate.ptr; \
718 (stride) = ((int) _pPix->devKind) / sizeof (FbBits); (void)(stride); \
787 FbBits pm,
882 fbDots8 (FbBits *dst,
892 FbBits and,
893 FbBits xor);
896 fbArc8 (FbBits *dst,
902 FbBits and,
903 FbBits xor);
906 fbGlyph8 (FbBits *dstLine,
910 FbBits fg,
956 fbDots16(FbBits *dst,
966 FbBits and,
967 FbBits xor);
970 fbArc16(FbBits *dst,
976 FbBits and,
977 FbBits xor);
980 fbGlyph16(FbBits *dstLine,
984 FbBits fg,
1031 fbDots24(FbBits *dst,
1041 FbBits and,
1042 FbBits xor);
1045 fbArc24(FbBits *dst,
1051 FbBits and,
1052 FbBits xor);
1055 fbGlyph24(FbBits *dstLine,
1059 FbBits fg,
1106 fbDots32(FbBits *dst,
1116 FbBits and,
1117 FbBits xor);
1120 fbArc32(FbBits *dst,
1126 FbBits and,
1127 FbBits xor);
1130 fbGlyph32(FbBits *dstLine,
1134 FbBits fg,
1154 fbBlt (FbBits *src,
1158 FbBits *dst,
1166 FbBits pm,
1173 fbBlt24 (FbBits *srcLine,
1177 FbBits *dstLine,
1185 FbBits pm,
1192 FbStride srcStride, /* in FbStip units, not FbBits units */
1196 FbStride dstStride, /* in FbStip units, not FbBits units */
1203 FbBits pm,
1213 FbBits *dst,
1221 FbBits fgand,
1222 FbBits fbxor,
1223 FbBits bgand,
1224 FbBits bgxor);
1231 FbBits *dst,
1232 FbStride dstStride, /* FbBits units per scanline */
1239 FbBits fgand, /* rrop values */
1240 FbBits fgxor,
1241 FbBits bgand,
1242 FbBits bgxor);
1246 fbBltPlane (FbBits *src,
1455 FbBits and,
1456 FbBits xor);
1556 FbBits pm,
1567 FbBits fg,
1568 FbBits bg,
1569 FbBits pm,
1657 fbDots (FbBits *dstOrig,
1667 FbBits andOrig,
1668 FbBits xorOrig);
1888 fbSolid (FbBits *dst,
1896 FbBits and,
1897 FbBits xor);
1901 fbSolid24 (FbBits *dst,
1908 FbBits and,
1909 FbBits xor);
1917 fbTransparentSpan (FbBits *dst,
1918 FbBits stip,
1919 FbBits fgxor,
1923 fbEvenStipple (FbBits *dst,
1935 FbBits fgand,
1936 FbBits fgxor,
1937 FbBits bgand,
1938 FbBits bgxor,
1944 fbOddStipple (FbBits *dst,
1957 FbBits fgand,
1958 FbBits fgxor,
1959 FbBits bgand,
1960 FbBits bgxor,
1966 fbStipple (FbBits *dst,
1980 FbBits fgand,
1981 FbBits fgxor,
1982 FbBits bgand,
1983 FbBits bgxor,
1993 fbEvenTile (FbBits *dst,
2000 FbBits *tile,
2005 FbBits pm,
2010 fbOddTile (FbBits *dst,
2017 FbBits *tile,
2023 FbBits pm,
2030 fbTile (FbBits *dst,
2037 FbBits *tile,
2043 FbBits pm,
2052 FbBits
2056 fbReduceRasterOp (int rop, FbBits fg, FbBits pm, FbBits *andp, FbBits *xorp);
2106 FbBits and,
2107 FbBits xor);