Searched refs:FIXED_SHIFT (Results 1 – 4 of 4) sorted by relevance
409 #define FIXED_SHIFT FIXED_FRAC_BITS macro410 #define FIXED_ONE (1 << FIXED_SHIFT)411 #define FIXED_HALF (1 << (FIXED_SHIFT-1))419 #define IntToFixed(I) ((I) << FIXED_SHIFT)420 #define FixedToInt(X) ((X) >> FIXED_SHIFT)421 #define FixedToUns(X) (((unsigned int)(X)) >> FIXED_SHIFT)
253 return a + ((t * (b - a)) >> FIXED_SHIFT); in ilerp()307 dest[RCOMP] = span->red * (sample[RCOMP] + 1u) >> (FIXED_SHIFT + 8); \ in affine_span()308 dest[GCOMP] = span->green * (sample[GCOMP] + 1u) >> (FIXED_SHIFT + 8); \ in affine_span()309 dest[BCOMP] = span->blue * (sample[BCOMP] + 1u) >> (FIXED_SHIFT + 8); \ in affine_span()310 dest[ACOMP] = span->alpha * (sample[ACOMP] + 1u) >> (FIXED_SHIFT + 8) in affine_span()314 ((sample[ACOMP] + 1) * sample[RCOMP] << FIXED_SHIFT)) \ in affine_span()315 >> (FIXED_SHIFT + 8); \ in affine_span()317 ((sample[ACOMP] + 1) * sample[GCOMP] << FIXED_SHIFT)) \ in affine_span()318 >> (FIXED_SHIFT + 8); \ in affine_span()320 ((sample[ACOMP] + 1) * sample[BCOMP] << FIXED_SHIFT)) \ in affine_span()[all …]
80 const GLint fixedToDepthShift = depthBits <= 16 ? FIXED_SHIFT : 0; in NAME()
131 const GLint fixedToDepthShift = depthBits <= 16 ? FIXED_SHIFT : 0; in NAME()