Searched refs:samples (Results 176 - 200 of 685) sorted by relevance

1234567891011>>

/external/ceres-solver/internal/ceres/
H A Dpolynomial.cc332 Vector FindInterpolatingPolynomial(const vector<FunctionSample>& samples) { argument
333 const int num_samples = samples.size();
336 if (samples[i].value_is_valid) {
339 if (samples[i].gradient_is_valid) {
351 const FunctionSample& sample = samples[i];
372 void MinimizeInterpolatingPolynomial(const vector<FunctionSample>& samples, argument
377 const Vector polynomial = FindInterpolatingPolynomial(samples);
379 for (int i = 0; i < samples.size(); ++i) {
380 const FunctionSample& sample = samples[i];
/external/chromium_org/third_party/libvpx/source/libvpx/
H A Drate_hist.c31 int samples; member in struct:rate_hist
42 // Determine the number of samples in the buffer. Use the file's framerate
45 hist->samples = cfg->rc_buf_sz * 5 / 4 * fps->num / fps->den / 1000;
48 if (hist->samples == 0)
49 hist->samples = 1;
54 hist->pts = calloc(hist->samples, sizeof(*hist->pts));
55 hist->sz = calloc(hist->samples, sizeof(*hist->sz));
84 int idx = hist->frames++ % hist->samples;
94 for (i = hist->frames; i > 0 && hist->frames - i < hist->samples; i--) {
95 const int i_idx = (i - 1) % hist->samples;
[all...]
/external/guava/guava-testlib/src/com/google/common/collect/testing/
H A DNavigableMapTestSuiteBuilder.java122 // derive values for inclusive filtering from the input samples
123 SampleElements<Entry<K, V>> samples = delegate.samples();
126 samples.e0, samples.e1, samples.e2, samples.e3, samples.e4);
253 public SampleElements<Entry<K, V>> samples() { method in class:NavigableMapTestSuiteBuilder.ForwardingTestMapGenerator
254 return delegate.samples();
[all...]
H A DMapTestSuiteBuilder.java191 public SampleElements<Map.Entry<K, V>> samples() { method in class:MapTestSuiteBuilder.MapEntrySetGenerator
192 return mapGenerator.samples();
218 private final SampleElements<K> samples; field in class:MapTestSuiteBuilder.MapKeySetGenerator
225 this.mapGenerator.samples();
226 this.samples = new SampleElements<K>(
235 public SampleElements<K> samples() { method in class:MapTestSuiteBuilder.MapKeySetGenerator
236 return samples;
279 private final SampleElements<V> samples; field in class:MapTestSuiteBuilder.MapValueCollectionGenerator
286 this.mapGenerator.samples();
287 this.samples
296 public SampleElements<V> samples() { method in class:MapTestSuiteBuilder.MapValueCollectionGenerator
[all...]
H A DTestEnumSetGenerator.java34 public SampleElements<AnEnum> samples() { method in class:TestEnumSetGenerator
H A DTestStringCollectionGenerator.java34 public SampleElements<String> samples() { method in class:TestStringCollectionGenerator
H A DTestStringListGenerator.java33 public SampleElements<String> samples() { method in class:TestStringListGenerator
H A DTestStringQueueGenerator.java35 public SampleElements<String> samples() { method in class:TestStringQueueGenerator
H A DTestStringSetGenerator.java34 public SampleElements<String> samples() { method in class:TestStringSetGenerator
H A DTestUnhashableCollectionGenerator.java35 public SampleElements<UnhashableObject> samples() { method in class:TestUnhashableCollectionGenerator
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
H A DSortedMultisetTestSuiteBuilder.java139 SampleElements<E> samples = delegate.samples();
142 Arrays.asList(samples.e0, samples.e1, samples.e2, samples.e3,
143 samples.e4);
259 public SampleElements<E> samples() { method in class:SortedMultisetTestSuiteBuilder.ForwardingTestMultisetGenerator
260 return delegate.samples();
H A DTestStringMultisetGenerator.java36 public SampleElements<String> samples() { method in class:TestStringMultisetGenerator
/external/libvpx/libvpx/
H A Drate_hist.c31 int samples; member in struct:rate_hist
42 // Determine the number of samples in the buffer. Use the file's framerate
45 hist->samples = cfg->rc_buf_sz * 5 / 4 * fps->num / fps->den / 1000;
48 if (hist->samples == 0)
49 hist->samples = 1;
54 hist->pts = calloc(hist->samples, sizeof(*hist->pts));
55 hist->sz = calloc(hist->samples, sizeof(*hist->sz));
84 int idx = hist->frames++ % hist->samples;
94 for (i = hist->frames; i > 0 && hist->frames - i < hist->samples; i--) {
95 const int i_idx = (i - 1) % hist->samples;
[all...]
/external/chromium_org/chrome/browser/resources/whispernet_proxy/js/
H A Dwrapper.js58 * @param {boolean} audible Whether we should use encode audible samples.
59 * @param {boolean} raw Whether we should return the encoded samples in raw
81 * the audio samples.
96 { token: bytesToBase64(msg.token), audible: msg.audible }, msg.samples);
146 * Method to request the decoder to process samples.
147 * @param {ArrayBuffer} samples Array of samples to process.
149 WhisperDecoder.prototype.processSamples = function(samples) {
151 // message, just send the samples directly.
152 this.whisperNacl_.send(samples);
[all...]
/external/chromium_org/tools/telemetry/telemetry/core/platform/power_monitor/
H A Dmonsoon_power_monitor.py18 device: A profiler.monsoon object to collect samples from.
20 output: opened file to write the samples.
23 samples = []
35 samples += new_data
41 'samples': samples
105 """Parse the output of of the samples collector process.
114 if result['samples']:
115 timedelta_h = result['duration_s'] / len(result['samples']) / 3600
116 for (current_a, voltage_v) in result['samples']
[all...]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
H A DAmf0Track.java53 LinkedList<ByteBuffer> samples = new LinkedList<ByteBuffer>();
55 samples.add(ByteBuffer.wrap(bytes));
57 return samples;
/external/qemu/audio/
H A Daudio.c803 int samples, struct mixeng_volume *vol)
807 (void) samples;
956 if (audio_bug (AUDIO_FUNC, live < 0 || live > hw->samples)) {
957 dolog ("live=%d hw->samples=%d\n", live, hw->samples);
966 int left = hw->samples - pending;
973 int samples_till_end_of_buf = hw->samples - hw->rpos;
978 hw->rpos = (hw->rpos + samples_to_clip) % hw->samples;
994 if (audio_bug (AUDIO_FUNC, live < 0 || live > hw->samples)) {
995 dolog ("live=%d hw->samples
802 noop_conv(struct st_sample *dst, const void *src, int samples, struct mixeng_volume *vol) argument
1011 int samples, live, ret = 0, swlim, isamp, osamp, rpos, total = 0; local
1108 int hwsamples, samples, isamp, osamp, wpos, live, dead, left, swlim, blck; local
1441 audio_capture_mix_and_clear(HWVoiceOut *hw, int rpos, int samples) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/audio/
H A DSDL_audio.c220 SDL_Delay((audio->spec.samples*1000)/audio->spec.freq);
457 if ( desired->samples == 0 ) {
460 desired->samples = (Uint16)SDL_atoi(env);
463 if ( desired->samples == 0 ) {
465 int samples = (desired->freq / 1000) * 46; local
467 while ( power2 < samples ) {
470 desired->samples = power2;
506 if ( audio->spec.samples != desired->samples ) {
507 desired->samples
[all...]
/external/libvorbis/lib/
H A Dvorbisfile.c454 /* less than zero? This is a stream with samples trimmed off
724 int i,samples; local
746 samples=vorbis_synthesis_pcmout(&vf->vd,NULL);
748 granulepos-=samples;
1174 /* returns: total PCM length (samples) of content if i==-1 PCM length
1175 (samples) of that logical bitstream for i==0 to n
1648 /* discard samples until we reach the desired position. Crossing a
1652 long samples=vorbis_synthesis_pcmout(&vf->vd,NULL); local
1654 if(samples>target)samples
1846 ov_read_filter(OggVorbis_File *vf,char *buffer,int length, int bigendianp,int word,int sgned,int *bitstream, void (*filter)(float **pcm,long channels,long samples,void *filter_param),void *filter_param) argument
1853 long samples; local
2009 long samples=vorbis_synthesis_pcmout(&vf->vd,&pcm); local
2109 int samples=vorbis_synthesis_pcmout(vd,&pcm); local
2126 int samples=vorbis_synthesis_lapout(&vf->vd,&pcm); local
[all...]
/external/aac/libPCMutils/include/
H A Dlimiter.h166 * gain_delay: delay [samples] with which the gains in pGain shall be applied *
168 * samples: input/output buffer containing interleaved samples *
170 * nSamples: number of samples per channel *
174 INT_PCM* samples,
184 * returns: exact delay caused by the limiter in samples *
/external/chromium_org/components/copresence/mediums/audio/
H A Daudio_player.cc46 const scoped_refptr<media::AudioBusRefCounted>& samples) {
50 &AudioPlayer::PlayOnAudioThread, base::Unretained(this), samples));
96 const scoped_refptr<media::AudioBusRefCounted>& samples) {
104 samples_ = samples;
146 // Continuously play our samples till explicitly told to stop.
45 Play( const scoped_refptr<media::AudioBusRefCounted>& samples) argument
95 PlayOnAudioThread( const scoped_refptr<media::AudioBusRefCounted>& samples) argument
/external/chromium_org/content/browser/speech/endpointer/
H A Denergy_endpointer.h84 const int16* samples, int num_samples,
/external/chromium_org/gpu/command_buffer/service/
H A Drenderbuffer_manager.cc52 "|Renderbuffer|internal_format=%04x|samples=%d|width=%d|height=%d",
102 GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) {
108 renderbuffer->SetInfo(samples, internalformat, width, height);
156 int samples,
165 if (!SafeMultiplyUint32(temp, samples, &temp)) {
100 SetInfo( Renderbuffer* renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) argument
154 ComputeEstimatedRenderbufferSize(int width, int height, int samples, int internal_format, uint32* size) const argument
/external/chromium_org/third_party/skia/src/gpu/gl/unix/
H A DSkNativeGLContext_unix.cpp106 // Pick the FB config/visual with the most samples per pixel
114 int samp_buf, samples; local
116 glXGetFBConfigAttrib(fDisplay, fbc[i], GLX_SAMPLES, &samples);
120 // i, (unsigned int)vi->visualid, samp_buf, samples);
122 if (best_fbc < 0 || (samp_buf && samples > best_num_samp))
123 best_fbc = i, best_num_samp = samples;
/external/chromium_org/third_party/webrtc/common_audio/
H A Dwav_writer_unittest.cc117 float samples[kNumSamples]; local
124 samples[i] = std::pow(std::sin(t * 2 * 2 * M_PI), 10) * x;
125 samples[i + 1] = std::pow(std::cos(t * 2 * 2 * M_PI), 10) * x;
132 w.WriteSamples(samples, kNumSamples);

Completed in 5303 milliseconds

1234567891011>>