Searched refs:SUB_PIXEL_BITS (Results 1 – 4 of 4) sorted by relevance
32 #define SUB_PIXEL_BITS 8 macro33 #define SUB_PIXELS (1 << SUB_PIXEL_BITS)310 u >>= SUB_PIXEL_BITS; in resample_cubic()311 v >>= SUB_PIXEL_BITS; in resample_cubic()389 u >>= SUB_PIXEL_BITS; in resample_linear()390 v >>= SUB_PIXEL_BITS; in resample_linear()400 sum = (sum + (1 << (SUB_PIXEL_BITS * 2 - 1)))>> (SUB_PIXEL_BITS * 2); in resample_linear()408 sum = (sum + (1 << (SUB_PIXEL_BITS - 1))) >> SUB_PIXEL_BITS; in resample_linear()418 sum = (sum + (1 << (SUB_PIXEL_BITS - 1))) >> SUB_PIXEL_BITS; in resample_linear()
133 #define SUB_PIXEL_BITS 4 macro
480 consts->SubPixelBits = SUB_PIXEL_BITS; in _mesa_init_constants()
145 const GLint snapMask = ~((FIXED_ONE / (1 << SUB_PIXEL_BITS)) - 1); /* for x/y coord snapping */ in NAME()