Home
last modified time | relevance | path

Searched refs:Sample (Results 1 – 25 of 64) sorted by relevance

123

/frameworks/av/media/libeffects/lvm/lib/Common/src/
DNonLinComp_D16.c70 LVM_INT16 Sample; /* Input samples */ in NonLinComp_D16() local
84 Sample = *pDataIn; in NonLinComp_D16()
93 if ((LVM_INT32)Sample != -32768) in NonLinComp_D16()
95 Temp = (LVM_INT16)((Sample * Sample) >> 15); in NonLinComp_D16()
96 if(Sample >0) in NonLinComp_D16()
98 Sample = (LVM_INT16)(Sample + ((Gain * (Sample - Temp)) >> 15)); in NonLinComp_D16()
102 Sample = (LVM_INT16)(Sample + ((Gain * (Sample + Temp)) >> 15)); in NonLinComp_D16()
110 *pDataOut = Sample; in NonLinComp_D16()
/frameworks/base/media/jni/soundpool/
DSoundPool.h52 class Sample : public RefBase {
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; } in sample()
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); } in findSample()
218 DefaultKeyedVector< int, sp<Sample> > mSamples;
DSoundPool.cpp215 sp<Sample> sample = new Sample(++mNextSampleID, fd, offset, length); in load()
221 void SoundPool::doLoad(sp<Sample>& sample) in doLoad()
240 sp<Sample> sample; in play()
251 if ((sample == 0) || (sample->state() != Sample::READY)) { in play()
459 Sample::Sample(int sampleID, int fd, int64_t offset, int64_t length) in Sample() function in android::Sample
470 void Sample::init() in init()
481 Sample::~Sample() in ~Sample()
615 status_t Sample::doLoad() in doLoad()
668 void SoundChannel::play(const sp<Sample>& sample, int nextChannelID, float leftVolume, in play()
790 sp<Sample> sample; in nextEvent()
[all …]
DSoundPoolThread.cpp106 sp <Sample> sample = mSoundPool->findSample(sampleID); in doLoadSample()
/frameworks/av/media/libmedia/
DToneGenerator.cpp1563 long Sample; // current sample in getSamples() local
1584 Sample = ((lA1 * lS1) >> S_Q14) - lS2; in getSamples()
1587 lS1 = Sample; in getSamples()
1588 Sample = ((lAmplitude>>16) * Sample) >> S_Q15; in getSamples()
1589 *(outBuffer++) += (short)Sample; // put result in buffer in getSamples()
1595 Sample = ((lA1 * lS1) >> S_Q14) - lS2; in getSamples()
1598 lS1 = Sample; in getSamples()
1599 Sample = (lAmplitude * Sample) >> S_Q15; in getSamples()
1600 *(outBuffer++) += (short)Sample; // put result in buffer in getSamples()
/frameworks/base/docs/html/design/downloads/
Dindex.jd41 <h4>Sample user flow patterns</h4>
61 <h4>Sample app design mocks</h4>
72 …<a class="download-button" onClick="ga('send', 'event', 'Design', 'Download', 'Wear Sample PSD Mo…
/frameworks/base/docs/html/ndk/guides/
Dsample.jd1 page.title=Sample Walkthroughs
Dcpu-arm-neon.jd13 <li><a href="#sc">Sample Code</a></li>
105 <h2 id="sc">Sample Code</h2>
/frameworks/base/docs/html/samples/
Dindex.jd24 <li>In the Android Studio menu, select <strong>File &gt; Import Sample</strong> to open the
25 Import Sample wizard.</li>
/frameworks/base/docs/html/
Doffline.jd29 <li>Read <a href="{@docRoot}resources/browser.html?tag=sample">Sample Code</a>,
/frameworks/base/docs/html/training/search/
Dindex.jd26 Dictionary Sample App</a></li>
/frameworks/base/docs/html-intl/intl/zh-cn/training/basics/data-storage/
Ddatabases.jd32 <a href="{@docRoot}shareables/training/Sample.zip" class="button">Download the sample</a>
33 <p class="filename">Sample.zip</p>
/frameworks/base/docs/html-intl/intl/ru/training/basics/data-storage/
Ddatabases.jd32 <a href="{@docRoot}shareables/training/Sample.zip" class="button">Download the sample</a>
33 <p class="filename">Sample.zip</p>
/frameworks/base/docs/html-intl/intl/zh-tw/training/basics/data-storage/
Ddatabases.jd32 <a href="{@docRoot}shareables/training/Sample.zip" class="button">Download the sample</a>
33 <p class="filename">Sample.zip</p>
/frameworks/base/docs/html-intl/intl/ko/training/basics/data-storage/
Ddatabases.jd32 <a href="{@docRoot}shareables/training/Sample.zip" class="button">Download the sample</a>
33 <p class="filename">Sample.zip</p>
/frameworks/base/docs/html-intl/intl/ja/training/basics/data-storage/
Ddatabases.jd32 <a href="{@docRoot}shareables/training/Sample.zip" class="button">Download the sample</a>
33 <p class="filename">Sample.zip</p>
/frameworks/base/docs/html/training/swipe/
Dindex.jd21 <h2>Sample Apps</h2>
Dadd-swipe-interface.jd30 <h2>Sample Apps</h2>
Drespond-refresh-request.jd16 <h2>Sample App</h2>
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/
DARM_DELIVERY.TXT16 Sample code release for Hantro (Ver 1.0.2)
/frameworks/base/docs/html/google/play/billing/
Dbilling_overview.jd27 <li><a href="#samples">Sample App</a></li>
32 …<li><a href="{@docRoot}training/in-app-billing/preparing-iab-app.html#GetSample">Sample Applicatio…
144 <h2 id="samples">Sample Application</h2>
/frameworks/base/docs/html/guide/topics/providers/
Dcontent-providers.jd46 Sample Sync Adapter</a>
/frameworks/base/docs/html/ndk/samples/
Dsample_hellojni.jd1 page.title=Sample: hello-jni
/frameworks/base/docs/html/develop/
Dindex.jd38 Sample projects
/frameworks/base/docs/html/training/in-app-billing/
Dpreparing-iab-app.jd17 <li><a href="#GetSample">Download the Sample App</a></li>
35 <h2 id="GetSample">Download the Sample Application</h2>

123