/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
|
/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 | 41 SVGAnimatedNumber* amplitude() { return m_amplitude.get(); } function in class:WebCore::SVGComponentTransferFunctionElement
|
SVGComponentTransferFunctionElement.cpp | 126 func.amplitude = m_amplitude->currentValue()->value();
|
/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); 260 << "\" 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;
|
/bionic/libc/kernel/uapi/sound/ |
sfnt_info.h | 117 unsigned char amplitude; member in struct:soundfont_voice_info
|
/external/chromium_org/third_party/skia/samplecode/ |
SampleCode.h | 38 // gives a sinusoidal value between 0 and amplitude 39 static SkScalar GetAnimSinScalar(SkScalar amplitude,
|
SampleApp.cpp | 610 SkScalar SampleCode::GetAnimSinScalar(SkScalar amplitude, 618 amplitude = SK_ScalarHalf * amplitude; 619 return SkScalarMul(amplitude, SkDoubleToScalar(sin(t))) + amplitude; [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/skia/samplecode/ |
SampleCode.h | 38 // gives a sinusoidal value between 0 and amplitude 39 static SkScalar GetAnimSinScalar(SkScalar amplitude,
|
SampleApp.cpp | 610 SkScalar SampleCode::GetAnimSinScalar(SkScalar amplitude, 618 amplitude = SK_ScalarHalf * amplitude; 619 return SkScalarMul(amplitude, SkDoubleToScalar(sin(t))) + amplitude; [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-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.11-4.8/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;
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
d3dx9tex.h | 342 const PALETTEENTRY *srcpalette, DWORD flags, DWORD channel, float amplitude);
|