Searched refs:CHAN_TO_SHORT (Results 1 – 1 of 1) sorted by relevance
74 #define CHAN_TO_SHORT(c) (((c) << 7) | ((c) >> 1)) macro86 #define CHAN_TO_SHORT(c) ((c) >> 1) macro98 #define CHAN_TO_SHORT(c) ((GLshort) (CLAMP((c), 0.0f, 1.0f) * 32767.0)) macro