Searched defs:Sample (Results 1 - 5 of 5) sorted by path
/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/media/libmedia/ |
H A D | ToneGenerator.cpp | 1563 long Sample; // current sample local 1584 Sample = ((lA1 * lS1) >> S_Q14) - lS2; 1587 lS1 = Sample; 1588 Sample = ((lAmplitude>>16) * Sample) >> S_Q15; 1589 *(outBuffer++) += (short)Sample; // put result in buffer 1595 Sample = ((lA1 * lS1) >> S_Q14) - lS2; 1598 lS1 = Sample; 1599 Sample = (lAmplitude * Sample) >> S_Q1 [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MPEG4Extractor.cpp | 152 struct Sample { struct in class:android::MPEG4Source 161 Vector<Sample> mCurrentSamples; 3648 Sample *smpl = &mCurrentSamples.editItemAt(i); 3901 Sample tmp; 4343 const Sample *smpl = &mCurrentSamples[mCurrentSampleIndex]; 4363 const Sample *smpl = &mCurrentSamples[mCurrentSampleIndex];
|
/frameworks/base/media/jni/soundpool/ |
H A D | SoundPool.cpp | 215 sp<Sample> sample = new Sample(++mNextSampleID, fd, offset, length); 221 void SoundPool::doLoad(sp<Sample>& sample) 240 sp<Sample> sample; 251 if ((sample == 0) || (sample->state() != Sample::READY)) { 459 Sample::Sample(int sampleID, int fd, int64_t offset, int64_t length) function in class:android::Sample 470 void Sample::init() 481 Sample::~Sample() [all...] |
H A D | SoundPool.h | 52 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, 194 void doLoad(sp<Sample>& sample); 195 sp<Sample> findSample(int sampleID) { return mSamples.valueFor(sampleID); } 218 DefaultKeyedVector< int, sp<Sample> > mSample [all...] |
Completed in 233 milliseconds