/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/webrtc/webrtc/modules/audio_processing/ |
splitting_filter_unittest.cc | 56 float amplitude = is_present[j] ? kAmplitude : 0.f; local 59 amplitude * sin(2.f * M_PI * kFrequenciesHz[j] *
|
/frameworks/av/cmds/stagefright/ |
SineSource.cpp | 81 int16_t amplitude = (int16_t)(32767.0 * sin(x)); local 83 *ptr++ = amplitude; 85 *ptr++ = amplitude;
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/g3d/voxel/ |
PerlinNoiseGenerator.java | 78 float amplitude = 1.0f;
local 82 amplitude *= persistance;
83 totalAmplitude += amplitude;
87 perlinNoise[i][j] += smoothNoise[octave][i][j] * 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) 138 buffer[i0] = ComputeSine( amplitude, phi); 149 short AudioTrackTest::ComputeSine(long amplitude, long phi) 155 sample = (amplitude*sin1024[(phi>>22) & 0x3ff]) >> 15; 158 l1 = (amplitude*sin1024[((phi>>22) + 256) & 0x3ff]) >> 15; // 2^15*cosine
|
/external/libgdx/extensions/gdx-tools/src/com/badlogic/gdx/tools/hiero/unicodefont/effects/ |
OutlineWobbleEffect.java | 30 float amplitude = 1;
field in class:OutlineWobbleEffect 49 values.add(EffectUtil.floatValue("Amplitude", amplitude, 0.5f, 50, "This setting controls the amplitude of the outline."));
59 } else if (value.getName().equals("Amplitude")) {
60 amplitude = ((Float)value.getObject()).floatValue();
120 return x + (float)Math.random() * amplitude * 2 - 1;
|
OutlineZigzagEffect.java | 29 float amplitude = 1;
field in class:OutlineZigzagEffect 48 values.add(EffectUtil.floatValue("Amplitude", amplitude, 0.5f, 50, "This setting controls the amplitude of the outline. "
59 } else if (value.getName().equals("Amplitude")) {
60 amplitude = ((Float)value.getObject()).floatValue();
105 result.lineTo(x + amplitude * dy * r, y - amplitude * dx * r);
107 result.lineTo(x - amplitude * dy * r, y + amplitude * dx * r); [all...] |
/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;
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/BroadphaseCollision/ |
btDbvtBroadphase.cpp | 681 btScalar amplitude; member in struct:btBroadphaseBenchmark::Experiment 689 void update(btScalar speed,btScalar amplitude,btBroadphaseInterface* pbi) 692 center[0] = btCos(time*(btScalar)2.17)*amplitude+ 693 btSin(time)*amplitude/2; 694 center[1] = btCos(time*(btScalar)1.38)*amplitude+ 695 btSin(time)*amplitude; 696 center[2] = btSin(time*(btScalar)0.777)*amplitude; 733 const btScalar amplitude=experiment.amplitude; local 739 printf("\tAmplitude: %f\r\n",amplitude); [all...] |
/bionic/libc/kernel/uapi/sound/ |
sfnt_info.h | 117 unsigned char amplitude; member in struct:soundfont_voice_info
|
/cts/tests/tests/media/src/android/media/cts/ |
AudioTrackLatencyTest.java | 129 public double amplitude = 0.5; field in class:AudioTrackLatencyTest.TestSetup 137 samplesPerFrame, 1, amplitude);
|
AudioTrackSurroundTest.java | 420 int amplitude = 8000; local 423 mData[i] = (short)(random.nextInt(amplitude) - (amplitude / 2));
|
/external/ImageMagick/MagickCore/ |
statistic.c | 924 amplitude, 930 Sinusoid: frequency, phase, amplitude, bias. 934 amplitude=(number_parameters >= 3) ? parameters[2] : 0.5; 936 result=(double) (QuantumRange*(amplitude*sin((double) (2.0* 921 amplitude, local [all...] |
/external/kernel-headers/original/uapi/sound/ |
sfnt_info.h | 135 unsigned char amplitude; /* sample volume (127 max) */ member in struct:soundfont_voice_info
|
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletDynamics/ConstraintSolver/ |
btConeTwistConstraint.cpp | 470 btScalar amplitude = m_swingLimitRatio * m_swingCorrection*m_biasFactor/timeStep; local 473 amplitude += m_swingLimitRatio * relSwingVel * m_relaxationFactor; 474 btScalar impulseMag = amplitude * m_kSwing; 502 btScalar amplitude = m_twistLimitRatio * m_twistCorrection*m_biasFactor/timeStep; local 505 amplitude += m_twistLimitRatio * relTwistVel * m_relaxationFactor; 506 btScalar impulseMag = amplitude * m_kTwist; [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/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.15-4.8/sysroot/usr/include/sound/ |
sfnt_info.h | 135 unsigned char amplitude; /* sample volume (127 max) */ member in struct:soundfont_voice_info
|