Searched defs:samples (Results 1 - 25 of 307) sorted by relevance

1234567891011>>

/external/eigen/doc/snippets/
H A DLLT_solve.cpp2 // let's generate some samples on the 3D plane of equation z = 2x+3y (with some noise)
3 DataMatrix samples = DataMatrix::Random(12,2); variable
4 VectorXf elevations = 2*samples.col(0) + 3*samples.col(1) + VectorXf::Random(12)*0.1;
5 // and let's solve samples * [x y]^T = elevations in least square sense:
7 = (samples.adjoint() * samples).llt().solve((samples.adjoint()*elevations));
/external/chromium_org/chrome/browser/extensions/api/copresence_private/
H A Dcopresence_private_api.cc57 scoped_refptr<media::AudioBusRefCounted> samples = local
59 params->samples.size() / sizeof(float));
61 memcpy(samples->channel(0),
62 string_as_array(&params->samples),
63 params->samples.size());
66 params->token.token, params->token.audible, samples);
/external/chromium_org/chrome/common/extensions/docs/static/js/
H A Dsamples.js7 var samples = document.getElementsByClassName('sample'); variable
13 for (var i = 0; i < samples.length; ++i) {
14 var sample = samples[i];
/external/chromium_org/third_party/libvpx/source/libvpx/vpx/src/
H A Dvpx_psnr.c17 double vpx_sse_to_psnr(double samples, double peak, double sse) { argument
19 const double psnr = 10.0 * log10(samples * peak * peak / sse);
/external/eigen/bench/btl/data/
H A Dgnuplot_common_settings.hh33 set samples 100, 100 variable
/external/libvpx/libvpx/vpx/src/
H A Dvpx_psnr.c17 double vpx_sse_to_psnr(double samples, double peak, double sse) { argument
19 const double psnr = 10.0 * log10(samples * peak * peak / sse);
/external/chromium_org/tools/gyp/tools/emacs/
H A Dgyp-tests.el14 (defconst samples (directory-files "testdata" t ".gyp$") function
15 "List of golden samples to check")
45 (ert-deftest test-golden-samples ()
46 "Check that fontification produces the same results as the golden samples"
47 (dolist (sample samples)
61 (defun create-golden-samples ()
62 "Recreate the golden samples"
63 (dolist (sample samples) (create-golden-sample sample)))
/external/chromium_org/base/metrics/
H A Dsample_map_unittest.cc13 SampleMap samples; local
15 samples.Accumulate(1, 100);
16 samples.Accumulate(2, 200);
17 samples.Accumulate(1, -200);
18 EXPECT_EQ(-100, samples.GetCount(1));
19 EXPECT_EQ(200, samples.GetCount(2));
21 EXPECT_EQ(300, samples.sum());
22 EXPECT_EQ(100, samples.TotalCount());
23 EXPECT_EQ(samples.redundant_count(), samples
58 SampleMap samples; local
101 SampleMap samples; local
[all...]
/external/chromium_org/components/copresence/test/
H A Daudio_test_support.cc13 void PopulateSamples(int random_seed, size_t size, float* samples) { argument
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) { argument
31 media::AudioBusRefCounted::Create(channels, samples);
33 PopulateSamples(random_seed, samples, bus->channel(ch));
19 CreateRandomAudio(int random_seed, int channels, int samples) argument
/external/chromium_org/media/audio/
H A Dsimple_sources_unittest.cc19 static const uint32 samples = 1024; local
25 AudioParameters::kTelephoneSampleRate, bytes_per_sample * 8, samples);
/external/chromium_org/net/socket_stream/
H A Dsocket_stream_metrics_unittest.cc46 scoped_ptr<HistogramSamples> samples(histogram->SnapshotSamples());
48 samples->Subtract(*original); // Cancel the original values.
50 EXPECT_EQ(1, samples->GetCount(SocketStreamMetrics::PROTOCOL_UNKNOWN));
51 EXPECT_EQ(2, samples->GetCount(SocketStreamMetrics::PROTOCOL_WEBSOCKET));
53 samples->GetCount(SocketStreamMetrics::PROTOCOL_WEBSOCKET_SECURE));
81 scoped_ptr<HistogramSamples> samples(histogram->SnapshotSamples());
83 samples->Subtract(*original); // Cancel the original values.
85 EXPECT_EQ(1, samples->GetCount(SocketStreamMetrics::ALL_CONNECTIONS));
86 EXPECT_EQ(2, samples->GetCount(SocketStreamMetrics::TUNNEL_CONNECTION));
87 EXPECT_EQ(3, samples
165 scoped_ptr<HistogramSamples> samples; local
[all...]
/external/chromium_org/third_party/skia/dm/
H A DDMGpuSupport.h24 int samples) {
25 return SkSurface::NewRenderTarget(grFactory->get(type, gpuAPI), info, samples, NULL);
20 NewGpuSurface(GrContextFactory* grFactory, GrContextFactory::GLContextType type, GrGLStandard gpuAPI, SkImageInfo info, int samples) argument
/external/chromium_org/third_party/skia/tools/
H A DStats.h14 Stats(const double samples[], int n) { argument
15 min = samples[0];
16 max = samples[0];
18 if (samples[i] < min) { min = samples[i]; }
19 if (samples[i] > max) { max = samples[i]; }
24 sum += samples[i];
30 err += (samples[i] - mean) * (samples[
[all...]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/
H A DByteBufferHelper.java27 public static List<ByteBuffer> mergeAdjacentBuffers(List<ByteBuffer> samples) { argument
28 ArrayList<ByteBuffer> nuSamples = new ArrayList<ByteBuffer>(samples.size());
29 for (ByteBuffer buffer : samples) {
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/samples/echo/
H A DDebugWebSocketServer.java1 package fi.iki.elonen.samples.echo;
H A DEchoSocketSample.java1 package fi.iki.elonen.samples.echo;
/external/oprofile/libpp/
H A Dsample_container.h24 * 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
/external/skia/dm/
H A DDMGpuSupport.h23 int samples) {
24 return SkSurface::NewRenderTarget(grFactory->get(type), info, samples);
20 NewGpuSurface(GrContextFactory* grFactory, GrContextFactory::GLContextType type, SkImageInfo info, int samples) argument
/external/skia/tools/
H A DStats.h5 Stats(const double samples[], int n) { argument
6 min = samples[0];
7 max = samples[0];
9 if (samples[i] < min) { min = samples[i]; }
10 if (samples[i] > max) { max = samples[i]; }
15 sum += samples[i];
21 err += (samples[i] - mean) * (samples[
[all...]
/external/chromium_org/chrome/browser/chromeos/net/
H A Dnetwork_portal_detector_test_utils.cc45 scoped_ptr<base::HistogramSamples> samples = histogram->SnapshotSamples(); local
46 if (!samples.get()) {
49 << "for which samples do not exist.";
58 const int actual = samples->GetCount(i) - base;
/external/chromium_org/remoting/host/
H A Daudio_silence_detector.cc37 bool AudioSilenceDetector::IsSilence(const int16* samples, argument
44 if (abs(samples[i]) > threshold_) {
H A Daudio_silence_detector_unittest.cc17 const int16* samples, int samples_count,
23 bool result = target->IsSilence(samples, samples_count);
16 TestSilenceDetector(AudioSilenceDetector* target, const int16* samples, int samples_count, bool silence_expected) argument
/external/chromium_org/third_party/webrtc/common_audio/resampler/
H A Dsinusoidal_linear_chirp_source.cc21 int samples, double max_frequency, double delay_samples)
23 total_samples_(samples),
20 SinusoidalLinearChirpSource(int sample_rate, int samples, double max_frequency, double delay_samples) argument
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/tools/
H A Dinput_audio_file.cc22 bool InputAudioFile::Read(size_t samples, int16_t* destination) { argument
26 size_t samples_read = fread(destination, sizeof(int16_t), samples, fp_);
27 if (samples_read < samples) {
28 // Rewind and read the missing samples.
30 size_t missing_samples = samples - samples_read;
40 void InputAudioFile::DuplicateInterleaved(const int16_t* source, size_t samples, argument
46 for (int i = static_cast<int>(samples - 1); i >= 0; --i) {
/external/guava/guava-testlib/src/com/google/common/collect/testing/
H A DTestCollidingSetGenerator.java33 public SampleElements<Object> samples() { method in class:TestCollidingSetGenerator

Completed in 677 milliseconds

1234567891011>>