Searched defs:ramp (Results 1 - 15 of 15) sorted by relevance

/external/qemu/distrib/sdl-1.2.12/src/video/
H A DSDL_gamma.c41 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 DSDL_nxvideo.c50 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 Dglquake.h168 float ramp; member in struct:particle_s
H A Dglquake2.h122 float ramp; member in struct:particle_s
H A Dd_iface.h47 float ramp; member in struct:particle_s
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/
H A DSDL_cgxvideo.c71 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 DSDL_macwm.c177 /* 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 Dd_iface.h48 float ramp; member in struct:particle_s
H A Dglquake.h158 float ramp; member in struct:particle_s
/external/qemu/distrib/sdl-1.2.12/src/video/dga/
H A DSDL_dgavideo.c57 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 DSDL_dibvideo.c79 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 DSDL_dx5video.c411 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 DSDL_x11video.c68 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/webrtc/src/modules/audio_processing/aec/
H A Daec_core.c652 const float ramp = 1.0002f; local
720 aec->dPow[i])) * ramp;
723 aec->dMinPow[i] *= ramp;
/external/kernel-headers/original/linux/
H A Dinput.h1005 * struct ff_ramp_effect - defines parameters of a ramp force-feedback effect
1113 struct ff_ramp_effect ramp; member in union:ff_effect::__anon6382

Completed in 271 milliseconds