Searched refs:Sample (Results 1 - 5 of 5) sorted by relevance
/frameworks/av/media/libeffects/lvm/lib/Common/src/ |
H A D | NonLinComp_D16.c | 70 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/av/include/media/ |
H A D | SoundPool.h | 50 class Sample : public RefBase { class in namespace:android 53 Sample(int sampleID, const char* url); 54 Sample(int sampleID, int fd, int64_t offset, int64_t length); 55 ~Sample(); 94 void set(const sp<Sample>& sample, int channelID, float leftVolume, 96 sp<Sample> sample() { return mSample; } 106 sp<Sample> mSample; 123 void play(const sp<Sample>& sample, int channelID, float leftVolume, float rightVolume, 197 void doLoad(sp<Sample>& sample); 198 sp<Sample> findSampl [all...] |
/frameworks/av/media/libmedia/ |
H A D | SoundPool.cpp | 210 sp<Sample> sample = new Sample(++mNextSampleID, path); 221 sp<Sample> sample = new Sample(++mNextSampleID, fd, offset, length); 227 void SoundPool::doLoad(sp<Sample>& sample) 246 sp<Sample> sample; 257 if ((sample == 0) || (sample->state() != Sample::READY)) { 453 Sample::Sample(int sampleID, const char* url) function in class:android::Sample 461 Sample function in class:android::Sample [all...] |
H A D | SoundPoolThread.cpp | 106 sp <Sample> sample = mSoundPool->findSample(sampleID);
|
H A D | ToneGenerator.cpp | 1534 long Sample; // current sample local 1555 Sample = ((lA1 * lS1) >> S_Q14) - lS2; 1558 lS1 = Sample; 1559 Sample = ((lAmplitude>>16) * Sample) >> S_Q15; 1560 *(outBuffer++) += (short)Sample; // put result in buffer 1566 Sample = ((lA1 * lS1) >> S_Q14) - lS2; 1569 lS1 = Sample; 1570 Sample = (lAmplitude * Sample) >> S_Q1 [all...] |
Completed in 219 milliseconds