Lines Matching refs:PPW

62  * PPW	    pixels per word (pixels per pixel group)
63 * PPWMSK mask with lowest PPW bits set to 1
64 * PLST index of last pixel in a word (should be PPW-1)
66 * PWSH pixel-to-word shift (should be log2(PPW))
80 * PPW 4 1 1 8 2 2
90 * upon pixel and word size; it doesn't use macros like PPW and so
134 #define PPW (PGSZ/PSZ)
135 #define PLST (PPW-1)
138 #define PPWMSK (((PixelGroup)1 << PPW) - 1) /* instead of BITMSK */
141 /* set PWSH = log2(PPW) using brute force */
143 #if PPW == 1
146 #if PPW == 2
149 #if PPW == 4
152 #if PPW == 8
155 #if PPW == 16
157 #endif /* PPW == 16 */
158 #endif /* PPW == 8 */
159 #endif /* PPW == 4 */
160 #endif /* PPW == 2 */
161 #endif /* PPW == 1 */
208 pixels[0,n-1] = 0's pixels[n,PPW-1] = 1's
210 pixels[0,n-1] = 1's pixels[n,PPW-1] = 0's
233 takes dst[x, PPW] and moves them to dst[0, PPW-x]
241 takes dst[0,x] and moves them to dst[PPW-x, PPW]
258 same longword (i.e. (x&0xPIM + w) <= PPW)
262 cfbGlyphBlt to put down glyphs <= PPW bits wide.
265 starting at position x in psrc (x < PPW), collect w
275 m = PPW - x
295 m = PPW - x
311 get the leftmost w (w<=PPW) bits from *psrc and put them
313 <=PPW bits wide.
331 #if PPW == 16
355 #endif /* PPW == 16 */
356 #if PPW == 8
372 #if PPW == 4
383 #if PPW == 2
391 #if PPW == 1
406 #if PSZ != 32 || PPW != 1
408 # if (PSZ == 24 && PPW == 1)
510 # else /* PSZ == 24 && PPW == 1 */
515 nlw = (((w) - (PPW - ((x)&PIM))) >> PWSH); \
536 #endif /* PSZ == 24 && PPW == 1 */
539 if ( ((x) + (w)) <= PPW) \
546 m = PPW-(x); \
553 if ( ((x)+(w)) <= PPW) \
565 m = PPW-(x); \
581 dst = SCRLEFT(dst,PPW-(w)); \
597 _m |= (SCRRIGHT(src, PPW-(w)) & _pm); \
600 FASTPUTBITS(SCRRIGHT(src, PPW-(w)), (x) * PSZ, (w) * PSZ, pdst); \
608 if ( ((x)+(w)) <= PPW) \
626 m = PPW-(x); \
637 #else /* PSZ == 32 && PPW == 1*/
665 * will only be invoked with x = 0 and w = PPW (1). The getbits()
711 _m = PPW - (x); \
721 if ((x) + (w) <= PPW) {\
778 * Converts bits to pixels in a reasonable way. Takes w (1 <= w <= PPW)
802 if ((m = ((x) - ((PPW*PSZ)-PPW))) > 0) { \
804 if ( (x)+(w) > (PPW*PSZ) ) \
805 q |= *((psrcstip)+1) >> ((PPW*PSZ)-m); \
831 if ( ((xt)+(w)) > (PPW*PSZ) ) \
832 q |= (CfbFetchUnaligned((psrcstip)+1)) << ((PPW*PSZ)-(xt)); \