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

1 2 3

  /external/qemu/distrib/sdl-1.2.12/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);
  /cts/apps/CtsVerifier/jni/audioquality/
GenerateSinusoid.cpp 33 of length numOutput. If ramp > 0.0, taper the ends of the signal
41 float amplitude, float ramp,
44 if ((duration < (2.0 * ramp)) || ((freq * 2.0) > sampleRate) || (ramp < 0.0)) {
52 int numRamp = int(0.5 + (sampleRate * ramp));
GenerateSinusoid.h 21 of length numOutput. If ramp > 0.0, taper the ends of the signal
29 float amplitude, float ramp,
Wrapper.cpp 37 jfloat sampleRate, jfloat amplitude, jfloat ramp);
68 jfloat sampleRate, jfloat amplitude, jfloat ramp) {
72 generateSinusoid(freq, duration, sampleRate, amplitude, ramp,
  /external/qemu/distrib/sdl-1.2.12/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/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...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/experiments/
SoundLevelExperiment.java 38 private static final float RAMP = 0.0f;
55 AudioQualityVerifierActivity.SAMPLE_RATE, CalibrateVolumeActivity.OUTPUT_AMPL, RAMP);
GlitchExperiment.java 37 private static final float RAMP = 0.01f;
59 AudioQualityVerifierActivity.SAMPLE_RATE, AMPL, RAMP);
OverflowExperiment.java 41 private static final float RAMP = 0.01f;
55 AudioQualityVerifierActivity.SAMPLE_RATE, AMPL, RAMP);
WarmLatencyExperiment.java 62 private static final float RAMP = 0.0f;
152 AudioQualityVerifierActivity.SAMPLE_RATE, OUTPUT_AMPL, RAMP);
  /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...]
  /external/qemu/distrib/sdl-1.2.12/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/qemu/distrib/sdl-1.2.12/src/video/windib/
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)
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)
1097 SDL_SetError("SDL compiled without gamma ramp support")
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/
Native.java 24 float sampleRate, float amplitude, float ramp);
CalibrateVolumeActivity.java 93 final float RAMP = 0.0f;
99 AudioQualityVerifierActivity.SAMPLE_RATE, OUTPUT_AMPL, RAMP);
  /frameworks/base/services/audioflinger/
AudioMixer.h 59 RAMP_VOLUME = 0x3002, // ramp to new volume
60 VOLUME = 0x3003, // don't ramp
  /external/qemu/distrib/sdl-1.2.12/src/video/wincommon/
SDL_lowvideo.h 124 /* The system gamma ramp for GDI modes */
  /hardware/libhardware/include/hardware/
lights.h 97 * - If you can only do a brightness ramp, then use this formula:
  /external/qemu/distrib/sdl-1.2.12/src/video/windx5/
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);
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/video/dga/
SDL_dgavideo.c 57 static int DGA_SetGammaRamp(_THIS, Uint16 *ramp);
1017 int DGA_SetGammaRamp(_THIS, Uint16 *ramp)
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/audio/dc/
aica.c 185 /* Vol starts at zero so we can ramp */
189 /* Vol starts at zero so we can ramp */
  /external/qemu/distrib/sdl-1.2.12/src/video/quartz/
SDL_QuartzVideo.h 185 int QZ_SetGammaRamp (_THIS, Uint16 *ramp);
186 int QZ_GetGammaRamp (_THIS, Uint16 *ramp);
SDL_QuartzVideo.m     [all...]

Completed in 2608 milliseconds

1 2 3