/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,
|
/frameworks/av/cmds/stagefright/ |
SineSource.cpp | 80 int16_t amplitude = (int16_t)(32767.0 * sin(x)); local 82 *ptr++ = amplitude; 84 *ptr++ = amplitude;
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
FEComponentTransfer.h | 46 , amplitude(0) 56 float amplitude; member in struct:WebCore::ComponentTransferFunction
|
/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;
|
/frameworks/base/media/tests/audiotests/ |
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/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
|