Searched refs:samples_ (Results 1 - 25 of 28) sorted by relevance

12

/external/chromium_org/third_party/webrtc/base/
H A Drollingaccumulator.h28 : samples_(max_count) {
35 return samples_.size();
56 T sample_to_remove = samples_[next_index_];
70 samples_[next_index_] = sample;
100 max_ = samples_[next_index_];
102 max_ = _max(max_, samples_[(next_index_ + i) % max_count()]);
113 min_ = samples_[next_index_];
115 min_ = _min(min_, samples_[(next_index_ + i) % max_count()]);
138 weighted_mean += current_weight * samples_[index];
165 std::vector<T> samples_; member in class:rtc::RollingAccumulator
[all...]
/external/chromium-trace/trace-viewer/src/tracing/trace_model/
H A Dthread.js69 this.samples_ = [];
118 if (this.samples_.length) {
119 var lastSample = this.samples_[this.samples_.length - 1];
128 this.samples_.push(sample);
139 return this.samples_;
161 if (this.samples_.length) {
162 for (var i = 0; i < this.samples_.length; i++) {
163 var sample = this.samples_[i];
187 if (this.samples_
[all...]
H A Dcounter_series.js55 this.samples_ = [];
90 return this.samples_;
98 return this.samples_[idx];
107 this.samples_.push(new CounterSample(ts, val));
135 this.samples_[i].timestamp = this.timestamps_[i];
/external/chromium_org/third_party/webrtc/modules/video_coding/utility/
H A Dquality_scaler.cc101 samples_.push_back(sample);
107 if (num_samples > samples_.size())
111 while (num_samples < samples_.size()) {
112 sum_ -= samples_.front();
113 samples_.pop_front();
122 samples_.clear();
H A Dquality_scaler.h46 std::list<int> samples_; member in class:webrtc::QualityScaler::MovingAverage
/external/chromium_org/gpu/command_buffer/service/
H A Drenderbuffer_manager.h47 return samples_;
86 samples_ = samples;
113 GLsizei samples_; member in class:gpu::gles2::Renderbuffer
H A Drenderbuffer_manager.cc44 width_, height_, samples_, internal_format_, &size);
53 internal_format_, samples_, width_, height_);
64 samples_(0),
H A Dframebuffer_manager.cc142 samples_(samples) {
178 return samples_;
264 GLsizei samples_; member in class:gpu::gles2::TextureAttachment
/external/chromium_org/base/metrics/
H A Dsparse_histogram.cc52 samples_.Accumulate(value, 1);
59 snapshot->Add(samples_);
65 samples_.Add(samples);
70 return samples_.AddFromPickle(iter);
H A Dsparse_histogram.h81 // Protects access to |samples_|.
84 SampleMap samples_; member in class:base::SparseHistogram
H A Dhistogram.cc266 samples_->Accumulate(value, 1);
274 samples_->Add(samples);
278 return samples_->AddFromPickle(iter);
312 samples_.reset(new SampleVector(ranges));
370 samples->Add(*samples_);
H A Dhistogram.h475 scoped_ptr<SampleVector> samples_; member in class:base::Histogram
/external/chromium_org/components/copresence/mediums/audio/
H A Daudio_player.cc104 samples_ = samples;
147 const int leftover_frames = samples_->frames() - frame_index_;
150 samples_->CopyPartialFramesTo(frame_index_, frames_to_copy, 0, dest);
155 samples_->CopyPartialFramesTo(
H A Daudio_player.h87 scoped_refptr<media::AudioBusRefCounted> samples_; member in class:copresence::AudioPlayer
/external/chromium_org/components/translate/core/common/
H A Dtranslate_metrics_unittest.cc107 ASSERT_TRUE(samples_.get());
108 for (scoped_ptr<SampleCountIterator> i = samples_->Iterator(); !i->Done();
130 samples_ = histogram->SnapshotSamples();
134 if (!samples_.get())
136 HistogramBase::Count count = samples_->GetCount(value);
143 if (!samples_.get())
145 HistogramBase::Count count = samples_->TotalCount();
153 scoped_ptr<HistogramSamples> samples_; member in class:translate::__anon6885::MetricsRecorder
/external/chromium_org/gpu/gles2_conform_support/egl/
H A Dconfig.cc35 samples_(0),
126 *value = samples_;
H A Dconfig.h73 EGLint samples_; member in class:egl::Config
/external/chromium_org/ppapi/examples/audio_input/
H A Daudio_input.cc48 samples_(NULL),
60 delete[] samples_;
69 samples_ = new int16_t[sample_count_ * channel_count_];
70 memset(samples_, 0, sample_count_ * channel_count_ * sizeof(int16_t));
209 int y = samples_[i] * max_amplitude /
282 memcpy(thiz->samples_, samples, num_bytes);
283 memset(reinterpret_cast<char*>(thiz->samples_) + num_bytes, 0,
311 int16_t* samples_; local
332 // Protects |samples_| and |latency_|.
/external/chromium_org/components/translate/core/browser/
H A Dtranslate_browser_metrics_unittest.cc86 if (!samples_.get())
88 HistogramBase::Count count = samples_->TotalCount();
104 samples_ = histogram->SnapshotSamples();
108 if (!samples_.get())
110 HistogramBase::Count count = samples_->GetCount(value);
118 scoped_ptr<HistogramSamples> samples_; member in class:__anon6875::MetricsRecorder
/external/chromium_org/native_client_sdk/src/examples/api/media_stream_audio/
H A Dmedia_stream_audio.cc153 int y = samples_[i + ch] * max_amplitude /
176 samples_.resize(sample_count_ * channel_count_);
187 memcpy(samples_.data(), data,
202 std::vector<int16_t> samples_; member in class:__anon8879::MediaStreamAudioInstance
/external/chromium_org/ppapi/examples/media_stream_audio/
H A Dmedia_stream_audio.cc150 int y = samples_[i + ch] * max_amplitude /
173 samples_.resize(sample_count_ * channel_count_);
182 memcpy(samples_.data(), data,
197 std::vector<int16_t> samples_; member in class:__anon10062::MediaStreamAudioInstance
/external/chromium_org/v8/src/
H A Dprofile-generator.h184 int samples_count() const { return samples_.length(); }
185 ProfileNode* sample(int index) const { return samples_.at(index); }
202 List<ProfileNode*> samples_; member in class:v8::internal::CpuProfile
/external/chromium-trace/trace-viewer/src/tracing/importer/
H A Dtrace_event_importer_test.js943 assertEquals(3, t.samples_.length);
944 assertEquals(0.0, t.samples_[0].start);
945 assertEquals(0.0, t.samples_[1].start);
946 assertApproxEquals(0.01, t.samples_[2].start);
947 assertEquals('a', t.samples_[0].title);
948 assertEquals('b', t.samples_[1].title);
949 assertEquals('c', t.samples_[2].title);
965 assertEquals(3, t.samples_.length);
/external/deqp/modules/gles31/functional/
H A Des31fFboNoAttachmentTests.cpp319 FboSpec(int width_, int height_, int samples_) : width(width_), height(height_), samples(samples_){} argument
/external/chromium-trace/
H A Dscript.js28 base.exportTo("tracing.trace_model",function(){function d(a,c){this.guid_=base.GUID.allocate();this.timestamp_=a;this.value_=c}function b(a,c){this.guid_=base.GUID.allocate();this.name_=a;this.color_=c;this.timestamps_=[];this.samples_=[]}d.prototype={__proto__:Object.prototype,get value(){return this.value_},set timestamp(a){this.timestamp_=a},toJSON:function(){for(var a={},c=Object.keys(this),e=0;e<c.length;e++){var f=c[e];"function"!=typeof this[f]&&(a[f]="parent"==f?this[f].guid:this[f])}return a}};
29 b.prototype={__proto__:Object.prototype,toJSON:function(){for(var a={},c=Object.keys(this),e=0;e<c.length;e++){var f=c[e];"function"!=typeof this[f]&&(a[f]="parent"==f?this[f].guid:this[f])}return a},get length(){return this.timestamps_.length},get name(){return this.name_},get color(){return this.color_},get samples(){return this.samples_},get timestamps(){return this.timestamps_},getSample:function(a){return this.samples_[a]},getTimestamp:function(a){return this.timestamps_[a]},addSample:function(a,
30 c){this.timestamps_.push(a);this.samples_.push(new d(a,c))},getStatistics:function(a){for(var c=0,e=Number.MAX_VALUE,f=-Number.MAX_VALUE,b=0;b<a.length;++b)var h=this.getSample(a[b]).value,c=c+h,e=Math.min(h,e),f=Math.max(h,f);return{min:e,max:f,avg:c/a.length,start:this.getSample(a[0]).value,end:this.getSample(a.length-1).value}},shiftTimestampsForward:function(a){for(var c=0;c<this.timestamps_.length;++c)this.timestamps_[c]+=a,this.samples_[c].timestamp=this.timestamps_[c]}};return{CounterSeries:b}});
188 base.exportTo("tracing.trace_model",function(){function d(c,b,e,d,l,m){a.call(this,c,b,e,d,l,m);this.subSlices=[]}function b(a,b){this.guid_=base.GUID.allocate();if(!a)throw Error("Parent must be provided.");this.parent=a;this.sortIndex=0;this.tid=b;this.sliceGroup=new c(d);this.cpuSlices=void 0;this.samples_=[];this.kernelSliceGroup=new c;this.asyncSliceGroup=new e;this.bounds=new base.Range;this.ephemeralSettings={}}var a=tracing.trace_model.Slice,c=tracing.trace_model.SliceGroup,e=tracing.trace_model.AsyncSliceGroup;
189 d.prototype={__proto__:a.prototype};b.prototype={get guid(){return this.guid_},compareTo:function(a){return b.compare(this,a)},toJSON:function(){for(var a={},c=Object.keys(this),b=0;b<c.length;b++){var e=c[b];"function"!=typeof this[e]&&(a[e]="parent"==e?this[e].guid:this[e])}return a},addSample:function(a,c,b,e){if(this.samples_.length&&b<this.samples_[this.samples_.length-1].start)throw Error("Samples must be added in increasing timestamp order.");var d=tracing.getStringColorId(c);a=new tracing.trace_model.Sample(a,
190 c,d,b,e?e:{});this.samples_
[all...]

Completed in 684 milliseconds

12