HomeSort by relevance Sort by last modified time
    Searched refs:samples (Results 1 - 25 of 1100) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/media/cast/test/utility/
audio_utility_unittest.cc 15 std::vector<float> samples(480);
17 EncodeTimestamp(in_timestamp, 0, samples.size(), &samples.front());
20 DecodeTimestamp(&samples.front(), samples.size(), &out_timestamp));
26 std::vector<float> samples(480);
29 DecodeTimestamp(&samples.front(), samples.size(), &out_timestamp));
33 std::vector<float> samples(4800);
34 EncodeTimestamp(4711, 0, samples.size(), &samples.front())
    [all...]
generate_timecode_audio.cc 23 std::vector<float> samples(kSamplingFrequency / fps);
27 frame_id, num_samples, samples.size(), &samples.front()));
28 num_samples += samples.size();
29 for (size_t i = 0; i < samples.size(); ++i) {
30 const int16 sample_s16 = static_cast<int16>(samples[i] * kint16max);
  /external/eigen/doc/snippets/
LLT_solve.cpp 2 // 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/skia/tools/
Stats.h 5 Stats(const double samples[], int n) {
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[i] - mean)
    [all...]
  /external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/
filtered_cb_vecs.c 33 int16_t samples /* (i) Number of samples to filter */
39 WebRtcSpl_MemSetW16(cbvectors, 0, lMem-samples);
44 CBmem+CB_HALFFILTERLEN+lMem-samples, cbvectors+lMem-samples,
45 (int16_t*)WebRtcIlbcfix_kCbFiltersRev, CB_FILTERLEN, samples);
filtered_cb_vecs.h 35 int16_t samples /* (i) Number of samples to filter */
  /external/chromium_org/third_party/libvpx/source/libvpx/vpx/internal/
vpx_psnr.h 24 * \param[in] samples Number of samples
28 double vpx_sse_to_psnr(double samples, double peak, double sse);
  /external/libvpx/libvpx/vpx/internal/
vpx_psnr.h 24 * \param[in] samples Number of samples
28 double vpx_sse_to_psnr(double samples, double peak, double sse);
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/internal/
vpx_psnr.h 24 * \param[in] samples Number of samples
28 double vpx_sse_to_psnr(double samples, double peak, double sse);
  /external/chromium_org/tools/telemetry/telemetry/util/
statistics_unittest.py 12 def Relax(samples, iterations=10):
19 for i in xrange(1, len(samples)):
20 voronoi_boundaries.append((samples[i] + samples[i-1]) * 0.5)
23 relaxed_samples.append(samples[0])
24 for i in xrange(1, len(samples)-1):
27 relaxed_samples.append(samples[-1])
28 samples = relaxed_samples
29 return samples
32 samples = [
    [all...]
  /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));
audio_test_support.h 20 // Populate random samples given a random seed into the samples array.
21 void PopulateSamples(int random_seed, size_t size, float* samples);
23 // Create an audio bus populated with random samples.
26 int samples);
28 // Create an ref counted audio bus populated with random samples.
30 CreateRandomAudioRefCounted(int random_seed, int channels, int samples);
  /external/chromium_org/third_party/libvpx/source/libvpx/vpx/src/
vpx_psnr.c 17 double vpx_sse_to_psnr(double samples, double peak, double sse) {
19 const double psnr = 10.0 * log10(samples * peak * peak / sse);
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
MultisetIteratorTester.java 42 Arrays.asList(samples.e0, samples.e1, samples.e1, samples.e2)),
46 return getSubjectGenerator().create(samples.e0, samples.e1, samples.e1, samples.e2)
55 new IteratorTester<E>(4, IteratorFeature.MODIFIABLE, Arrays.asList(samples.e0, samples.e1
    [all...]
  /external/libvpx/libvpx/vpx/src/
vpx_psnr.c 17 double vpx_sse_to_psnr(double samples, double peak, double sse) {
19 const double psnr = 10.0 * log10(samples * peak * peak / sse);
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/src/
vpx_psnr.c 17 double vpx_sse_to_psnr(double samples, double peak, double sse) {
19 const double psnr = 10.0 * log10(samples * peak * peak / sse);
  /external/chromium_org/third_party/skia/tools/
Stats.h 14 Stats(const double samples[], int n) {
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[i] - mean)
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
ListAddAllTester.java 41 getList().addAll(MinimalCollection.of(samples.e0)));
42 expectAdded(samples.e0);
49 getList().addAll(MinimalCollection.of(samples.e0));
59 = MinimalCollection.of(samples.e0, samples.e1, samples.e0, samples.e1);
62 expectAdded(samples.e0, samples.e1, samples.e0, samples.e1)
    [all...]
SetAddAllTester.java 41 getSet().addAll(MinimalCollection.of(samples.e3, samples.e0)));
42 expectAdded(samples.e3);
48 = MinimalCollection.of(samples.e3, samples.e4, samples.e3, samples.e4);
51 expectAdded(samples.e3, samples.e4);
58 getSet().addAll(MinimalCollection.of(samples.e0)))
    [all...]
  /prebuilts/tools/common/easymock-tools/
easymock-3.1-samples.jar 
  /external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/tools/
input_audio_file.cc 22 bool InputAudioFile::Read(size_t samples, int16_t* destination) {
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,
46 for (int i = static_cast<int>(samples - 1); i >= 0; --i) {
  /frameworks/opt/net/voip/src/jni/rtp/
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)
56 gsm_encode(mEncode, samples, (unsigned char *)payload);
60 int GsmCodec::decode(int16_t *samples, int count, void *payload, int length)
65 gsm_decode(mDecode, bytes, &samples[n]) == 0) {
  /cts/suite/audio_quality/lib/include/audio/
AudioSignalFactory.h 31 int maxPositive, AudioHardware::SamplingRate samplingRate, int signalFreq, int samples,
34 int maxPositive, int samples, bool stereo = true);
36 int samples, bool stereo = true);
  /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...]

Completed in 617 milliseconds

1 2 3 4 5 6 7 8 91011>>