HomeSort by relevance Sort by last modified time
    Searched refs:ramp (Results 1 - 25 of 66) sorted by null

1 2 3

  /external/qemu/distrib/sdl-1.2.15/src/video/maccommon/
SDL_macwm_c.h 38 extern int Mac_SetGammaRamp(_THIS, Uint16 *ramp);
39 extern int Mac_GetGammaRamp(_THIS, Uint16 *ramp);
SDL_macwm.c 57 * ADC Gamma Ramp support...
59 * Mac Gamma Ramp code was originally from sample code provided by
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 */
394 /* end of ADC Gamma Ramp support code... */
409 int Mac_SetGammaRamp(_THIS, Uint16 *ramp)
416 shiftedRamp[i] = ramp[i] >> 8
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/
SDL_gamma.c 41 static void CalculateGammaRamp(float gamma, Uint16 *ramp)
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)
81 if ( (ramp[i] != 0) && (ramp[i] != 65535) ) {
83 double A = ramp[i] / 65535.0;
102 Uint16 ramp[3][256] local
128 Uint16 ramp[3][256]; local
    [all...]
SDL_sysvideo.h 161 /* Set the gamma ramp */
162 int (*SetGammaRamp)(_THIS, Uint16 *ramp);
164 /* Get the gamma ramp */
165 int (*GetGammaRamp)(_THIS, Uint16 *ramp);
  /external/qemu/distrib/sdl-1.2.15/test/
testgamma.c 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]; local
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)
    [all...]
testpalette.c 303 /* Fade using gamma ramp (better) */
304 Uint16 ramp[256]; local
306 ramp[i] = (i * fade_level / fade_max) << 8;
307 if(SDL_SetGammaRamp(ramp, ramp, ramp) < 0)
308 sdlerr("setting gamma ramp");
  /external/quake/quake/src/QW/client/
r_part.c 156 p->ramp = rand()&3;
395 p->ramp = (rand()&3) + 2;
396 p->color = ramp3[(int)p->ramp];
403 p->ramp = (rand()&3);
404 p->color = ramp3[(int)p->ramp];
537 theAlpha = 255*(6-p->ramp)/6;
540 // theAlpha = 255*(8-p->ramp)/8;
571 p->ramp += time1;
572 if (p->ramp >= 6)
575 p->color = ramp3[(int)p->ramp];
    [all...]
d_iface.h 47 float ramp; member in struct:particle_s
glquake2.h 122 float ramp; member in struct:particle_s
glquake.h 168 float ramp; member in struct:particle_s
  /external/qemu/distrib/sdl-1.2.15/src/video/nanox/
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)
505 red = ramp ;
506 green = ramp + CI_SIZE ;
520 static int NX_GetGammaRamp (_THIS, Uint16 * ramp)
528 red = ramp ;
529 green = ramp + CI_SIZE ;
  /external/quake/quake/src/WinQuake/
r_part.cpp 293 p->ramp = rand()&3;
418 p->ramp = rand()&3;
573 p->ramp = (rand()&3);
574 p->color = ramp3[(int)p->ramp];
581 p->ramp = (rand()&3) + 2;
582 p->color = ramp3[(int)p->ramp];
797 p->ramp += time1;
798 if (p->ramp >= 6)
801 p->color = ramp3[(int)p->ramp];
806 p->ramp += time2
    [all...]
d_iface.h 48 float ramp; member in struct:particle_s
glquake.h 158 float ramp; member in struct:particle_s
  /external/qemu/distrib/sdl-1.2.15/src/video/quartz/
SDL_QuartzVideo.h 188 int QZ_SetGammaRamp (_THIS, Uint16 *ramp);
189 int QZ_GetGammaRamp (_THIS, Uint16 *ramp);
SDL_QuartzVideo.m     [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/windx5/
SDL_dx5video.c 427 static int DX5_SetGammaRamp(_THIS, Uint16 *ramp);
428 static int DX5_GetGammaRamp(_THIS, Uint16 *ramp);
452 extern int DIB_SetGammaRamp(_THIS, Uint16 *ramp);
453 extern int DIB_GetGammaRamp(_THIS, Uint16 *ramp);
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/windib/
SDL_dibvideo.c 100 int DIB_SetGammaRamp(_THIS, Uint16 *ramp);
101 int DIB_GetGammaRamp(_THIS, Uint16 *ramp);
1090 WORD ramp[3*256]; local
1094 if ( ! GetDeviceGammaRamp(hdc, ramp) ) {
1140 int DIB_SetGammaRamp(_THIS, Uint16 *ramp)
1143 SDL_SetError("SDL compiled without gamma ramp support");
1149 /* Set the ramp for the display */
1162 succeeded = SetDeviceGammaRamp(hdc, ramp);
1171 int DIB_GetGammaRamp(_THIS, Uint16 *ramp)
1174 SDL_SetError("SDL compiled without gamma ramp support")
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/dga/
SDL_dgavideo.c 52 static int DGA_SetGammaRamp(_THIS, Uint16 *ramp);
1021 int DGA_SetGammaRamp(_THIS, Uint16 *ramp)
1032 /* Calculate the appropriate palette for the given gamma ramp */
1041 xcmap[i].red = ramp[0*256+c];
1042 xcmap[i].green = ramp[1*256+c];
1043 xcmap[i].blue = ramp[2*256+c];
  /external/qemu/distrib/sdl-1.2.15/src/video/x11/
SDL_x11video.c 68 static int X11_SetGammaRamp(_THIS, Uint16 *ramp);
    [all...]
  /external/webrtc/src/modules/audio_processing/aec/
aec_core.c 652 const float ramp = 1.0002f; local
720 aec->dPow[i])) * ramp;
723 aec->dMinPow[i] *= ramp;
    [all...]
  /development/ndk/platforms/android-3/include/linux/
input.h 687 struct ff_ramp_effect ramp; member in union:ff_effect::__anon1027
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/
input.h 781 * struct ff_ramp_effect - defines parameters of a ramp force-feedback effect
889 struct ff_ramp_effect ramp; member in union:ff_effect::__anon24219
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/
input.h 781 * struct ff_ramp_effect - defines parameters of a ramp force-feedback effect
889 struct ff_ramp_effect ramp; member in union:ff_effect::__anon25809
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/
input.h 781 * struct ff_ramp_effect - defines parameters of a ramp force-feedback effect
889 struct ff_ramp_effect ramp; member in union:ff_effect::__anon27321

Completed in 628 milliseconds

1 2 3