Searched refs:Sample (Results 1 - 7 of 7) sorted by relevance

/frameworks/av/media/libeffects/lvm/lib/Common/src/
H A DNonLinComp_D16.c70 LVM_INT16 Sample; /* Input samples */ local
71 LVM_INT32 SampleNo; /* Sample index */
84 Sample = *pDataIn;
93 if ((LVM_INT32)Sample != -32768)
95 Temp = (LVM_INT16)((Sample * Sample) >> 15);
96 if(Sample >0)
98 Sample = (LVM_INT16)(Sample + ((Gain * (Sample
[all...]
/frameworks/base/media/jni/soundpool/
H A DSoundPool.h52 class Sample : public RefBase { class in namespace:android
55 Sample(int sampleID, int fd, int64_t offset, int64_t length);
56 ~Sample();
91 void set(const sp<Sample>& sample, int channelID, float leftVolume,
93 sp<Sample> sample() { return mSample; }
103 sp<Sample> mSample;
120 void play(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume,
183 sp<Sample> findSample(int sampleID);
195 sp<Sample> findSample_l(int sampleID);
218 DefaultKeyedVector< int, sp<Sample> > mSample
[all...]
H A DSoundPool.cpp190 sp<Sample> SoundPool::findSample(int sampleID)
196 sp<Sample> SoundPool::findSample_l(int sampleID)
229 sp<Sample> sample = new Sample(sampleID, fd, offset, length);
263 sp<Sample> sample(findSample_l(sampleID));
264 if ((sample == 0) || (sample->state() != Sample::READY)) {
472 Sample::Sample(int sampleID, int fd, int64_t offset, int64_t length) function in class:android::Sample
483 void Sample::init()
494 Sample
[all...]
H A DSoundPoolThread.cpp106 sp <Sample> sample = mSoundPool->findSample(sampleID);
/frameworks/av/media/libmedia/
H A DToneGenerator.cpp1584 long Sample; // current sample local
1606 Sample = ((lA1 * lS1) >> S_Q14) - lS2;
1609 lS1 = Sample;
1610 Sample = ((lAmplitude>>16) * Sample) >> S_Q15;
1611 *(outBuffer++) += (short)Sample; // put result in buffer
1618 Sample = ((lA1 * lS1) >> S_Q14) - lS2;
1621 lS1 = Sample;
1622 Sample = (lAmplitude * Sample) >> S_Q1
[all...]
/frameworks/base/docs/html/ndk/guides/
H A Dguides_toc.cs79 <li><a href="<?cs var:toroot ?>ndk/guides/audio/sample-rates.html">Sample Rates
/frameworks/av/media/libstagefright/
H A DMPEG4Extractor.cpp158 struct Sample { struct in class:android::MPEG4Source
167 Vector<Sample> mCurrentSamples;
2182 // this must be in a VisualSampleEntry box under the Sample Description Box ('stsd')
3856 Sample *smpl = &mCurrentSamples.editItemAt(i);
4109 Sample tmp;
4562 const Sample *smpl = &mCurrentSamples[mCurrentSampleIndex];
4582 const Sample *smpl = &mCurrentSamples[mCurrentSampleIndex];

Completed in 493 milliseconds