Lines Matching defs:c
72 #define CHAN_TO_UBYTE(c) (c) argument
73 #define CHAN_TO_USHORT(c) (((c) << 8) | (c)) argument
74 #define CHAN_TO_SHORT(c) (((c) << 7) | ((c) >> 1)) argument
75 #define CHAN_TO_FLOAT(c) UBYTE_TO_FLOAT(c) argument
77 #define CLAMPED_FLOAT_TO_CHAN(c, f) CLAMPED_FLOAT_TO_UBYTE(c, f) argument
78 #define UNCLAMPED_FLOAT_TO_CHAN(c, f) UNCLAMPED_FLOAT_TO_UBYTE(c, f) argument
84 #define CHAN_TO_UBYTE(c) ((c) >> 8) argument
85 #define CHAN_TO_USHORT(c) (c) argument
86 #define CHAN_TO_SHORT(c) ((c) >> 1) argument
87 #define CHAN_TO_FLOAT(c) ((GLfloat) ((c) * (1.0 / CHAN_MAXF))) argument
89 #define CLAMPED_FLOAT_TO_CHAN(c, f) CLAMPED_FLOAT_TO_USHORT(c, f) argument
90 #define UNCLAMPED_FLOAT_TO_CHAN(c, f) UNCLAMPED_FLOAT_TO_USHORT(c, f) argument
96 #define CHAN_TO_UBYTE(c) FLOAT_TO_UBYTE(c) argument
97 #define CHAN_TO_USHORT(c) ((GLushort) (CLAMP((c), 0.0f, 1.0f) * 65535.0)) argument
98 #define CHAN_TO_SHORT(c) ((GLshort) (CLAMP((c), 0.0f, 1.0f) * 32767.0)) argument
99 #define CHAN_TO_FLOAT(c) (c) argument
101 #define CLAMPED_FLOAT_TO_CHAN(c, f) c = (f) argument
102 #define UNCLAMPED_FLOAT_TO_CHAN(c, f) c = (f) argument