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

1 2 3 4 5 6 7 8 91011>>

  /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/guava/guava-gwt/test-super/com/google/common/collect/testing/google/super/com/google/common/collect/testing/google/
MultisetIteratorTester.java 40 Arrays.asList(samples.e0, samples.e1, samples.e1, samples.e2)),
44 return getSubjectGenerator().create(samples.e0, samples.e1, samples.e1, samples.e2)
53 new IteratorTester<E>(4, IteratorFeature.MODIFIABLE, Arrays.asList(samples.e0, samples.e1
    [all...]
  /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/jmonkeyengine/engine/src/test/jme3test/network/
MovingAverage.java 38 private long[] samples; field in class:MovingAverage
43 samples = new long[numSamples];
47 sum = sum - samples[index] + sample;
48 samples[index++] = sample;
52 if (index >= samples.length){
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
MultisetIteratorTester.java 44 Arrays.asList(samples.e0, samples.e1, samples.e1, samples.e2)),
48 return getSubjectGenerator().create(samples.e0, samples.e1, samples.e1, samples.e2)
57 new IteratorTester<E>(4, IteratorFeature.MODIFIABLE, Arrays.asList(samples.e0, samples.e1
    [all...]
MultisetAddTester.java 37 getMultiset().add(samples.e0);
44 int originalCount = getMultiset().count(samples.e0);
45 assertTrue(getMultiset().add(samples.e0));
46 assertEquals(originalCount + 1, getMultiset().count(samples.e0));
51 int originalCount = getMultiset().count(samples.e0);
52 assertEquals("old count", originalCount, getMultiset().add(samples.e0, 0));
58 int originalCount = getMultiset().count(samples.e0);
59 assertEquals("old count", originalCount, getMultiset().add(samples.e0, 2));
60 assertEquals("old count", originalCount + 2, getMultiset().count(samples.e0));
65 int originalCount = getMultiset().count(samples.e0)
    [all...]
MultisetContainsTester.java 34 .containsAll(getSubjectGenerator().create(samples.e0, samples.e0, samples.e0)));
39 assertTrue(getMultiset().containsAll(Arrays.asList(samples.e0, samples.e0, samples.e0)));
BiMapPutTester.java 37 K k0 = samples.e0.getKey();
38 K k1 = samples.e1.getKey();
39 V v0 = samples.e0.getValue();
48 expectAdded(samples.e0);
55 K k0 = samples.e0.getKey();
56 V v0 = samples.e0.getValue();
57 V v1 = samples.e1.getValue();
69 getMap().put(samples.e0.getKey(), samples.e0.getValue());
70 getMap().put(samples.e1.getKey(), samples.e1.getValue())
    [all...]
AbstractMultisetTester.java 36 getSubjectGenerator().create(samples.e0, samples.e0, samples.e0);
BiMapRemoveTester.java 41 getMap().remove(samples.e0.getKey());
42 expectMissing(samples.e0);
49 getMap().keySet().remove(samples.e0.getKey());
50 expectMissing(samples.e0);
57 getMap().values().remove(samples.e0.getValue());
58 expectMissing(samples.e0);
65 getMap().inverse().remove(samples.e0.getValue());
66 expectMissing(samples.e0);
73 getMap().inverse().keySet().remove(samples.e0.getValue());
74 expectMissing(samples.e0)
    [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/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...]
ListRetainAllTester.java 45 array[1] = samples.e0;
57 array[1] = samples.e0;
60 collection.retainAll(MinimalCollection.of(samples.e2)));
61 expectContents(samples.e2);
68 resetContainer(getSubjectGenerator().create(samples.e0, samples.e2, samples.e1, samples.e0));
69 assertTrue(getList().retainAll(Arrays.asList(samples.e0, samples.e1)))
    [all...]
  /prebuilts/tools/common/easymock-tools/
easymock-3.1-samples.jar 
  /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) {
AudioCodec.h 31 virtual int encode(void *payload, int16_t *samples) = 0;
32 // Returns the number of decoded samples.
33 virtual int decode(int16_t *samples, int count, void *payload, int length) = 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);
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
ImageConstants.java 17 package androidx.media.filterfw.samples.simplecamera;
  /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/sonic/
sonic.h 22 the input stream is pointed to by "samples", and the current output stream
23 position is pointed to by "out", then newSamples number of samples can be
26 out[t] = (samples[t]*(newSamples - t) + samples[t + period]*t)/newSamples;
79 int sonicWriteFloatToStream(sonicStream stream, float *samples, int numSamples);
82 int sonicWriteShortToStream(sonicStream stream, short *samples, int numSamples);
85 int sonicWriteUnsignedCharToStream(sonicStream stream, unsigned char *samples, int numSamples);
88 int sonicReadFloatFromStream(sonicStream stream, float *samples, int maxSamples);
91 int sonicReadShortFromStream(sonicStream stream, short *samples, int maxSamples);
94 int sonicReadUnsignedCharFromStream(sonicStream stream, unsigned char *samples, int maxSamples)
    [all...]
  /external/guava/guava-testlib/src/com/google/common/collect/testing/
OneSizeGenerator.java 50 public SampleElements<E> samples() { method in class:OneSizeGenerator
51 return generator.samples();
73 SampleElements<E> samples = samples(); local
76 samples.e0, samples.e1, samples.e2, samples.e3, samples.e4);

Completed in 692 milliseconds

1 2 3 4 5 6 7 8 91011>>