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

1 2

  /frameworks/ex/variablespeed/jni/
ring_buffer.cc 33 : initialized_(false), samples_(NULL),
38 delete[] samples_;
43 delete[] samples_;
44 samples_ = new float[size_ * num_channels_];
45 memset(samples_, 0,
46 size_ * num_channels_ * sizeof(samples_[0]));
52 temp_read_buffer_size_ * num_channels_ * sizeof(samples_[0]));
87 memcpy(samples_ + head_ * num_channels_, samples,
92 memcpy(samples_ + head_ * num_channels_, samples,
95 memcpy(samples_, samples + overhead * num_channels_
    [all...]
ring_buffer.h 101 float* samples_; member in class:video_editing::RingBuffer
  /external/chromium_org/third_party/webrtc/base/
rollingaccumulator.h 28 : 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_org/third_party/webrtc/modules/video_coding/utility/
quality_scaler.cc 101 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();
quality_scaler.h 46 std::list<int> samples_; member in class:webrtc::QualityScaler::MovingAverage
  /external/chromium_org/gpu/command_buffer/service/
renderbuffer_manager.h 47 return samples_;
86 samples_ = samples;
113 GLsizei samples_; member in class:gpu::gles2::Renderbuffer
renderbuffer_manager.cc 44 width_, height_, samples_, internal_format_, &size);
53 internal_format_, samples_, width_, height_);
64 samples_(0),
framebuffer_manager.cc 142 samples_(samples) {
178 return samples_;
264 GLsizei samples_; member in class:gpu::gles2::TextureAttachment
  /external/chromium_org/base/metrics/
sparse_histogram.cc 52 samples_.Accumulate(value, 1);
59 snapshot->Add(samples_);
65 samples_.Add(samples);
70 return samples_.AddFromPickle(iter);
sparse_histogram.h 81 // Protects access to |samples_|.
84 SampleMap samples_; member in class:base::SparseHistogram
histogram.cc 266 samples_->Accumulate(value, 1);
274 samples_->Add(samples);
278 return samples_->AddFromPickle(iter);
312 samples_.reset(new SampleVector(ranges));
370 samples->Add(*samples_);
histogram.h 475 scoped_ptr<SampleVector> samples_; member in class:base::Histogram
  /external/chromium_org/components/copresence/mediums/audio/
audio_player.cc 104 samples_ = samples;
147 const int leftover_frames = samples_->frames() - frame_index_;
150 samples_->CopyPartialFramesTo(frame_index_, frames_to_copy, 0, dest);
155 samples_->CopyPartialFramesTo(
audio_player.h 87 scoped_refptr<media::AudioBusRefCounted> samples_; member in class:copresence::AudioPlayer
  /external/chromium_org/gpu/gles2_conform_support/egl/
config.h 73 EGLint samples_; member in class:egl::Config
config.cc 35 samples_(0),
126 *value = samples_;
  /external/chromium_org/components/translate/core/common/
translate_metrics_unittest.cc 107 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::__anon11510::MetricsRecorder
  /external/chromium_org/ppapi/examples/audio_input/
audio_input.cc 48 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/
translate_browser_metrics_unittest.cc 86 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:__anon11500::MetricsRecorder
  /external/chromium_org/native_client_sdk/src/examples/api/media_stream_audio/
media_stream_audio.cc 153 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:__anon13504::MediaStreamAudioInstance
  /external/chromium_org/ppapi/examples/media_stream_audio/
media_stream_audio.cc 150 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:__anon14687::MediaStreamAudioInstance
  /external/chromium_org/v8/src/
profile-generator.h 184 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
profile-generator.cc 334 samples_.Add(top_frame_node);
  /external/deqp/modules/gles31/functional/
es31fFboNoAttachmentTests.cpp 319 FboSpec(int width_, int height_, int samples_) : width(width_), height(height_), samples(samples_){}
  /external/chromium-trace/
script.js 28 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}});
    [all...]

Completed in 553 milliseconds

1 2