Lines Matching refs:PPW

64  * PPW	    pixels per word (pixels per pixel group)
65 * PPWMSK mask with lowest PPW bits set to 1
66 * PLST index of last pixel in a word (should be PPW-1)
68 * PWSH pixel-to-word shift (should be log2(PPW))
82 * PPW 4 1 1 8 2 2
92 * upon pixel and word size; it doesn't use macros like PPW and so
136 #define PPW (PGSZ/PSZ)
137 #define PLST (PPW-1)
140 #define PPWMSK (((PixelGroup)1 << PPW) - 1) /* instead of BITMSK */
143 /* set PWSH = log2(PPW) using brute force */
145 #if PPW == 1
148 #if PPW == 2
151 #if PPW == 4
154 #if PPW == 8
157 #if PPW == 16
159 #endif /* PPW == 16 */
160 #endif /* PPW == 8 */
161 #endif /* PPW == 4 */
162 #endif /* PPW == 2 */
163 #endif /* PPW == 1 */
210 pixels[0,n-1] = 0's pixels[n,PPW-1] = 1's
212 pixels[0,n-1] = 1's pixels[n,PPW-1] = 0's
235 takes dst[x, PPW] and moves them to dst[0, PPW-x]
243 takes dst[0,x] and moves them to dst[PPW-x, PPW]
260 same longword (i.e. (x&0xPIM + w) <= PPW)
264 cfbGlyphBlt to put down glyphs <= PPW bits wide.
267 starting at position x in psrc (x < PPW), collect w
277 m = PPW - x
297 m = PPW - x
313 get the leftmost w (w<=PPW) bits from *psrc and put them
315 <=PPW bits wide.
333 #if PPW == 16
357 #endif /* PPW == 16 */
358 #if PPW == 8
374 #if PPW == 4
385 #if PPW == 2
393 #if PPW == 1
408 #if PSZ != 32 || PPW != 1
410 # if (PSZ == 24 && PPW == 1)
512 # else /* PSZ == 24 && PPW == 1 */
517 nlw = (((w) - (PPW - ((x)&PIM))) >> PWSH); \
538 #endif /* PSZ == 24 && PPW == 1 */
541 if ( ((x) + (w)) <= PPW) \
548 m = PPW-(x); \
555 if ( ((x)+(w)) <= PPW) \
567 m = PPW-(x); \
583 dst = SCRLEFT(dst,PPW-(w)); \
599 _m |= (SCRRIGHT(src, PPW-(w)) & _pm); \
602 FASTPUTBITS(SCRRIGHT(src, PPW-(w)), (x) * PSZ, (w) * PSZ, pdst); \
610 if ( ((x)+(w)) <= PPW) \
628 m = PPW-(x); \
639 #else /* PSZ == 32 && PPW == 1*/
667 * will only be invoked with x = 0 and w = PPW (1). The getbits()
713 _m = PPW - (x); \
723 if ((x) + (w) <= PPW) {\
780 * Converts bits to pixels in a reasonable way. Takes w (1 <= w <= PPW)
804 if ((m = ((x) - ((PPW*PSZ)-PPW))) > 0) { \
806 if ( (x)+(w) > (PPW*PSZ) ) \
807 q |= *((psrcstip)+1) >> ((PPW*PSZ)-m); \
833 if ( ((xt)+(w)) > (PPW*PSZ) ) \
834 q |= (CfbFetchUnaligned((psrcstip)+1)) << ((PPW*PSZ)-(xt)); \