Lines Matching defs:ramp
18 /* Turn a normal gamma value into an appropriate gamma ramp */
19 void CalculateGamma(double gamma, Uint16 *ramp)
29 ramp[i] = (Uint16)value;
81 Uint16 ramp[256];
180 CalculateGamma(1.0/gamma, ramp);
181 SDL_SetGammaRamp(red_ramp, ramp, ramp);
185 memset(ramp, 0, sizeof(ramp));
186 SDL_SetGammaRamp(red_ramp, ramp, ramp);