Home
last modified time | relevance | path

Searched refs:PIXEL_BITS (Results 1 – 1 of 1) sorted by relevance

/external/freetype/src/smooth/
Dftgrays.c335 #define PIXEL_BITS 8 macro
337 #define ONE_PIXEL ( 1 << PIXEL_BITS )
338 #define TRUNC( x ) (TCoord)( (x) >> PIXEL_BITS )
341 #if PIXEL_BITS >= 6
343 #define DOWNSCALE( x ) ( (x) >> ( PIXEL_BITS - 6 ) )
345 #define UPSCALE( x ) ( (x) >> ( 6 - PIXEL_BITS ) )
346 #define DOWNSCALE( x ) ( (x) * ( 64 >> PIXEL_BITS ) )
388 long b ## _r = c ? (long)( FT_ULONG_MAX >> PIXEL_BITS ) / ( b ) \
392 ( sizeof( long ) * FT_CHAR_BIT - PIXEL_BITS ) )
1214 coverage >>= PIXEL_BITS * 2 + 1 - 8; in gray_hline()