Searched refs:Sample (Results 1 - 8 of 8) 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,
186 sp<Sample> findSample(int sampleID);
198 sp<Sample> findSample_l(int sampleID);
221 DefaultKeyedVector< int, sp<Sample> > mSample
[all...]
H A DSoundPool.cpp191 sp<Sample> SoundPool::findSample(int sampleID)
197 sp<Sample> SoundPool::findSample_l(int sampleID)
230 sp<Sample> sample = new Sample(sampleID, fd, offset, length);
264 sp<Sample> sample(findSample_l(sampleID));
265 if ((sample == 0) || (sample->state() != Sample::READY)) {
486 Sample::Sample(int sampleID, int fd, int64_t offset, int64_t length) function in class:android::Sample
497 void Sample::init()
508 Sample
[all...]
H A DSoundPoolThread.cpp106 sp <Sample> sample = mSoundPool->findSample(sampleID);
/frameworks/base/docs/
H A D__DEPRECATED__DO_NOT_EDIT__.txt13 - Sample code documentation is not maintained in Piper, but is published from
/frameworks/base/docs/html/
H A D__DEPRECATED__DO_NOT_EDIT__.txt13 - Sample code documentation is not maintained in Piper, but is published from
/frameworks/av/media/libaudioclient/
H A DToneGenerator.cpp1608 long Sample; // current sample local
1630 Sample = ((lA1 * lS1) >> S_Q14) - lS2;
1633 lS1 = Sample;
1634 Sample = ((lAmplitude>>16) * Sample) >> S_Q15;
1635 *(outBuffer++) += (short)Sample; // put result in buffer
1642 Sample = ((lA1 * lS1) >> S_Q14) - lS2;
1645 lS1 = Sample;
1646 Sample = (lAmplitude * Sample) >> S_Q1
[all...]
/frameworks/av/media/libstagefright/
H A DMPEG4Extractor.cpp165 struct Sample { struct in class:android::MPEG4Source
174 Vector<Sample> mCurrentSamples;
2288 // this must be in a VisualSampleEntry box under the Sample Description Box ('stsd')
4167 Sample *smpl = &mCurrentSamples.editItemAt(i);
4332 // Sample.compositionOffset is defined as int32_t.
4422 Sample tmp;
4897 const Sample *smpl = &mCurrentSamples[mCurrentSampleIndex];
4917 const Sample *smpl = &mCurrentSamples[mCurrentSampleIndex];

Completed in 3374 milliseconds