/frameworks/opt/net/voip/src/jni/rtp/ |
D | G711Codec.cpp | 41 int encode(void *payload, int16_t *samples); 42 int decode(int16_t *samples, int count, void *payload, int length); 47 int UlawCodec::encode(void *payload, int16_t *samples) in encode() argument 51 int sample = samples[i]; in encode() 67 int UlawCodec::decode(int16_t *samples, int count, void *payload, int length) in decode() argument 78 samples[i] = (ulaw < 0 ? -sample : sample); in decode() 92 int encode(void *payload, int16_t *samples); 93 int decode(int16_t *samples, int count, void *payload, int length); 98 int AlawCodec::encode(void *payload, int16_t *samples) in encode() argument 102 int sample = samples[i]; in encode() [all …]
|
D | AmrCodec.cpp | 54 int encode(void *payload, int16_t *samples); 55 int decode(int16_t *samples, int count, void *payload, int length); 100 int AmrCodec::encode(void *payload, int16_t *samples) in encode() argument 106 samples, bytes + 1, &type, AMR_TX_WMF); in encode() 131 int AmrCodec::decode(int16_t *samples, int count, void *payload, int length) in decode() argument 169 if (AMRDecode(mDecoder, type, bytes, samples, MIME_IETF) != length) { in decode() 215 int encode(void *payload, int16_t *samples); 216 int decode(int16_t *samples, int count, void *payload, int length); 224 int GsmEfrCodec::encode(void *payload, int16_t *samples) in encode() argument 230 samples, bytes, &type, AMR_TX_WMF); in encode() [all …]
|
D | GsmCodec.cpp | 46 int encode(void *payload, int16_t *samples); 47 int decode(int16_t *samples, int count, void *payload, int length); 54 int GsmCodec::encode(void *payload, int16_t *samples) in encode() argument 56 gsm_encode(mEncode, samples, (unsigned char *)payload); in encode() 60 int GsmCodec::decode(int16_t *samples, int count, void *payload, int length) in decode() argument 65 gsm_decode(mDecode, bytes, &samples[n]) == 0) { in decode()
|
D | AudioCodec.h | 31 virtual int encode(void *payload, int16_t *samples) = 0; 33 virtual int decode(int16_t *samples, int count, void *payload, int length) = 0;
|
D | AudioGroup.cpp | 316 int16_t samples[mSampleCount]; in encode() local 327 samples[i] = sample; in encode() 334 memset(samples, 0, sizeof(samples)); in encode() 343 send(mSocket, samples, sizeof(samples), MSG_DONTWAIT); in encode() 351 int length = mCodec->encode(&buffer[3], samples); in encode() 403 int16_t samples[count]; in decode() local 406 count = recv(mSocket, samples, sizeof(samples), in decode() 432 length = mCodec->decode(samples, count, &buffer[offset], length); in decode() 463 mBuffer[tail & mBufferMask] = samples[i]; in decode()
|
/frameworks/native/opengl/tests/angeles/ |
D | app-linux.cpp | 121 static int initGraphics(unsigned samples) in initGraphics() argument 125 EGL_SAMPLE_BUFFERS, samples ? 1 : 0, in initGraphics() 126 EGL_SAMPLES, samples, in initGraphics() 169 if (samples == 0) { in initGraphics() 189 unsigned samples = 0; in main() local 192 samples = atoi( argv[1] ); in main() 193 printf("Multisample enabled: GL_SAMPLES = %u\n", samples); in main() 196 if (!initGraphics(samples)) in main()
|
/frameworks/base/ |
D | Android.mk | 467 sample_dir := development/samples 475 resources/samples/AccelerometerPlay "Accelerometer Play" \ 477 resources/samples/ActionBarCompat "Action Bar Compatibility" \ 479 resources/samples/AndroidBeamDemo "Android Beam Demo" \ 481 resources/samples/ApiDemos "API Demos" \ 483 resources/samples/Support4Demos "API 4+ Support Demos" \ 485 resources/samples/Support13Demos "API 13+ Support Demos" \ 487 resources/samples/BackupRestore "Backup and Restore" \ 489 resources/samples/BluetoothChat "Bluetooth Chat" \ 491 resources/samples/BluetoothHDP "Bluetooth HDP Demo" \ [all …]
|
/frameworks/ex/variablespeed/jni/ |
D | ring_buffer.cc | 82 void RingBuffer::Write(const float* samples, int num_frames) { in Write() argument 87 memcpy(samples_ + head_ * num_channels_, samples, in Write() 88 num_frames * num_channels_ * sizeof(samples[0])); in Write() 92 memcpy(samples_ + head_ * num_channels_, samples, in Write() 93 num_channels_ * overhead * sizeof(samples[0])); in Write() 95 memcpy(samples_, samples + overhead * num_channels_, in Write() 96 num_channels_ * head_ * sizeof(samples[0])); in Write()
|
/frameworks/base/docs/html-intl/ja/training/multiscreen/ |
D | screensizes.jd | 58 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane_with_bar.xml all} 128 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane.xml all} 132 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes.xml all} 148 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane.xml all} 152 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes.xml all} 222 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane.xml all} 225 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane_with_bar.xml all} 228 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes.xml all} 231 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes_narrow.xml all} 236 {@sample development/samples/training/multiscreen/newsreader/res/values/layouts.xml all} [all …]
|
/frameworks/base/docs/html-intl/ko/training/multiscreen/ |
D | screensizes.jd | 58 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane_with_bar.xml all} 128 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane.xml all} 132 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes.xml all} 148 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane.xml all} 152 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes.xml all} 222 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane.xml all} 225 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane_with_bar.xml all} 228 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes.xml all} 231 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes_narrow.xml all} 236 {@sample development/samples/training/multiscreen/newsreader/res/values/layouts.xml all} [all …]
|
/frameworks/base/docs/html-intl/zh-cn/training/multiscreen/ |
D | screensizes.jd | 58 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane_with_bar.xml all} 128 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane.xml all} 132 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes.xml all} 148 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane.xml all} 152 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes.xml all} 222 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane.xml all} 225 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane_with_bar.xml all} 228 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes.xml all} 231 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes_narrow.xml all} 236 {@sample development/samples/training/multiscreen/newsreader/res/values/layouts.xml all} [all …]
|
/frameworks/base/docs/html-intl/ru/training/multiscreen/ |
D | screensizes.jd | 58 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane_with_bar.xml all} 128 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane.xml all} 132 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes.xml all} 148 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane.xml all} 152 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes.xml all} 222 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane.xml all} 225 {@sample development/samples/training/multiscreen/newsreader/res/layout/onepane_with_bar.xml all} 228 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes.xml all} 231 {@sample development/samples/training/multiscreen/newsreader/res/layout/twopanes_narrow.xml all} 236 {@sample development/samples/training/multiscreen/newsreader/res/values/layouts.xml all} [all …]
|
/frameworks/base/docs/html/tools/samples/ |
D | index.jd | 9 <p>To download the samples:</p> 22 <p>When the download is complete, you can find the source code for all samples at this location:</p> 25 <code><sdk>/samples/android-<version>/</code> 31 <p>You can easily create new Android projects with the downloaded samples, modify them
|
/frameworks/testing/uiautomator/samples/SkeletonTest/ |
D | README | 9 mmm frameworks/testing/uiautomator/samples/SkeletonTest 14 -e class com.android.uiautomator.samples.skeleton.DemoTestCase 17 * cp -r frameworks/testing/uiautomator/samples/SkeletonTest /new/location
|
/frameworks/ml/bordeaux/learning/ |
D | Android.mk | 21 LOCAL_MODULE_TAGS := samples tests 44 LOCAL_MODULE_TAGS := samples tests
|
/frameworks/wilhelm/src/desktop/ |
D | SDL.c | 52 fmt.samples = SndFile_BUFSIZE; in SDL_open() 54 fmt.samples = SndFile_BUFSIZE / sizeof(short); in SDL_open()
|
/frameworks/native/cmds/flatland/ |
D | Main.cpp | 525 Vector<double> samples; in runTest() local 571 size_t newSamples = samples.size(); in runTest() 593 samples.add(sample); in runTest() 596 samples.sort(cmpDouble); in runTest() 599 size_t elem = (samples.size() * (outlierFraction-1) / outlierFraction); in runTest() 600 result = (samples[elem-1] + samples[elem]) * 0.5; in runTest()
|
/frameworks/av/media/libstagefright/codecs/flac/enc/ |
D | SoftFlacEncoder.cpp | 349 size_t bytes, unsigned samples, unsigned current_frame) { in onEncodedFlacAvailable() argument 351 bytes, samples, current_frame); in onEncodedFlacAvailable() 354 if (samples == 0) { in onEncodedFlacAvailable() 363 if ((samples == 0) || !mEncoderWriteData) { in onEncodedFlacAvailable() 366 ALOGV("ignoring %d bytes of header data (samples=%d)", bytes, samples); in onEncodedFlacAvailable() 448 size_t bytes, unsigned samples, unsigned current_frame, void *client_data) { in flacEncoderWriteCallback() argument 450 buffer, bytes, samples, current_frame); in flacEncoderWriteCallback()
|
D | SoftFlacEncoder.h | 81 size_t bytes, unsigned samples, unsigned current_frame, void *client_data); 85 size_t bytes, unsigned samples, unsigned current_frame);
|
/frameworks/av/services/audioflinger/ |
D | AudioResamplerSinc.h | 55 int32_t* out, uint32_t phase, const int16_t *samples, uint32_t vRL); 61 int32_t lerp, const int16_t* samples);
|
D | AudioResamplerSinc.cpp | 638 int32_t* out, uint32_t phase, const int16_t *samples, uint32_t vRL) in filterCoefficient() argument 660 int16_t const* sP = samples; in filterCoefficient() 661 int16_t const* sN = samples + CHANNELS; in filterCoefficient() 825 int32_t lerp, const int16_t* samples) in interpolate() argument 831 uint32_t rl = *reinterpret_cast<const uint32_t*>(samples); in interpolate() 835 r = l = mulAdd(samples[0], sinc, l); in interpolate()
|
/frameworks/base/docs/html/google/gcm/ |
D | demo.jd | 78 …, <code>gcm-server</code>, <code>samples/gcm-demo-client</code>, <code>samples/gcm-demo-server</co… 83 …<li>In a text editor, edit the <code>samples/gcm-demo-server/WebContent/WEB-INF/classes/api.key</c… 84 <li>In a shell window, go to the <code>samples/gcm-demo-server</code> directory.</li> 118 …, <code>gcm-server</code>, <code>samples/gcm-demo-client</code>, <code>samples/gcm-demo-server</co… 120 …<li>In a text editor, edit <code>samples/gcm-demo-appengine/src/com/google/android/gcm/demo/server… 124 <li>In a shell window, go to the <code>samples/gcm-demo-appengine</code> directory.</li> 168 …, <code>gcm-server</code>, <code>samples/gcm-demo-client</code>, <code>samples/gcm-demo-server</co… 170 …<li>Using a text editor, open <code>samples/gcm-demo-client/src/com/google/android/gcm/demo/app/C…
|
/frameworks/native/opengl/libs/GLES2/ |
D | gl2ext_api.in | 88 void API_ENTRY(glRenderbufferStorageMultisampleANGLE)(GLenum target, GLsizei samples, GLenum intern… 89 …CALL_GL_API(glRenderbufferStorageMultisampleANGLE, target, samples, internalformat, width, height); 91 void API_ENTRY(glRenderbufferStorageMultisampleAPPLE)(GLenum target, GLsizei samples, GLenum intern… 92 …CALL_GL_API(glRenderbufferStorageMultisampleAPPLE, target, samples, internalformat, width, height); 115 void API_ENTRY(glRenderbufferStorageMultisampleEXT)(GLenum target, GLsizei samples, GLenum internal… 116 … CALL_GL_API(glRenderbufferStorageMultisampleEXT, target, samples, internalformat, width, height); 118 …GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples) { 119 …_API(glFramebufferTexture2DMultisampleEXT, target, attachment, textarget, texture, level, samples); 268 void API_ENTRY(glRenderbufferStorageMultisampleIMG)(GLenum target, GLsizei samples, GLenum internal… 269 … CALL_GL_API(glRenderbufferStorageMultisampleIMG, target, samples, internalformat, width, height); [all …]
|
/frameworks/base/libs/androidfw/ |
D | InputTransport.cpp | 447 batch.samples.push(mMsg); in consume() 458 batch, batch.samples.size(), outSeq, outEvent); in consume() 477 batch.samples.push(mMsg); in consume() 514 result = consumeSamples(factory, batch, batch.samples.size(), in consumeBatch() 528 if (batch.samples.isEmpty()) { in consumeBatch() 532 next = &batch.samples.itemAt(0); in consumeBatch() 550 InputMessage& msg = batch.samples.editItemAt(i); in consumeSamples() 563 batch.samples.removeItemsAt(0, count); in consumeSamples() 860 const InputMessage& head = batch.samples.itemAt(0); in findBatch() 932 const InputMessage& head = batch.samples.itemAt(0); in canAddSample() [all …]
|
/frameworks/base/docs/html/guide/topics/providers/ |
D | content-providers.jd | 30 <a href="{@docRoot}resources/samples/ContactManager/index.html"> 35 href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/view/List2.html"> 41 href="{@docRoot}resources/samples/ApiDemos/src/com/example/android/apis/view/List7.html"> 45 <a href="{@docRoot}resources/samples/SampleSyncAdapter/index.html">
|