Lines Matching refs:PPW

59  * PPW	    pixels per word (pixels per pixel group)
60 * PPWMSK mask with lowest PPW bits set to 1
61 * PLST index of last pixel in a word (should be PPW-1)
63 * PWSH pixel-to-word shift (should be log2(PPW))
77 * PPW 4 1 1 8 2 2
87 * upon pixel and word size; it doesn't use macros like PPW and so
131 #define PPW (PGSZ/PSZ)
132 #define PLST (PPW-1)
135 #define PPWMSK (((PixelGroup)1 << PPW) - 1) /* instead of BITMSK */
138 /* set PWSH = log2(PPW) using brute force */
140 #if PPW == 1
143 #if PPW == 2
146 #if PPW == 4
149 #if PPW == 8
152 #if PPW == 16
154 #endif /* PPW == 16 */
155 #endif /* PPW == 8 */
156 #endif /* PPW == 4 */
157 #endif /* PPW == 2 */
158 #endif /* PPW == 1 */
205 pixels[0,n-1] = 0's pixels[n,PPW-1] = 1's
207 pixels[0,n-1] = 1's pixels[n,PPW-1] = 0's
230 takes dst[x, PPW] and moves them to dst[0, PPW-x]
238 takes dst[0,x] and moves them to dst[PPW-x, PPW]
255 same longword (i.e. (x&0xPIM + w) <= PPW)
259 cfbGlyphBlt to put down glyphs <= PPW bits wide.
262 starting at position x in psrc (x < PPW), collect w
272 m = PPW - x
292 m = PPW - x
308 get the leftmost w (w<=PPW) bits from *psrc and put them
310 <=PPW bits wide.
328 #if PPW == 16
352 #endif /* PPW == 16 */
353 #if PPW == 8
369 #if PPW == 4
380 #if PPW == 2
388 #if PPW == 1
403 #if PSZ != 32 || PPW != 1
405 # if (PSZ == 24 && PPW == 1)
507 # else /* PSZ == 24 && PPW == 1 */
512 nlw = (((w) - (PPW - ((x)&PIM))) >> PWSH); \
533 #endif /* PSZ == 24 && PPW == 1 */
536 if ( ((x) + (w)) <= PPW) \
543 m = PPW-(x); \
550 if ( ((x)+(w)) <= PPW) \
562 m = PPW-(x); \
578 dst = SCRLEFT(dst,PPW-(w)); \
594 _m |= (SCRRIGHT(src, PPW-(w)) & _pm); \
597 FASTPUTBITS(SCRRIGHT(src, PPW-(w)), (x) * PSZ, (w) * PSZ, pdst); \
605 if ( ((x)+(w)) <= PPW) \
623 m = PPW-(x); \
634 #else /* PSZ == 32 && PPW == 1*/
662 * will only be invoked with x = 0 and w = PPW (1). The getbits()
708 _m = PPW - (x); \
718 if ((x) + (w) <= PPW) {\
775 * Converts bits to pixels in a reasonable way. Takes w (1 <= w <= PPW)
799 if ((m = ((x) - ((PPW*PSZ)-PPW))) > 0) { \
801 if ( (x)+(w) > (PPW*PSZ) ) \
802 q |= *((psrcstip)+1) >> ((PPW*PSZ)-m); \
828 if ( ((xt)+(w)) > (PPW*PSZ) ) \
829 q |= (CfbFetchUnaligned((psrcstip)+1)) << ((PPW*PSZ)-(xt)); \