/external/chromium_org/components/copresence/test/ |
audio_test_support.cc | 13 void PopulateSamples(int random_seed, size_t size, float* samples) { 16 samples[i] = (2.0 * rand() / RAND_MAX) - 1; 21 int samples) { 22 scoped_ptr<media::AudioBus> bus = media::AudioBus::Create(channels, samples); 24 PopulateSamples(random_seed, samples, bus->channel(ch)); 29 CreateRandomAudioRefCounted(int random_seed, int channels, int samples) { 31 media::AudioBusRefCounted::Create(channels, samples); 33 PopulateSamples(random_seed, samples, bus->channel(ch));
|
/external/chromium_org/tools/perf/page_sets/data/ |
webrtc_cases.json | 5 "third_party/webrtc/samples/js/demos/html/pc1.html", 7 "http://googlechrome.github.io/webrtc/samples/web/content/getusermedia-resolution/"
|
/frameworks/base/docs/html/guide/samples/ |
index.html | 3 <meta http-equiv="refresh" content="0;url=http://developer.android.com/tools/samples/index.html"> 8 href="http://developer.android.com/tools/samples/index.html">click here</a>.</p>
|
/external/chromium_org/third_party/angle/projects/samples/ |
multi_texture.vcxproj.filters | 12 <None Include="..\..\samples\samples.gyp"/>
13 <None Include="..\..\samples\angle\multi_texture\lightmap.tga">
16 <None Include="..\..\samples\angle\multi_texture\basemap.tga">
19 <ClCompile Include="..\..\samples\angle\multi_texture\MultiTexture.cpp">
|
hello_triangle.vcxproj.filters | 12 <None Include="..\..\samples\samples.gyp"/>
13 <ClCompile Include="..\..\samples\angle\hello_triangle\HelloTriangle.cpp">
|
mip_map_2d.vcxproj.filters | 12 <None Include="..\..\samples\samples.gyp"/>
13 <ClCompile Include="..\..\samples\angle\mip_map_2d\MipMap2D.cpp">
|
post_sub_buffer.vcxproj.filters | 12 <None Include="..\..\samples\samples.gyp"/>
13 <ClCompile Include="..\..\samples\angle\post_sub_buffer\PostSubBuffer.cpp">
|
simple_instancing.vcxproj.filters | 12 <None Include="..\..\samples\samples.gyp"/>
13 <ClCompile Include="..\..\samples\angle\simple_instancing\SimpleInstancing.cpp">
|
simple_texture_2d.vcxproj.filters | 12 <None Include="..\..\samples\samples.gyp"/>
13 <ClCompile Include="..\..\samples\angle\simple_texture_2d\SimpleTexture2D.cpp">
|
simple_texture_cubemap.vcxproj.filters | 12 <None Include="..\..\samples\samples.gyp"/>
13 <ClCompile Include="..\..\samples\angle\simple_texture_cubemap\SimpleTextureCubemap.cpp">
|
simple_vertex_shader.vcxproj.filters | 12 <None Include="..\..\samples\samples.gyp"/>
13 <ClCompile Include="..\..\samples\angle\simple_vertex_shader\SimpleVertexShader.cpp">
|
stencil_operations.vcxproj.filters | 12 <None Include="..\..\samples\samples.gyp"/>
13 <ClCompile Include="..\..\samples\angle\stencil_operations\StencilOperations.cpp">
|
texture_wrap.vcxproj.filters | 12 <None Include="..\..\samples\samples.gyp"/>
13 <ClCompile Include="..\..\samples\angle\texture_wrap\TextureWrap.cpp">
|
/external/chromium_org/content/test/data/media/ |
webrtc_test_audio.js | 18 // Gather 50 samples per second for 2 seconds. 19 gatherAudioLevelSamples(peerConnection, 100, 50, function(samples) { 20 identifyFakeDeviceSignal_(samples, beLenient); 30 gatherAudioLevelSamples(peerConnection, 100, 50, function(samples) { 31 identifySilence_(samples); 37 // Gathers |numSamples| samples at |frequency| number of times per second and 41 console.log('Gathering ' + numSamples + ' audio samples...'); 56 console.log('Gathered all samples.'); 67 * test if we can't see a signal. The samples should have been gathered over at 76 function identifyFakeDeviceSignal_(samples, beLenient) [all...] |
/external/chromium_org/media/cast/test/utility/ |
audio_utility.h | 32 // of sine wave samples. 47 // Assuming |samples| contains a single-frequency sine wave (and maybe some 56 // ...where seconds_per_frame is the number of samples divided by the sampling 60 int CountZeroCrossings(const float* samples, int length); 62 // Encode |timestamp| into the samples pointed to by 'samples' in a way 64 // Assumes 48Khz sampling rate and needs at least 240 samples. Returns 65 // false if |length| of |samples| is too small. If more than 240 samples are 67 // contain how many samples has been encoded so far, so that we can make smoot [all...] |
/frameworks/av/media/libeffects/lvm/lib/Bundle/src/ |
LVM_Buffers.c | 34 /* any alignment and with any number of samples. The alignment is corrected within */ 35 /* the buffer management and the samples are grouped in to blocks of the correct size */ 43 /* pNumSamples - Pointer to the number of samples to process */ 59 LVM_INT16 SampleCount; /* Number of samples to be processed this call */ 60 LVM_INT16 NumSamples; /* Number of samples in scratch buffer */ 82 * First call for a new block of samples 88 pStart = pInstance->pInputSamples; /* Pointer to the input samples */ 89 pBuffer->SamplesToOutput = 0; /* Samples to output is same as number read for inplace processing */ 93 * Calculate the number of samples to process this call and update the buffer state 98 * Process the maximum bock size of samples [all...] |
/cts/suite/audio_quality/test/ |
AudioSignalFactoryTest.cpp | 26 AudioHardware::SamplingRate samplingRate, int signalFreq, int samples) { 27 ASSERT_TRUE(buffer->getSize() == (unsigned int)(AudioHardware::E2BPS * 2 * samples)); 29 for(int i = 0; i < samples; i++) { 43 const int samples = 8192 * 10; local 45 maxPositive, AudioHardware::ESampleRate_44100, signalFreq, samples); 46 testSignalBasic(buffer, maxPositive, AudioHardware::ESampleRate_44100, signalFreq, samples); 52 const int samples = 8192 * 10; local 54 maxPositive, samples); 55 testSignalBasic(buffer, maxPositive, AudioHardware::ESampleRate_44100, signalFreq, samples);
|
/external/chromium_org/base/metrics/ |
sample_vector_unittest.cc | 24 SampleVector samples(&ranges); 26 samples.Accumulate(1, 200); 27 samples.Accumulate(2, -300); 28 EXPECT_EQ(-100, samples.GetCountAtIndex(0)); 30 samples.Accumulate(5, 200); 31 EXPECT_EQ(200, samples.GetCountAtIndex(1)); 33 EXPECT_EQ(600, samples.sum()); 34 EXPECT_EQ(100, samples.redundant_count()); 35 EXPECT_EQ(samples.TotalCount(), samples.redundant_count()) [all...] |
/external/oprofile/daemon/liblegacy/ |
opd_24_stats.c | 29 printf("Nr. kernel samples: %lu\n", opd_24_stats[OPD_KERNEL]); 30 printf("Nr. modules samples: %lu\n", opd_24_stats[OPD_MODULE]); 31 printf("Nr. modules samples lost: %lu\n", opd_24_stats[OPD_LOST_MODULE]); 32 printf("Nr. samples lost due to no process information: %lu\n", 34 printf("Nr. samples lost due to sample file open failure: %lu\n", 36 printf("Nr. process samples in user-space: %lu\n", opd_24_stats[OPD_PROCESS]); 37 printf("Nr. samples lost due to no map information: %lu\n", 55 printf("Nr. samples total: %lu\n", opd_24_stats[OPD_SAMPLES]); 59 printf("Nr. kernel samples buffer overflow: %u\n",
|
/external/oprofile/libpp/ |
sample_container.h | 24 * number of samples for a file or line number and 33 /// return iterator to the first samples for this symbol 35 /// return iterator to the last samples for this symbol 38 /// return iterator to the first samples 40 /// return iterator to the last samples 44 /// samples into an existing one. Can only be done before any lookups 47 /// return nr of samples in the given filename 50 /// return nr of samples at the given line nr in the given file 62 samples_storage samples; member in class:sample_container
|
sample_container.cpp | 3 * Internal container for samples 38 return samples.begin(); 44 return samples.end(); 53 return samples.lower_bound(key); 62 return samples.upper_bound(key); 71 samples_storage::iterator it = samples.find(key); 72 if (it != samples.end()) { 75 samples[key] = sample; 104 samples_iterator it = samples.find(key); 105 if (it != samples.end() [all...] |
/frameworks/av/include/cpustats/ |
CentralTendencyStatistics.h | 33 // add x to the set of samples 36 // return the arithmetic mean of all samples so far 39 // return the minimum of all samples so far 42 // return the maximum of all samples so far 45 // return the variance of all samples so far 48 // return the standard deviation of all samples so far 51 // return the number of samples added so far 54 // reset the set of samples to be empty 62 unsigned mN; // number of samples so far
|
/external/chromium_org/third_party/angle/ |
.gitignore | 13 samples/*.sln 14 samples/*.vcxproj 15 samples/*.vcxproj.filters
|
/external/chromium_org/tools/telemetry/telemetry/util/ |
statistics.py | 15 def NormalizeSamples(samples): 16 """Sorts the samples, and map them linearly to the range [0,1]. 18 They're mapped such that for the N samples, the first sample is 0.5/N and the 27 if not samples: 28 return samples, 1.0 29 samples = sorted(samples) 30 low = min(samples) 31 high = max(samples) 32 new_low = 0.5 / len(samples) [all...] |
/development/samples/AliasActivity/ |
Android.mk | 4 LOCAL_MODULE_TAGS := samples
|