/external/qemu/distrib/sdl-1.2.12/src/video/ |
H A D | SDL_gamma.c | 41 static void CalculateGammaRamp(float gamma, Uint16 *ramp) argument 48 ramp[i] = 0; 55 ramp[i] = (i << 8) | i; 59 /* Calculate a real gamma ramp */ 67 ramp[i] = (Uint16)value; 71 static void CalculateGammaFromRamp(float *gamma, Uint16 *ramp) argument 81 if ( (ramp[i] != 0) && (ramp[i] != 65535) ) { 83 double A = ramp[i] / 65535.0; 102 Uint16 ramp[ local 128 Uint16 ramp[3][256]; local [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/nanox/ |
H A D | SDL_nxvideo.c | 50 static int NX_SetGammaRamp (_THIS, Uint16 * ramp) ; 51 static int NX_GetGammaRamp (_THIS, Uint16 * ramp) ; 485 static int NX_SetGammaRamp (_THIS, Uint16 * ramp) argument 505 red = ramp ; 506 green = ramp + CI_SIZE ; 520 static int NX_GetGammaRamp (_THIS, Uint16 * ramp) argument 528 red = ramp ; 529 green = ramp + CI_SIZE ;
|
/external/quake/quake/src/QW/client/ |
H A D | glquake.h | 168 float ramp; member in struct:particle_s
|
H A D | glquake2.h | 122 float ramp;
member in struct:particle_s
|
H A D | d_iface.h | 47 float ramp; member in struct:particle_s
|
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/ |
H A D | SDL_cgxvideo.c | 71 int CGX_SetGammaRamp(_THIS, Uint16 *ramp) argument 83 /* Calculate the appropriate palette for the given gamma ramp */ 88 xcmap[i].red = ramp[0*256+c]; 89 xcmap[i].green = ramp[1*256+c]; 90 xcmap[i].blue = ramp[2*256+c];
|
/external/qemu/distrib/sdl-1.2.12/src/video/maccommon/ |
H A D | SDL_macwm.c | 177 /* fill ramp */ 180 short shiftRightValue = pTableGammaTemp->gDataWidth - 8; /* number of right shifts device -> ramp */ 192 for (indexChan = 0; indexChan < 768; indexChan += 256) /* repeat for all 3 channels (step by ramp size) */ 334 short shiftRightValue = 8 - dataBits; /* number of right shifts ramp -> device */ 340 long temp = *((unsigned char *)pRamp + (indexChan << 8) + (indexEntry << 8) / entries); /* get data from ramp */ 409 int Mac_SetGammaRamp(_THIS, Uint16 *ramp) argument 416 shiftedRamp[i] = ramp[i] >> 8; 425 int Mac_GetGammaRamp(_THIS, Uint16 *ramp) argument 432 ramp[i] = shiftedRamp[i] << 8;
|
/external/quake/quake/src/WinQuake/ |
H A D | d_iface.h | 48 float ramp;
member in struct:particle_s
|
H A D | glquake.h | 158 float ramp; member in struct:particle_s
|
/external/qemu/distrib/sdl-1.2.12/src/video/dga/ |
H A D | SDL_dgavideo.c | 57 static int DGA_SetGammaRamp(_THIS, Uint16 *ramp); 1017 int DGA_SetGammaRamp(_THIS, Uint16 *ramp) argument 1028 /* Calculate the appropriate palette for the given gamma ramp */ 1037 xcmap[i].red = ramp[0*256+c]; 1038 xcmap[i].green = ramp[1*256+c]; 1039 xcmap[i].blue = ramp[2*256+c];
|
/external/qemu/distrib/sdl-1.2.12/src/video/windib/ |
H A D | SDL_dibvideo.c | 79 int DIB_SetGammaRamp(_THIS, Uint16 *ramp); 80 int DIB_GetGammaRamp(_THIS, Uint16 *ramp); 1013 WORD ramp[3*256]; local 1017 if ( ! GetDeviceGammaRamp(hdc, ramp) ) { 1063 int DIB_SetGammaRamp(_THIS, Uint16 *ramp) argument 1066 SDL_SetError("SDL compiled without gamma ramp support"); 1072 /* Set the ramp for the display */ 1085 succeeded = SetDeviceGammaRamp(hdc, ramp); 1094 int DIB_GetGammaRamp(_THIS, Uint16 *ramp) argument 1097 SDL_SetError("SDL compiled without gamma ramp suppor [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/windx5/ |
H A D | SDL_dx5video.c | 411 static int DX5_SetGammaRamp(_THIS, Uint16 *ramp); 412 static int DX5_GetGammaRamp(_THIS, Uint16 *ramp); 436 extern int DIB_SetGammaRamp(_THIS, Uint16 *ramp); 437 extern int DIB_GetGammaRamp(_THIS, Uint16 *ramp); 2285 static int DX5_SetGammaRamp(_THIS, Uint16 *ramp) argument 2295 return DIB_SetGammaRamp(this, ramp); 2299 SDL_SetError("SDL compiled without DirectX gamma ramp support"); 2316 /* Set up the gamma ramp */ 2317 SDL_memcpy(gamma_ramp.red, &ramp[0*256], 256*sizeof(*ramp)); 2331 DX5_GetGammaRamp(_THIS, Uint16 *ramp) argument [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
H A D | SDL_x11video.c | 68 static int X11_SetGammaRamp(_THIS, Uint16 *ramp); 1442 int X11_SetGammaRamp(_THIS, Uint16 *ramp) argument 1453 /* Calculate the appropriate palette for the given gamma ramp */ 1458 xcmap[i].red = ramp[0*256+c]; 1459 xcmap[i].green = ramp[1*256+c]; 1460 xcmap[i].blue = ramp[2*256+c];
|
/external/kernel-headers/original/linux/ |
H A D | input.h | 779 struct ff_ramp_effect ramp; member in union:ff_effect::__anon3252
|