/external/chromium_org/media/base/ |
H A D | audio_fifo.h | 14 // The maximum number of audio frames in the FIFO is set at construction and 20 // Creates a new AudioFifo and allocates |channels| of length |frames|. 21 AudioFifo(int channels, int frames); 28 // Consumes |frames_to_consume| audio frames from the FIFO and copies 31 // frames or if there is insufficient space in |destination| to store the 32 // frames. 38 // Number of actual audio frames in the FIFO. 39 int frames() const; 48 // This value is set by |frames| in the constructor.
|
H A D | multi_channel_resampler.cc | 45 void MultiChannelResampler::Resample(int frames, AudioBus* audio_bus) { argument 50 resamplers_[0]->Resample(frames, audio_bus->channel(0)); 55 // channel. To ensure this, we chunk the number of requested frames into 59 while (output_frames_ready_ < frames) { 61 int frames_this_time = std::min(frames - output_frames_ready_, chunk_size); 72 // number of frames. 82 int frames, 93 DCHECK_EQ(frames, wrapped_resampler_audio_bus_->frames()); 97 sizeof(*wrapped_resampler_audio_bus_->channel(channel)) * frames); 81 ProvideInput(int channel, int frames, float* destination) argument [all...] |
H A D | audio_fifo.cc | 40 AudioFifo::AudioFifo(int channels, int frames) argument 41 : audio_bus_(AudioBus::Create(channels, frames)), 42 max_frames_(frames), 50 int AudioFifo::frames() const { function in class:media::AudioFifo 60 const int source_size = source->frames(); 61 CHECK_LE(source_size + frames(), max_frames_); 83 DCHECK_LE(frames(), max_frames()); 94 CHECK_LE(frames_to_consume, frames()); 98 CHECK_LE(frames_to_consume + start_frame, destination->frames());
|
H A D | audio_converter.cc | 135 CreateUnmixedAudioIfNecessary(dest->frames()); 147 resampler_->Resample(temp_dest->frames(), temp_dest); 154 DCHECK_EQ(temp_dest->frames(), dest->frames()); 167 mixer_input_audio_bus_->frames() != dest->frames()) { 169 AudioBus::Create(input_channel_count_, dest->frames()); 176 CreateUnmixedAudioIfNecessary(dest->frames()); 181 DCHECK_EQ(temp_dest->frames(), mixer_input_audio_bus_->frames()); 246 CreateUnmixedAudioIfNecessary(int frames) argument [all...] |
H A D | audio_hash.cc | 23 void AudioHash::Update(const AudioBus* audio_bus, int frames) { argument 27 for (uint32 i = 0; i < static_cast<uint32>(frames); ++i) { 43 sample_count_ += static_cast<uint32>(frames);
|
H A D | audio_block_fifo.cc | 13 AudioBlockFifo::AudioBlockFifo(int channels, int frames, int blocks) argument 15 block_frames_(frames), 26 int frames, 29 DCHECK_GT(frames, 0); 32 CHECK_LE(frames, GetUnfilledFrames()); 35 int frames_to_push = frames; 25 Push(const void* source, int frames, int bytes_per_sample) argument
|
H A D | multi_channel_resampler.h | 24 // frames are available to satisfy the request. |frame_delay| is the number 25 // of output frames already processed and can be used to estimate delay. 31 // frames of the AudioBus to be filled by |read_cb|. 38 // Resamples |frames| of data from |read_cb_| into AudioBus. 39 void Resample(int frames, AudioBus* audio_bus); 50 // The maximum size in frames that guarantees Resample() will only make a 57 void ProvideInput(int channel, int frames, float* destination); 72 // The number of output frames that have successfully been processed during
|
H A D | multi_channel_resampler_unittest.cc | 45 void InitializeAudioData(int channels, int frames) { argument 46 frames_ = frames; 47 audio_bus_ = AudioBus::Create(channels, frames); 59 for (int j = 0; j < audio_bus->frames(); ++j) 63 void MultiChannelTest(int channels, int frames, double expected_max_rms_error, argument 65 InitializeAudioData(channels, frames); 77 EXPECT_LT(last_frame_delay_, audio_bus_->frames()); 81 resampler.Resample(frames, audio_bus_.get());
|
/external/chromium_org/net/websockets/ |
H A D | websocket_deflate_stream.h | 31 // data message frames, the control frame can overtake data frames. 32 // Say there are frames df1, df2 and cf, df1 and df2 are frames of a 34 // data frames may follow cf. 49 virtual int ReadFrames(ScopedVector<WebSocketFrame>* frames, 51 virtual int WriteFrames(ScopedVector<WebSocketFrame>* frames, 72 void OnReadComplete(ScopedVector<WebSocketFrame>* frames, 76 // This function deflates |frames| and stores the result to |frames| itsel [all...] |
/external/chromium_org/third_party/webrtc/common_audio/resampler/ |
H A D | push_sinc_resampler.cc | 80 void PushSincResampler::Run(int frames, float* destination) { argument 83 assert(source_available_ == frames); 88 memset(destination, 0, frames * sizeof(float)); 94 memcpy(destination, source_ptr_, frames * sizeof(float)); 96 for (int i = 0; i < frames; ++i) 99 source_available_ -= frames;
|
/external/e2fsprogs/debian/scripts/ |
H A D | test-backtrace | 15 int frames; 17 frames = backtrace(stack_syms, 32); 18 backtrace_symbols_fd(stack_syms, frames, 0);
|
/external/chromium_org/tools/android/heap_profiler/ |
H A D | heap_profiler_unittest.cc | 26 uintptr_t frames[HEAP_PROFILER_MAX_DEPTH]; member in struct:__anon16420::HeapProfilerTest::StackTrace 34 st.frames[i] = base + i * 0x10UL; 49 EXPECT_EQ(st.frames[j], alloc.st->frames[j]) 90 heap_profiler_alloc((void*)0x1000, 1024, st1.frames, st1.depth, 0); 91 heap_profiler_alloc((void*)0x2000, 2048, st1.frames, st1.depth, 0); 103 heap_profiler_alloc((void*)0x1000, 1024, st1.frames, st1.depth, 0); 104 heap_profiler_alloc((void*)0x2000, 2048, st2.frames, st2.depth, 0); 105 heap_profiler_alloc((void*)0x3000, 32, st1.frames, st1.depth, 0); 117 heap_profiler_alloc((void*)0x1000, 1024, st1.frames, st 407 uintptr_t frames[1]; local [all...] |
/external/chromium_org/media/filters/ |
H A D | audio_clock.h | 29 // 1) How many frames of audio data requested 30 // 2) How many frames of audio data provided 41 // amount of requested frames due to underflow) is also modeled and will cause 68 // | 10 frames silence | 20 frames @ 1.0x | 20 frames @ 0.5x | 74 // |start_timestamp| since no amount of media frames tracked 112 AudioData(int64_t frames, float playback_rate); 114 int64_t frames; member in struct:media::AudioClock::AudioData 119 void PushBufferedAudioData(int64_t frames, floa [all...] |
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
H A D | stacktrace_android-inl.h | 54 uintptr_t* frames; member in struct:stack_crawl_state_t 60 stack_crawl_state_t(uintptr_t* frames, int max_depth, int skip_count) argument 61 : frames(frames), 93 state->frames[state->frame_count++] = ip;
|
/external/chromium_org/tools/memory_inspector/memory_inspector/core/ |
H A D | stacktrace.py | 14 self.frames = [] 18 self.frames += [frame] 22 return len(self.frames) 25 return self.frames[index] 28 return ', '.join([str(x) for x in self.frames])
|
/external/chromium_org/content/browser/ |
H A D | session_history_browsertest.cc | 58 // Simulate clicking a link. Only works on the frames.html testserver page. 64 // Simulate filling in form data. Only works on the frames.html page with 74 // Simulate submitting a form. Only works on the frames.html page with 184 ASSERT_NO_FATAL_FAILURE(NavigateAndCheckTitle("frames.html", "bot1")); 188 GURL frames(GetURL("frames.html")); 189 EXPECT_EQ(frames, GetTabURL()); 193 EXPECT_EQ(frames, GetTabURL()); 199 EXPECT_EQ(frames, GetTabURL()); 203 EXPECT_EQ(frames, GetTabUR [all...] |
/external/chromium_org/net/quic/ |
H A D | quic_ack_notifier_manager.cc | 76 // Run through all the frames and if any of them are stream frames and have 80 RetransmittableFrames* frames = serialized_packet.retransmittable_frames; local 82 // AckNotifiers can only be attached to retransmittable frames. 83 if (!frames) { 87 for (QuicFrames::const_iterator it = frames->frames().begin(); 88 it != frames->frames().end(); ++it) {
|
/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/primitives/ |
H A D | framedrop_primitives_unittest.cc | 44 std::vector<Frame*> frames; local 53 frames.push_back(&first_frame); 54 frames.push_back(&second_frame); 55 frames.push_back(&third_frame); 56 frames.push_back(&fourth_frame); 58 // Prepare data for the first and third frames: 64 // Write the first and third frames to the temporary file. This means the fix 65 // method should add two frames of data by filling the file with data from 66 // the first and third frames after executing. 75 FixOutputFileForComparison(kOutputFilename, kFrameLength, frames); [all...] |
/external/chromium_org/chrome/test/chromedriver/ |
H A D | session.cc | 68 frames.clear(); 72 if (!frames.empty()) 73 frames.pop_back(); 79 if (!frames.empty()) 80 parent_frame_id = frames.back().frame_id; 81 frames.push_back(FrameInfo(parent_frame_id, frame_id, chromedriver_frame_id)); 85 if (frames.empty()) 87 return frames.back().frame_id;
|
/external/lldb/test/functionalities/conditional_break/ |
H A D | conditional_break.py | 15 # We check the call frames in order to stop only when the immediate caller 22 if (thread.frames[0].function.name == 'c' and thread.frames[1].function.name == 'a'):
|
/external/chromium_org/content/renderer/ |
H A D | savable_resources.cc | 47 // Collection of all frames we go through when getting all savable resource 49 std::vector<WebFrame*>* frames; member in struct:content::__anon7841::SavableResourcesUniqueCheck 54 frames(NULL) {} 57 std::set<GURL>* frames_set, std::vector<WebFrame*>* frames) 60 frames(frames) {} 77 unique_check->frames->push_back(sub_frame); 199 std::vector<WebFrame*> frames; local 202 &frames); 213 frames 56 SavableResourcesUniqueCheck(std::set<GURL>* resources_set, std::set<GURL>* frames_set, std::vector<WebFrame*>* frames) argument [all...] |
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
H A D | WebPageSerializerTest.cpp | 113 WebVector<WebURL> frames; local 116 webView(), m_supportedSchemes, &resources, &frames)); 119 EXPECT_EQ(1U, frames.size()); // There should be no duplicates. 120 EXPECT_TRUE(webVectorContains(frames, "http://www.test.com")); 141 // Register the mocked frames. 159 WebVector<WebURL> frames; local 162 webView(), m_supportedSchemes, &resources, &frames)); 165 EXPECT_EQ(4U, frames.size()); // There should be no duplicates. 166 EXPECT_TRUE(webVectorContains(frames, "http://www.test.com")); 167 EXPECT_TRUE(webVectorContains(frames, "htt [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/timeline/ |
H A D | TimelineFrameOverview.js | 40 this.element.id = "timeline-overview-frames"; 69 this._overviewGrid.element.classList.add("timeline-overview-frames-mode"); 74 this._overviewGrid.element.classList.remove("timeline-overview-frames-mode"); 90 var frames = this._frameModel.frames(); 91 var framesPerBar = Math.max(1, frames.length * minBarWidth / this._canvas.width); 92 var visibleFrames = this._aggregateFrames(frames, framesPerBar); 104 * @param {!Array.<!WebInspector.TimelineFrame>} frames 108 _aggregateFrames: function(frames, framesPerBar) 111 for (var barNumber = 0, currentFrame = 0; currentFrame < frames [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.JavaExtensions/ |
H A D | ExceptionExtensions.cs | 49 StackFrame[] frames = trace.GetFrames(); 50 if (frames == null) { 53 Array.Copy(stackTrace, 1, frames, 0, stackTrace.Length); 55 return frames;
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.JavaExtensions/ |
H A D | ExceptionExtensions.cs | 54 StackFrame[] frames = trace.GetFrames(); 55 if ( frames == null ) 58 frames = new StackTrace( true ).GetFrames().Skip( 1 ).ToArray(); 60 return frames;
|