Searched refs:frames (Results 201 - 225 of 483) sorted by relevance

1234567891011>>

/external/chromium_org/media/base/
H A Daudio_converter.h54 // frames are available to satisfy the request. The return value is the
68 // for 10 frames of data (indicated by the size of AudioBus provided) and the
89 // The maximum size in frames that guarantees we will only make a single call
105 void CreateUnmixedAudioIfNecessary(int frames);
H A Dtest_helpers.h88 // Create an AudioBuffer containing |frames| frames of data, where each sample
93 // |start| + |channel| * |frames| * |increment| + index * |increment|
101 // start + frames * increment
102 // start + (frames + 1) * increment
103 // start + (frames + 2) * increment, ...
113 size_t frames,
H A Daudio_splicer.cc22 // in the source content. Unit is frames.
174 // Overlapping buffers marked as splice frames are handled by AudioSplicer,
301 // may not actually have a splice. Here we check if any frames exist before
377 // Determine crossfade frame count based on available frames in each splicer
386 // There must always be frames to crossfade, otherwise the splice should not
412 // Adjust the number of frames remaining before the splice. NOTE: This is
423 output_bus->frames() - frames_read);
445 DCHECK_EQ(output_bus->frames(), frames_read);
467 frames_read < output_bus->frames()) {
471 std::min(postroll->frame_count(), output_bus->frames()
[all...]
H A Daudio_splicer_unittest.cc56 int frames = buffer->frame_count(); local
57 scoped_ptr<AudioBus> bus = AudioBus::Create(kChannels, frames);
58 buffer->ReadFrames(frames, 0, 0, bus.get());
60 for (int i = 0; i < frames; ++i) {
109 const int frames = crossfade_output->frame_count(); local
112 scoped_ptr<AudioBus> bus = AudioBus::Create(kChannels, frames);
113 crossfade_output->ReadFrames(frames, 0, 0, bus.get());
116 const float cf_increment = 1.0f / frames;
117 for (int i = 0; i < frames; ++i, cf_ratio += cf_increment) {
184 // next buffer starts many frames beyon
[all...]
/external/chromium_org/media/filters/
H A Daudio_file_reader.cc140 // Read until we hit EOF or we've read the requested number of frames.
145 while (current_frame < audio_bus->frames() && continue_decoding &&
147 // Make a shallow copy of packet so we can slide packet.data as frames are
173 // Determine the number of sample-frames we just decoded. Check overflow.
203 if (current_frame + frames_read > audio_bus->frames()) {
205 frames_read = audio_bus->frames() - current_frame;
242 // Zero any remaining frames.
244 current_frame, audio_bus->frames() - current_frame);
246 // Returns the actual number of sample-frames decoded.
255 // |duration| has been calculated from an exact number of sample-frames
[all...]
H A Daudio_renderer_algorithm.h42 // Tries to fill |requested_frames| frames into |dest| with possibly scaled
48 // Returns the number of frames copied into |dest|.
61 // Returns the capacity of |audio_buffer_| in frames.
67 // Returns the number of frames left in |audio_buffer_|, which may be larger
70 int frames_buffered() { return audio_buffer_.frames(); }
79 // |target_block_| can be extracted from the available frames.
82 // Read a maximum of |requested_frames| frames from |wsola_output_|. Returns
83 // number of frames actually read.
87 // Fill |dest| with frames from |audio_buffer_| starting from frame
91 // for negative indices. This might happen for few first frames
[all...]
/external/chromium_org/native_client_sdk/src/gonacl_appengine/static/bullet/
H A DNaClAMBullet.js45 TransformBuffer = new Float32Array(msg.frames[0]);
/external/chromium_org/third_party/decklink/mac/include/
H A DDeckLinkAPITypes.h81 virtual HRESULT GetComponents (/* out */ uint8_t *hours, /* out */ uint8_t *minutes, /* out */ uint8_t *seconds, /* out */ uint8_t *frames) = 0;
/external/chromium_org/third_party/webrtc/tools/frame_analyzer/
H A Dvideo_quality_analysis.h35 std::vector<AnalysisResult> frames; member in struct:webrtc::test::ResultsContainer
41 // comprises the frames that were captured during the quality measurement test.
42 // There may be missing or duplicate frames. Also the frames start at a random
45 // actual frames in the test file and their position in the reference video, so
46 // that the analysis could run with the right frames from both videos. The stats
59 // frames are exactly the same) will be 48. In the case of SSIM the max return
66 // numbers compatible format to stdout. If the results object contains no frames
74 // Calculates max repeated and skipped frames and prints them to stdout in a
/external/lldb/examples/python/
H A Dstacks.py11 description='''This command will enumerate all stack frames, print the stack size for each, and print an aggregation of which functions have the largest stack frame sizes at the end.'''
23 for frame in thread.frames:
/external/tinyalsa/
H A Dtinycap.c80 unsigned int frames; local
167 frames = capture_sample(file, card, device, header.num_channels,
170 printf("Captured %d frames\n", frames);
173 header.data_sz = frames * header.block_align;
/external/valgrind/main/gdbserver_tests/
H A Dmssnapshot.stderrB.exp15 v.set merge-recursive-frames <num> : merge recursive calls in max <num> frames
/external/chromium_org/third_party/libvpx/source/libvpx/
H A Drate_hist.c32 int frames; member in struct:rate_hist
43 // to determine the number of frames in rc_buf_sz milliseconds, with an
51 hist->frames = 0;
84 int idx = hist->frames++ % hist->samples;
94 for (i = hist->frames; i > 0 && hist->frames - i < hist->samples; i--) {
/external/libvpx/libvpx/
H A Drate_hist.c32 int frames; member in struct:rate_hist
43 // to determine the number of frames in rc_buf_sz milliseconds, with an
51 hist->frames = 0;
84 int idx = hist->frames++ % hist->samples;
94 for (i = hist->frames; i > 0 && hist->frames - i < hist->samples; i--) {
/external/chromium_org/media/audio/android/
H A Daudio_android_unittest.cc128 return dest->frames();
137 << "frames per buffer: " << params.frames_per_buffer() << endl
184 audio_bus->frames() * audio_bus->channels() * kBytesPerSample;
194 // FromInterleaved() will zero out any unfilled frames when there is not
196 int frames = max_size / (audio_bus->channels() * kBytesPerSample); variable
198 audio_bus->FromInterleaved(file_->data() + pos_, frames, kBytesPerSample);
206 return frames;
269 const int num_samples = src->frames() * src->channels();
272 src->ToInterleaved(src->frames(), bytes_per_sample, interleaved.get());
321 const int num_samples = src->frames() * sr
391 const int frames = bytes / params_.GetBytesPerFrame(); local
[all...]
/external/chromium_org/media/cast/test/
H A Dfake_media_source.cc340 audio_sent_ts_->AddFrames(bus->frames());
425 // Make a shallow copy of packet so we can slide packet.data as frames are
478 audio_fifo_input_bus_->frames(),
485 if (audio_fifo_input_bus_->frames() + audio_fifo_->frames()
493 if (audio_fifo_->frames() <
502 audio_resampler_->Resample(resampled_bus->frames(),
569 if (audio_fifo_->frames() >= output_bus->frames()) {
570 audio_fifo_->Consume(output_bus, 0, output_bus->frames());
[all...]
H A Dreceiver.cc161 // An InProcessReceiver that renders video frames to a LinuxOutputWindow and
162 // audio frames via Chromium's audio stack.
164 // InProcessReceiver pushes audio and video frames to this subclass, and these
165 // frames are pushed into a queue. Then, for audio, the Chromium audio stack
166 // will make polling calls on a separate, unknown thread whereby audio frames
169 // queues are pruned (i.e., received frames are skipped) when the system is not
170 // able to play back as fast as frames are entering the queue.
173 // 1. It only skips frames to handle slower-than-expected playout, or halts
176 // frames with the audio frames
[all...]
/external/chromium_org/tools/valgrind/
H A Dmemcheck_analyze.py32 # Just stop printing the stack/suppression frames when the current one
84 frames = []
105 frames += [frame_dict]
112 return frames
217 frames = gatherFrames(stack, source_dir)
218 self._backtraces.append([description, frames])
221 frames = None
307 # Drop boring frames and all the following.
/external/chromium_org/media/audio/alsa/
H A Dalsa_output.cc162 DCHECK_EQ(audio_bus_->frames() * bytes_per_frame_, packet_size_);
412 snd_pcm_sframes_t frames = std::min( local
416 if (!frames)
420 wrapper_->PcmWritei(playback_handle_, buffer_data, frames);
438 DCHECK_EQ(frames_written, frames);
495 // The sound card has |kTargetFramesAvailable| or more frames available.
499 // The sound card has frames available, but our source is exhausted, so
510 base::TimeDelta AlsaPcmOutputStream::FramesToTimeDelta(int frames, argument
513 frames * base::Time::kMicrosecondsPerSecond / sample_rate);
608 // Find the number of frames queue
[all...]
/external/chromium_org/media/audio/win/
H A Daudio_output_win_unittest.cc42 return audio_bus->frames();
59 return audio_bus->frames();
98 return audio_bus->frames();
579 return audio_bus_->frames();
602 int frames; member in struct:media::SyncThreadContext
620 ctx.channels, ctx.frames, data.get());
627 for (int ix = 0; ix < kTwoSecFrames; ix += ctx.frames) {
675 thread_context.frames = params.frames_per_buffer();
/external/chromium_org/native_client_sdk/src/examples/tutorial/debugging/
H A Dexample.js105 for (var i = 0; i < traceinfo.frames.length; i++) {
106 var frame = traceinfo.frames[i];
/external/chromium_org/net/quic/
H A Dquic_packet_creator.h5 // Accumulates frames for the next packet until more frames no longer fit or
101 // Serializes all frames into a single packet. All frames must fit into a
105 SerializedPacket SerializeAllFrames(const QuicFrames& frames);
107 // Re-serializes frames with the original packet's sequence number length.
112 const QuicFrames& frames,
115 // Returns true if there are frames pending to be serialized.
118 // Returns true if there are retransmittable frames pending to be serialized.
132 // frames i
[all...]
/external/chromium_org/ppapi/shared_impl/
H A Dppb_audio_shared.cc117 client_buffer_size_bytes_ = audio_bus_->frames() * audio_bus_->channels() *
226 audio_bus_->frames(),
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DPage.cpp86 WillBeHeapVector<RefPtrWillBeMember<LocalFrame> > frames; local
88 // Get all the frames of all the pages in all the page groups
92 // FIXME: There is currently no way to dispatch events to out-of-process frames.
94 frames.append(toLocalFrame(frame));
100 for (unsigned i = 0; i < frames.size(); i++)
101 frames[i]->domWindow()->dispatchEvent(Event::create(eventName));
205 // remote frames.
582 WillBeHeapVector<RefPtrWillBeMember<LocalFrame> > frames; local
585 // an event so we keep the frames alive until we are done.
588 frames
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/test/
H A Dvpxenc.sh64 --lag-in-frames=0
175 --lag-in-frames="${lag_frames}" \
311 --lag-in-frames="${lag_frames}" \

Completed in 4932 milliseconds

1234567891011>>