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

/external/chromium_org/third_party/freetype/src/smooth/
H A Dftgrays.c289 #define PIXEL_BITS 8 macro
296 #define ONE_PIXEL ( 1L << PIXEL_BITS )
297 #define PIXEL_MASK ( -1L << PIXEL_BITS )
298 #define TRUNC( x ) ( (TCoord)( (x) >> PIXEL_BITS ) )
299 #define SUBPIXELS( x ) ( (TPos)(x) << PIXEL_BITS )
304 #if PIXEL_BITS >= 6
305 #define UPSCALE( x ) ( (x) << ( PIXEL_BITS - 6 ) )
306 #define DOWNSCALE( x ) ( (x) >> ( PIXEL_BITS - 6 ) )
308 #define UPSCALE( x ) ( (x) >> ( 6 - PIXEL_BITS ) )
309 #define DOWNSCALE( x ) ( (x) << ( 6 - PIXEL_BITS ) )
[all...]
/external/freetype/src/smooth/
H A Dftgrays.c289 #define PIXEL_BITS 8 macro
296 #define ONE_PIXEL ( 1L << PIXEL_BITS )
297 #define PIXEL_MASK ( -1L << PIXEL_BITS )
298 #define TRUNC( x ) ( (TCoord)( (x) >> PIXEL_BITS ) )
299 #define SUBPIXELS( x ) ( (TPos)(x) << PIXEL_BITS )
304 #if PIXEL_BITS >= 6
305 #define UPSCALE( x ) ( (x) << ( PIXEL_BITS - 6 ) )
306 #define DOWNSCALE( x ) ( (x) >> ( PIXEL_BITS - 6 ) )
308 #define UPSCALE( x ) ( (x) >> ( 6 - PIXEL_BITS ) )
309 #define DOWNSCALE( x ) ( (x) << ( 6 - PIXEL_BITS ) )
[all...]

Completed in 119 milliseconds