Home | History | Annotate | Download | only in video

Lines Matching refs:red

93 int SDL_SetGamma(float red, float green, float blue)
104 CalculateGammaRamp(red, ramp[0]);
111 succeeded = video->SetGamma(this, red, green, blue);
119 int SDL_GetGamma(float *red, float *green, float *blue)
132 CalculateGammaFromRamp(red, ramp[0]);
139 succeeded = video->GetGamma(this, red, green, blue);
144 int SDL_SetGammaRamp(const Uint16 *red, const Uint16 *green, const Uint16 *blue)
163 if ( red ) {
164 SDL_memcpy(&video->gamma[0*256], red, 256*sizeof(*video->gamma));
196 int SDL_GetGammaRamp(Uint16 *red, Uint16 *green, Uint16 *blue)
223 if ( red ) {
224 SDL_memcpy(red, &video->gamma[0*256], 256*sizeof(*red));