Home
last modified time | relevance | path

Searched refs:ramp (Results 1 – 25 of 29) sorted by relevance

12

/external/qemu/distrib/sdl-1.2.12/src/video/
DSDL_gamma.c41 static void CalculateGammaRamp(float gamma, Uint16 *ramp) in CalculateGammaRamp() argument
48 ramp[i] = 0; in CalculateGammaRamp()
55 ramp[i] = (i << 8) | i; in CalculateGammaRamp()
67 ramp[i] = (Uint16)value; in CalculateGammaRamp()
71 static void CalculateGammaFromRamp(float *gamma, Uint16 *ramp) in CalculateGammaFromRamp() argument
81 if ( (ramp[i] != 0) && (ramp[i] != 65535) ) { in CalculateGammaFromRamp()
83 double A = ramp[i] / 65535.0; in CalculateGammaFromRamp()
102 Uint16 ramp[3][256]; in SDL_SetGamma() local
104 CalculateGammaRamp(red, ramp[0]); in SDL_SetGamma()
105 CalculateGammaRamp(green, ramp[1]); in SDL_SetGamma()
[all …]
DSDL_sysvideo.h162 int (*SetGammaRamp)(_THIS, Uint16 *ramp);
165 int (*GetGammaRamp)(_THIS, Uint16 *ramp);
/external/quake/quake/src/QW/client/
Dr_part.c156 p->ramp = rand()&3; in R_ParticleExplosion()
395 p->ramp = (rand()&3) + 2; in R_RocketTrail()
396 p->color = ramp3[(int)p->ramp]; in R_RocketTrail()
403 p->ramp = (rand()&3); in R_RocketTrail()
404 p->color = ramp3[(int)p->ramp]; in R_RocketTrail()
537 theAlpha = 255*(6-p->ramp)/6; in R_DrawParticles()
571 p->ramp += time1; in R_DrawParticles()
572 if (p->ramp >= 6) in R_DrawParticles()
575 p->color = ramp3[(int)p->ramp]; in R_DrawParticles()
580 p->ramp += time2; in R_DrawParticles()
[all …]
Dd_iface.h47 float ramp; member
Dglquake2.h122 float ramp; member
Dglquake.h168 float ramp; member
/external/quake/quake/src/WinQuake/
Dr_part.cpp293 p->ramp = rand()&3; in R_ParticleExplosion()
418 p->ramp = rand()&3; in R_RunParticleEffect()
573 p->ramp = (rand()&3); in R_RocketTrail()
574 p->color = ramp3[(int)p->ramp]; in R_RocketTrail()
581 p->ramp = (rand()&3) + 2; in R_RocketTrail()
582 p->color = ramp3[(int)p->ramp]; in R_RocketTrail()
797 p->ramp += time1; in R_DrawParticles()
798 if (p->ramp >= 6) in R_DrawParticles()
801 p->color = ramp3[(int)p->ramp]; in R_DrawParticles()
806 p->ramp += time2; in R_DrawParticles()
[all …]
Dd_iface.h48 float ramp; member
Dglquake.h158 float ramp; member
/external/qemu/distrib/sdl-1.2.12/src/video/maccommon/
DSDL_macwm_c.h38 extern int Mac_SetGammaRamp(_THIS, Uint16 *ramp);
39 extern int Mac_GetGammaRamp(_THIS, Uint16 *ramp);
DSDL_macwm.c409 int Mac_SetGammaRamp(_THIS, Uint16 *ramp) in Mac_SetGammaRamp() argument
416 shiftedRamp[i] = ramp[i] >> 8; in Mac_SetGammaRamp()
425 int Mac_GetGammaRamp(_THIS, Uint16 *ramp) in Mac_GetGammaRamp() argument
432 ramp[i] = shiftedRamp[i] << 8; in Mac_GetGammaRamp()
/external/qemu/distrib/sdl-1.2.12/src/video/nanox/
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) in NX_SetGammaRamp() argument
505 red = ramp ; in NX_SetGammaRamp()
506 green = ramp + CI_SIZE ; in NX_SetGammaRamp()
520 static int NX_GetGammaRamp (_THIS, Uint16 * ramp) in NX_GetGammaRamp() argument
528 red = ramp ; in NX_GetGammaRamp()
529 green = ramp + CI_SIZE ; in NX_GetGammaRamp()
/external/qemu/distrib/sdl-1.2.12/src/video/windx5/
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);
2317 SDL_memcpy(gamma_ramp.red, &ramp[0*256], 256*sizeof(*ramp));
2318 SDL_memcpy(gamma_ramp.green, &ramp[1*256], 256*sizeof(*ramp));
2319 SDL_memcpy(gamma_ramp.blue, &ramp[2*256], 256*sizeof(*ramp));
2331 static int DX5_GetGammaRamp(_THIS, Uint16 *ramp) argument
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/windib/
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
1085 succeeded = SetDeviceGammaRamp(hdc, ramp);
1094 int DIB_GetGammaRamp(_THIS, Uint16 *ramp) argument
1105 succeeded = GetDeviceGammaRamp(hdc, ramp);
/external/qemu/distrib/sdl-1.2.12/src/video/quartz/
DSDL_QuartzVideo.h185 int QZ_SetGammaRamp (_THIS, Uint16 *ramp);
186 int QZ_GetGammaRamp (_THIS, Uint16 *ramp);
DSDL_QuartzVideo.m1638 int QZ_SetGammaRamp (_THIS, Uint16 *ramp) {
1649 redTable[i % 256] = ramp[i] / 65535.0;
1652 greenTable[i % 256] = ramp[i] / 65535.0;
1655 blueTable[i % 256] = ramp[i] / 65535.0;
1664 int QZ_GetGammaRamp (_THIS, Uint16 *ramp) {
1681 ramp[i] = redTable[i % 256] * 65535.0;
1684 ramp[i] = greenTable[i % 256] * 65535.0;
1687 ramp[i] = blueTable[i % 256] * 65535.0;
/external/jmonkeyengine/engine/src/core-data/Common/MatDefs/Light/
DDeferred.j3md30 // Color ramp, will map diffuse and specular values through it.
DLighting.j3md76 // Color ramp, will map diffuse and specular values through it.
/external/qemu/distrib/sdl-1.2.12/src/video/dga/
DSDL_dgavideo.c57 static int DGA_SetGammaRamp(_THIS, Uint16 *ramp);
1017 int DGA_SetGammaRamp(_THIS, Uint16 *ramp) in DGA_SetGammaRamp() argument
1037 xcmap[i].red = ramp[0*256+c]; in DGA_SetGammaRamp()
1038 xcmap[i].green = ramp[1*256+c]; in DGA_SetGammaRamp()
1039 xcmap[i].blue = ramp[2*256+c]; in DGA_SetGammaRamp()
/external/qemu/distrib/sdl-1.2.12/src/video/x11/
DSDL_x11video.c68 static int X11_SetGammaRamp(_THIS, Uint16 *ramp);
1442 int X11_SetGammaRamp(_THIS, Uint16 *ramp) in X11_SetGammaRamp() argument
1458 xcmap[i].red = ramp[0*256+c]; in X11_SetGammaRamp()
1459 xcmap[i].green = ramp[1*256+c]; in X11_SetGammaRamp()
1460 xcmap[i].blue = ramp[2*256+c]; in X11_SetGammaRamp()
/external/qemu/distrib/sdl-1.2.12/src/video/cybergfx/
DSDL_cgxvideo.c71 int CGX_SetGammaRamp(_THIS, Uint16 *ramp) in CGX_SetGammaRamp() argument
88 xcmap[i].red = ramp[0*256+c]; in CGX_SetGammaRamp()
89 xcmap[i].green = ramp[1*256+c]; in CGX_SetGammaRamp()
90 xcmap[i].blue = ramp[2*256+c]; in CGX_SetGammaRamp()
/external/quake/quake/src/WinQuake/kit/
DJOYSTICK.TXT28 joyforwardsensitivity - controls the ramp-up speed for moving forward and backward
29 joysidesensitivity - controls the ramp-up speed for moving side to side
/external/quake/quake/src/QW/
Dqwchangelog.txt101 - fixed up ramp movement (on ground stuff)
138 - change player move physics to support ramp accel, there was a bug in
Dqwrlnote.txt238 - fixed up ramp movement (on ground stuff)
244 - change player move physics to support ramp accel, there was a bug in
/external/webrtc/src/modules/audio_processing/aec/
Daec_core.c652 const float ramp = 1.0002f; in ProcessBlock() local
720 aec->dPow[i])) * ramp; in ProcessBlock()
723 aec->dMinPow[i] *= ramp; in ProcessBlock()

12