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

/external/freetype/src/smooth/
H A Dftgrays.c312 #define PIXEL_BITS 8 macro
319 #define ONE_PIXEL ( 1L << PIXEL_BITS )
320 #define PIXEL_MASK ( -1L << PIXEL_BITS )
321 #define TRUNC( x ) ( (TCoord)( (x) >> PIXEL_BITS ) )
322 #define SUBPIXELS( x ) ( (TPos)(x) << PIXEL_BITS )
327 #if PIXEL_BITS >= 6
328 #define UPSCALE( x ) ( (x) << ( PIXEL_BITS - 6 ) )
329 #define DOWNSCALE( x ) ( (x) >> ( PIXEL_BITS - 6 ) )
331 #define UPSCALE( x ) ( (x) >> ( 6 - PIXEL_BITS ) )
332 #define DOWNSCALE( x ) ( (x) << ( 6 - PIXEL_BITS ) )
[all...]
/external/pdfium/third_party/freetype/src/smooth/
H A Dftgrays.c312 #define PIXEL_BITS 8 macro
319 #define ONE_PIXEL ( 1L << PIXEL_BITS )
320 #define TRUNC( x ) ( (TCoord)( (x) >> PIXEL_BITS ) )
321 #define SUBPIXELS( x ) ( (TPos)(x) << PIXEL_BITS )
326 #if PIXEL_BITS >= 6
327 #define UPSCALE( x ) ( (x) << ( PIXEL_BITS - 6 ) )
328 #define DOWNSCALE( x ) ( (x) >> ( PIXEL_BITS - 6 ) )
330 #define UPSCALE( x ) ( (x) >> ( 6 - PIXEL_BITS ) )
331 #define DOWNSCALE( x ) ( (x) << ( 6 - PIXEL_BITS ) )
382 /* least PIXEL_BITS*
[all...]

Completed in 69 milliseconds