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