Searched defs:frames (Results 1 - 25 of 219) sorted by relevance

123456789

/external/chromium_org/net/websockets/
H A Dwebsocket_deflate_predictor_impl_test.cc20 ScopedVector<WebSocketFrame> frames; local
21 frames.push_back(new WebSocketFrame(WebSocketFrameHeader::kOpCodeText));
22 Result result = predictor.Predict(frames, 0);
H A Dwebsocket_deflate_predictor_impl.cc12 const ScopedVector<WebSocketFrame>& frames,
11 Predict( const ScopedVector<WebSocketFrame>& frames, size_t frame_index) argument
/external/srec/srec/ca/
H A Dutt_proc.c40 int ii, frames = 0; local
42 frames = get_background_statistics(hUtt->data.gen_utt.frame,
47 /* log_report ("UTT (%d): ", frames); */
54 return (frames);
/external/chromium_org/media/base/
H A Daudio_buffer_queue.h36 // Reads a maximum of |frames| frames into |dest| from the current position.
37 // Returns the number of frames read. The current position will advance by the
38 // amount of frames read. |dest_frame_offset| specifies a starting offset into
39 // |dest|. On each call, the frames are converted from their source format
41 int ReadFrames(int frames, int dest_frame_offset, AudioBus* dest);
43 // Copies up to |frames| frames from current position to |dest|. Returns
44 // number of frames copied. Doesn't advance current position. Starts at
46 // a starting offset into |dest|. On each call, the frames ar
58 int frames() const { return frames_; } function in class:media::AudioBufferQueue
[all...]
H A Daudio_bus.h29 // Creates a new AudioBus and allocates |channels| of length |frames|. Uses
31 static scoped_ptr<AudioBus> Create(int channels, int frames);
43 int frames, const std::vector<float*>& channel_data);
48 static scoped_ptr<AudioBus> WrapMemory(int channels, int frames, void* data);
54 // and frames.
55 static int CalculateMemorySize(int channels, int frames);
62 // any unfilled frames when |frames| is less than frames().
63 void FromInterleaved(const void* source, int frames, in
96 int frames() const { return frames_; } function in class:media::AudioBus
[all...]
H A Daudio_hash.cc23 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 Dsinc_resampler_perftest.cc21 static void DoNothing(int frames, float* destination) {} argument
H A Daudio_buffer_queue_unittest.cc22 int frames,
28 for (int i = offset; i < offset + frames; ++i) {
40 int frames) {
47 frames,
54 EXPECT_EQ(0, buffer.frames());
57 EXPECT_EQ(8, buffer.frames());
59 EXPECT_EQ(0, buffer.frames());
62 EXPECT_EQ(8, buffer.frames());
70 EXPECT_EQ(8, buffer.frames());
73 EXPECT_EQ(16, buffer.frames());
20 VerifyBus(AudioBus* bus, int offset, int frames, int buffer_size, float start, float increment) argument
36 MakeTestBuffer(SampleFormat format, ChannelLayout channel_layout, T start, T step, int frames) argument
189 const int frames = 4; local
216 const int frames = 6; local
318 const int frames = 60; local
[all...]
H A Daudio_pull_fifo.cc14 AudioPullFifo::AudioPullFifo(int channels, int frames, const ReadCB& read_cb) argument
16 fifo_(AudioBus::Create(channels, frames)),
17 fifo_index_(frames) {}
22 DCHECK_LE(frames_to_consume, destination->frames());
31 // Get the remaining audio frames from the producer using the callback.
33 DCHECK_EQ(fifo_index_, fifo_->frames());
47 void AudioPullFifo::Clear() { fifo_index_ = fifo_->frames(); }
52 int frames = std::min(frames_to_provide, fifo_->frames() - fifo_index_); local
53 if (frames <
[all...]
H A Daudio_timestamp_helper_unittest.cc19 // Adds frames to the helper and returns the current timestamp in
21 int64 AddFrames(int frames) { argument
22 helper_.AddFrames(frames);
58 // Verify that adding frames one frame at a time matches the timestamp
59 // returned if the same number of frames are added all at once.
99 // Verify that the same number of frames is returned up
109 // Add frames to the helper so negative frame counts can be tested.
/external/chromium_org/media/cast/test/utility/
H A Dgenerate_timecode_audio.cc18 fprintf(stderr, "Usage: %s <fps> <frames> >output.s16le\n", argv[0]);
22 const uint32 frames = static_cast<uint32>(std::max(0, atoi(argv[2]))); local
25 for (uint32 frame_id = 1; frame_id <= frames; frame_id++) {
/external/chromium_org/chrome/browser/ui/libgtk2ui/
H A Dchrome_gtk_frame.h42 MetaFrames frames; member in struct:_ChromeGtkFrame
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DScriptCallStack.cpp40 PassRefPtrWillBeRawPtr<ScriptCallStack> ScriptCallStack::create(Vector<ScriptCallFrame>& frames) argument
42 return adoptRefWillBeNoop(new ScriptCallStack(frames));
45 ScriptCallStack::ScriptCallStack(Vector<ScriptCallFrame>& frames) argument
47 m_frames.swap(frames);
73 RefPtr<TypeBuilder::Array<TypeBuilder::Console::CallFrame> > frames = TypeBuilder::Array<TypeBuilder::Console::CallFrame>::create(); local
75 frames->addItem(m_frames.at(i).buildInspectorObject());
76 return frames;
/external/chromium_org/third_party/libvpx/source/libvpx/test/
H A Ddecode_perf_test.cc91 const unsigned frames = video.frame_number(); local
92 const double fps = double(frames) / elapsed_secs;
100 printf("\t\"totalFrames\" : %u,\n", frames);
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dstacktrace_android-inl.h54 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/third_party/webrtc/common_audio/resampler/
H A Dpush_sinc_resampler.cc80 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;
H A Dsinusoidal_linear_chirp_source.cc32 void SinusoidalLinearChirpSource::Run(int frames, float* destination) { argument
33 for (int i = 0; i < frames; ++i, ++current_index_) {
/external/chromium_org/third_party/webrtc/test/testsupport/metrics/
H A Dvideo_metrics.h30 // The frames in this data structure are 0-indexed.
44 std::vector<FrameResult> frames; member in struct:webrtc::test::QualityMetricsResult
58 // This function only compares video frames up to the point when the shortest
82 // This function only compares video frames up to the point when the shortest
102 // This function only compares video frames up to the point when the shortest
/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/chromium_org/third_party/webrtc/video_engine/test/auto_test/primitives/
H A Dframedrop_primitives_unittest.cc44 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/libvpx/libvpx/test/
H A Ddecode_perf_test.cc89 const unsigned frames = video.frame_number(); local
90 const double fps = double(frames) / elapsed_secs;
97 printf("\t\"totalFrames\" : %u,\n", frames);
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowAnimationDrawable.java14 private List<Drawable> frames = new ArrayList<Drawable>(); field in class:ShadowAnimationDrawable
19 frames.add(frame);
24 return frames.size();
37 return frames;
/external/webrtc/src/modules/audio_processing/test/testsupport/metrics/
H A Dvideo_metrics.h27 // The frames in this data structure are 0-indexed.
41 std::vector<FrameResult> frames; member in struct:webrtc::test::QualityMetricsResult
52 // This function only compares video frames up to the point when the shortest
72 // This function only compares video frames up to the point when the shortest
93 // This function only compares video frames up to the point when the shortest
/external/webrtc/test/testsupport/metrics/
H A Dvideo_metrics.h27 // The frames in this data structure are 0-indexed.
41 std::vector<FrameResult> frames; member in struct:webrtc::test::QualityMetricsResult
52 // This function only compares video frames up to the point when the shortest
72 // This function only compares video frames up to the point when the shortest
93 // This function only compares video frames up to the point when the shortest
/external/chromium_org/media/audio/
H A Dvirtual_audio_output_stream.cc80 const int frames = callback_->OnMoreData(audio_bus, AudioBuffersState()); local
81 if (frames < audio_bus->frames())
82 audio_bus->ZeroFramesPartial(frames, audio_bus->frames() - frames);
84 return frames > 0 ? volume_ : 0;

Completed in 4844 milliseconds

123456789