Searched refs:FIXED_SHIFT (Results 1 – 5 of 5) sorted by relevance
428 #define FIXED_SHIFT FIXED_FRAC_BITS macro429 #define FIXED_ONE (1 << FIXED_SHIFT)430 #define FIXED_HALF (1 << (FIXED_SHIFT-1))438 #define IntToFixed(I) ((I) << FIXED_SHIFT)439 #define FixedToInt(X) ((X) >> FIXED_SHIFT)440 #define FixedToUns(X) (((unsigned int)(X)) >> FIXED_SHIFT)
254 return a + ((t * (b - a)) >> FIXED_SHIFT); in ilerp()308 dest[RCOMP] = span->red * (sample[RCOMP] + 1u) >> (FIXED_SHIFT + 8); \ in affine_span()309 dest[GCOMP] = span->green * (sample[GCOMP] + 1u) >> (FIXED_SHIFT + 8); \ in affine_span()310 dest[BCOMP] = span->blue * (sample[BCOMP] + 1u) >> (FIXED_SHIFT + 8); \ in affine_span()311 dest[ACOMP] = span->alpha * (sample[ACOMP] + 1u) >> (FIXED_SHIFT + 8) in affine_span()315 ((sample[ACOMP] + 1) * sample[RCOMP] << FIXED_SHIFT)) \ in affine_span()316 >> (FIXED_SHIFT + 8); \ in affine_span()318 ((sample[ACOMP] + 1) * sample[GCOMP] << FIXED_SHIFT)) \ in affine_span()319 >> (FIXED_SHIFT + 8); \ in affine_span()321 ((sample[ACOMP] + 1) * sample[BCOMP] << FIXED_SHIFT)) \ in affine_span()[all …]
80 const GLint fixedToDepthShift = depthBits <= 16 ? FIXED_SHIFT : 0; in NAME()
136 const GLint fixedToDepthShift = depthBits <= 16 ? FIXED_SHIFT : 0; in NAME()
54 #define FIXED_SHIFT (FIXED_TYPE_WIDTH - 1) macro