/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/eigen/doc/examples/ |
class_CwiseUnaryOp_ptrfun.cpp | 7 double ramp(double x) function 18 cout << m1 << endl << "becomes: " << endl << m1.unaryExpr(ptr_fun(ramp)) << endl;
|
/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/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/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::__anon1079
|
/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::__anon37601
|
/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::__anon39192
|
/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::__anon40706
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/linux/ |
input.h | 687 struct ff_ramp_effect ramp; member in union:ff_effect::__anon41540
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/linux/ |
input.h | 687 struct ff_ramp_effect ramp; member in union:ff_effect::__anon41894
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/linux/ |
input.h | 687 struct ff_ramp_effect ramp; member in union:ff_effect::__anon42248
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/linux/ |
input.h | 687 struct ff_ramp_effect ramp; member in union:ff_effect::__anon42657
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/linux/ |
input.h | 687 struct ff_ramp_effect ramp; member in union:ff_effect::__anon43030
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/linux/ |
input.h | 687 struct ff_ramp_effect ramp; member in union:ff_effect::__anon43444
|