Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/video/
H A Dstb_truetype.h1672 #define STBTT_FIXSHIFT 10 macro
1673 #define STBTT_FIX (1 << STBTT_FIXSHIFT)
1734 int i = x0 >> STBTT_FIXSHIFT; in stbtt__fill_active_edges()
1735 int j = x1 >> STBTT_FIXSHIFT; in stbtt__fill_active_edges()
1740 … scanline[i] = scanline[i] + (stbtt_uint8) ((x1 - x0) * max_weight >> STBTT_FIXSHIFT); in stbtt__fill_active_edges()
1743 … scanline[i] + (stbtt_uint8) (((STBTT_FIX - (x0 & STBTT_FIXMASK)) * max_weight) >> STBTT_FIXSHIFT); in stbtt__fill_active_edges()
1748 … scanline[j] = scanline[j] + (stbtt_uint8) (((x1 & STBTT_FIXMASK) * max_weight) >> STBTT_FIXSHIFT); in stbtt__fill_active_edges()