/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/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...] |
README | 15 testgamma Tests video device gamma ramp
|
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/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...] |
/frameworks/base/media/java/android/media/ |
AudioGain.java | 33 * - min ramp duration: minimum ramp duration in milliseconds 34 * - max ramp duration: maximum ramp duration in milliseconds 55 * ramps can be applied when gain changes. The type of ramp (linear, log etc...) is 130 * Minimum ramp duration in milliseconds 138 * Maximum ramp duration in milliseconds 151 * @param rampDurationMs: ramp duration if mode MODE_RAMP is set.
|
AudioGainConfig.java | 78 * Ramp duration in milliseconds. N/A if mode() does not
|
/external/chromium_org/third_party/skia/animations/ |
lines#1.xml | 30 <color id="ramp" /> 32 <set target="ramp" field="color" to="rgb(rRed.random,rBlue.random,rGreen.random)" />
|
/external/chromium_org/tools/perf/benchmarks/ |
jetstream.py | 13 a web application can start up quickly, ramp up to peak performance quickly, 15 peak performance of a web application, ignoring ramp-up time and spikes in
|
/frameworks/base/libs/hwui/ |
PathTessellator.h | 35 * ramp. 50 * vertex approximation, and correct AA ramp offsetting. 64 * vertex approximation, and correct AA ramp offsetting 78 * vertex approximation, and correct AA ramp offsetting
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
dsp_helper_unittest.cc | 28 // Ramp from 0 to 1 (in Q14) over the array. Note that |increment| is in Q20, 62 // Ramp from 0 to 1 (in Q14) in |kLen| samples. Note that |increment| is in
|
/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 ;
|
/frameworks/av/services/audioflinger/ |
AudioMixer.cpp | 723 /* Sets the volume ramp variables for the AudioMixer. 725 * The volume ramp variables are used to transition from the previous 726 * volume to the set volume. ramp controls the duration of the transition. 730 * FIXME: 1) Volume ramp is enabled only if there is a nonzero integer increment 738 * @param ramp number of frames to increment over. if ramp is 0, the volume 739 * should be set immediately. Currently ramp should not exceed 65535 (frames). 748 static inline bool setVolumeRampVariables(float newVolume, int32_t ramp, 755 if (ramp != 0) { 756 *pVolumeInc = (newVolume - *pSetVolume) / ramp; 1981 const bool ramp = t->needsRamp(); local 2033 const bool ramp = t->needsRamp(); local [all...] |
AudioMixer.h | 73 RAMP_VOLUME = 0x3002, // ramp to new volume 74 VOLUME = 0x3003, // don't ramp 424 * ADJUSTVOL (set to true if volume ramp parameters needs adjustment afterwards) 432 const TI *in, TA *aux, bool ramp, AudioMixer::track_t *t);
|
/external/chromium_org/third_party/skia/src/gpu/effects/ |
GrBezierEffect.cpp | 80 // Add line below for smooth cubic ramp 101 // Add line below for smooth cubic ramp 220 // Add line below for smooth cubic ramp 236 // Add line below for smooth cubic ramp 366 // Add line below for smooth cubic ramp 387 // Add line below for smooth cubic ramp
|
/external/skia/src/gpu/effects/ |
GrBezierEffect.cpp | 80 // Add line below for smooth cubic ramp 101 // Add line below for smooth cubic ramp 220 // Add line below for smooth cubic ramp 236 // Add line below for smooth cubic ramp 366 // Add line below for smooth cubic ramp 387 // Add line below for smooth cubic ramp
|
/external/chromium_org/chrome/browser/ui/startup/ |
session_crashed_infobar_delegate_unittest.cc | 90 // Ramp down the test.
|
/external/chromium_org/third_party/webrtc/modules/audio_conference_mixer/source/ |
audio_frame_manipulator.cc | 17 // TODO(hellner): ramp using fix point?
|
/external/chromium_org/third_party/WebKit/Source/platform/fonts/ |
WidthCache.h | 174 // Cache hit: ramp up by sampling the next few words. 180 // Cache miss: ramp down by increasing our sampling interval.
|
/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/chromium_org/chrome/browser/media/ |
chrome_webrtc_perf_browsertest.cc | 110 // Let values stabilize, bandwidth ramp up, etc.
|
/external/qemu/distrib/sdl-1.2.15/src/video/wincommon/ |
SDL_lowvideo.h | 133 /* The system gamma ramp for GDI modes */
|