/frameworks/base/media/tests/audiotests/ |
shared_mem_test.h | 16 void Generate(short *buffer, long bufferSz, long amplitude, unsigned long &phi, long dPhi); 18 short ComputeSine(long amplitude, long phi);
|
shared_mem_test.cpp | 80 long amplitude; local 86 amplitude = 1000; 88 Generate(smpBuf, BUF_SZ, amplitude, phi, dPhi); // fill buffer 134 void AudioTrackTest::Generate(short *buffer, long bufferSz, long amplitude, unsigned long &phi, long dPhi) 142 buffer[i0] = ComputeSine( amplitude, phi); 153 short AudioTrackTest::ComputeSine(long amplitude, long phi) 159 sample = (amplitude*sin1024[(phi>>22) & 0x3ff]) >> 15; 162 l1 = (amplitude*sin1024[((phi>>22) + 256) & 0x3ff]) >> 15; // 2^15*cosine
|
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/fractal/ |
FractalSum.java | 39 * of the noise value with an ever decreasing (0 < roughness < 1) amplitude
54 private float amplitude;
field in class:FractalSum 63 this.amplitude = 1.0f;
73 for (float f = this.frequency, a = this.amplitude; f < this.maxFreq; f *= this.lacunarity, a *= this.roughness) {
118 return this.amplitude;
122 public Fractal setAmplitude(final float amplitude) {
123 this.amplitude = amplitude;
|
Fractal.java | 51 public Fractal setAmplitude(final float amplitude);
|
/frameworks/av/cmds/stagefright/ |
SineSource.cpp | 80 int16_t amplitude = (int16_t)(32767.0 * sin(x)); local 82 *ptr++ = amplitude; 84 *ptr++ = amplitude;
|
/cts/suite/audio_quality/lib/src/task/ |
TaskSound.cpp | 79 int amplitude = atoi(tokens->at(1).string()); local 83 buffer = AudioSignalFactory::generateSineWave(AudioHardware::E2BPS, amplitude, 90 int amplitude = atoi(tokens->at(1).string()); local 93 buffer = AudioSignalFactory::generateWhiteNoise(AudioHardware::E2BPS, amplitude,
|
/external/chromium_org/third_party/WebKit/Source/core/svg/ |
SVGComponentTransferFunctionElement.idl | 41 readonly attribute SVGAnimatedNumber amplitude;
|
SVGComponentTransferFunctionElement.h | 91 DECLARE_ANIMATED_NUMBER(Amplitude, amplitude)
|
SVGComponentTransferFunctionElement.cpp | 38 DEFINE_ANIMATED_NUMBER(SVGComponentTransferFunctionElement, SVGNames::amplitudeAttr, Amplitude, amplitude) 47 REGISTER_LOCAL_ANIMATED_PROPERTY(amplitude) 146 func.amplitude = amplitudeCurrentValue();
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
FEComponentTransfer.h | 46 , amplitude(0) 56 float amplitude; member in struct:WebCore::ComponentTransferFunction
|
FEComponentTransfer.cpp | 147 double val = 255.0 * (transferFunction.amplitude * pow((i / 255.0), exponent) + transferFunction.offset); 257 << "\" amplitude=\"" << function.amplitude
|
/external/libvorbis/doc/ |
06-floor0.tex | 51 decoding the curve amplitude and \varname{[floor0_order]} LSP 58 1) [amplitude] = read an unsigned integer of [floor0_amplitude_bits] bits 59 2) if ( [amplitude] is greater than zero ) \{ 78 \item An \varname{[amplitude]} value of zero must result in a return code that indicates this channel is unused in this frame (the output of the channel will be all-zeroes in synthesis). Several later stages of decode don't occur for an unused channel. 82 \varname{[amplitude]} value had read zero at the beginning of decode. 106 Given an \varname{[amplitude]} integer and \varname{[coefficients]} 113 If the value \varname{[amplitude]} is zero, the return value is a 148 (dB) amplitude scale, mapping it to linear amplitude in the last step: 175 \exp \left( .11512925 \left(\frac{\mathtt{amplitude} \cdot \mathtt{floor0\_amplitute\_offset}}{(2^{\mathtt{floor0\_amplitude\_bits}}-1)\sqrt{p+q} [all...] |
07-floor1.tex | 11 amplitude axis. The integer plotting algorithm used is similar to 38 amplitude value at x_new so that later refinement is additionally 179 floor that has all points set to minimum representation amplitude, 240 derives final Y amplitude values from the encoded, wrapped difference 253 \item[step 1: amplitude value synthesis]
|
01-introduction.tex | 209 representation on a dB amplitude scale and Bark frequency scale. 211 representation on a dB amplitude scale and linear frequency scale.
|
/external/libvorbis/vq/ |
metrics.c | 26 mean and mean squared amplitude 138 fprintf(stderr,"\tmean sample amplitude: %g\n", 140 fprintf(stderr,"\tmean squared sample amplitude: %g\n\n", 212 float amplitude=0.f; local 217 amplitude=a[j*step]-(b->c->q_sequencep?last:0); 218 meanamplitude_acc+=fabs(amplitude); 219 meanamplitudesq_acc+=amplitude*amplitude;
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
sfnt_info.h | 135 unsigned char amplitude; /* sample volume (127 max) */ member in struct:soundfont_voice_info
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
sfnt_info.h | 135 unsigned char amplitude; /* sample volume (127 max) */ member in struct:soundfont_voice_info
|
/external/chromium_org/third_party/WebKit/Source/platform/mac/ |
ScrollElasticityController.mm | 70 float amplitude = rubberbandAmplitude; 74 return (initialPosition + (-initialVelocity * elapsedTime * amplitude)) * criticalDampeningFactor;
|