Home
last modified time | relevance | path

Searched refs:Sample (Results 1 – 25 of 61) 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,
183 sp<Sample> findSample(int sampleID);
195 sp<Sample> findSample_l(int sampleID);
218 DefaultKeyedVector< int, sp<Sample> > mSamples;
DSoundPool.cpp190 sp<Sample> SoundPool::findSample(int sampleID) in findSample()
196 sp<Sample> SoundPool::findSample_l(int sampleID) in findSample_l()
229 sp<Sample> sample = new Sample(sampleID, fd, offset, length); in load()
263 sp<Sample> sample(findSample_l(sampleID)); in play()
264 if ((sample == 0) || (sample->state() != Sample::READY)) { in play()
472 Sample::Sample(int sampleID, int fd, int64_t offset, int64_t length) in Sample() function in android::Sample
483 void Sample::init() in init()
494 Sample::~Sample() in ~Sample()
652 status_t Sample::doLoad() in doLoad()
705 void SoundChannel::play(const sp<Sample>& sample, int nextChannelID, float leftVolume, in play()
[all …]
DSoundPoolThread.cpp106 sp <Sample> sample = mSoundPool->findSample(sampleID); in doLoadSample()
/frameworks/base/docs/html/ndk/guides/audio/
Dsample-rates.jd1 page.title=Sample Rates
18 <p>Sample Rates: Why Can't We All Just Agree?</p>
98 Sample Rate converter is used for downsampling,
120 <h3>Sample rates</h3>
129 Sample rate conversion</a> at Wikipedia.</p>
132 Sample Rate Conversion</a> at source.android.com.</p>
145 The Science of Sample Rates (When Higher Is Better - And When It Isn't)</a>.</p>
/frameworks/av/media/libmedia/
DToneGenerator.cpp1584 long Sample; // current sample in getSamples() local
1606 Sample = ((lA1 * lS1) >> S_Q14) - lS2; in getSamples()
1609 lS1 = Sample; in getSamples()
1610 Sample = ((lAmplitude>>16) * Sample) >> S_Q15; in getSamples()
1611 *(outBuffer++) += (short)Sample; // put result in buffer in getSamples()
1618 Sample = ((lA1 * lS1) >> S_Q14) - lS2; in getSamples()
1621 lS1 = Sample; in getSamples()
1622 Sample = (lAmplitude * Sample) >> S_Q15; in getSamples()
1623 *(outBuffer++) += (short)Sample; // put result in buffer in getSamples()
/frameworks/base/docs/html/design/downloads/
Dindex.jd44 <h4>Sample user flow patterns</h4>
64 <h4>Sample app design mocks</h4>
75 …<a class="download-button" onClick="ga('send', 'event', 'Design', 'Download', 'Wear Sample PSD Mo…
/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/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>
Dguides_toc.cs79 <li><a href="<?cs var:toroot ?>ndk/guides/audio/sample-rates.html">Sample Rates
/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/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-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/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/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-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/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
163 <h2 id="samples">Sample Application</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/training/swipe/
Dindex.jd21 <h2>Sample Apps</h2>
Dadd-swipe-interface.jd30 <h2>Sample Apps</h2>
/frameworks/base/docs/html/training/in-app-billing/
Dpreparing-iab-app.jd17 <li><a href="#GetSample">Download the Sample App</a></li>
43 <h2 id="GetSample">Download the Sample Application</h2>
53 <li>Follow the rest of the instructions in the <strong>Import Sample</strong>
/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

123