Home
last modified time | relevance | path

Searched refs:frames_ (Results 1 – 25 of 32) sorted by relevance

12

/external/adhd/cras/src/tests/
Dshm_unittest.cc28 frames_ = 0; in SetUp()
38 size_t frames_; member in __anonaa4ab4040111::ShmTestSuite
43 buf_ = cras_shm_get_readable_frames(&shm_, 0, &frames_); in TEST_F()
44 EXPECT_EQ(0, frames_); in TEST_F()
45 cras_shm_buffer_read(&shm_, frames_); in TEST_F()
52 buf_ = cras_shm_get_readable_frames(&shm_, 0, &frames_); in TEST_F()
53 EXPECT_EQ(100, frames_); in TEST_F()
55 cras_shm_buffer_read(&shm_, frames_ - 9); in TEST_F()
56 EXPECT_EQ((frames_ - 9) * shm_.config.frame_bytes, in TEST_F()
67 buf_ = cras_shm_get_readable_frames(&shm_, 0, &frames_); in TEST_F()
[all …]
/external/webrtc/modules/video_coding/
Dframe_buffer2.cc132 for (auto frame_it = frames_.begin(); in FindNextFrame()
133 frame_it != frames_.end() && frame_it->first <= last_continuous_frame_; in FindNextFrame()
169 if (next_frame_it == frames_.end() || in FindNextFrame()
240 RTC_DCHECK(frame_it != frames_.end()); in GetNextFrame()
255 frames_.begin(), frame_it, in GetNextFrame()
264 frames_.erase(frames_.begin(), ++frame_it); in GetNextFrame()
393 FrameMap::iterator prev_frame = frames_.find(id); in IsCompleteSuperFrame()
394 if (prev_frame == frames_.end() || !prev_frame->second.frame) in IsCompleteSuperFrame()
397 if (prev_frame == frames_.begin()) in IsCompleteSuperFrame()
413 FrameMap::iterator next_frame = frames_.find(id); in IsCompleteSuperFrame()
[all …]
Dframe_buffer2_unittest.cc209 frames_.emplace_back(std::move(frame)); in ExtractFrame()
219 ASSERT_LT(index, frames_.size()); in CheckFrame()
220 ASSERT_TRUE(frames_[index]); in CheckFrame()
221 ASSERT_EQ(picture_id, frames_[index]->id.picture_id); in CheckFrame()
222 ASSERT_EQ(spatial_layer, frames_[index]->id.spatial_layer); in CheckFrame()
226 ASSERT_LT(index, frames_.size()); in CheckFrameSize()
227 ASSERT_TRUE(frames_[index]); in CheckFrameSize()
228 ASSERT_EQ(frames_[index]->size(), size); in CheckFrameSize()
232 ASSERT_LT(index, frames_.size()); in CheckNoFrame()
233 ASSERT_FALSE(frames_[index]); in CheckNoFrame()
[all …]
/external/webrtc/modules/desktop_capture/
Dscreen_capture_frame_queue.h50 frames_[current_] = std::move(frame); in ReplaceCurrentFrame()
57 frames_[i].reset(); in Reset()
62 FrameType* current_frame() const { return frames_[current_].get(); } in current_frame()
65 return frames_[(current_ + kQueueLength - 1) % kQueueLength].get(); in previous_frame()
73 std::unique_ptr<FrameType> frames_[kQueueLength]; variable
/external/mesa3d/include/android_stub/backtrace/
DBacktrace.h163 size_t NumFrames() const { return frames_.size(); } in NumFrames()
166 if (frame_num >= frames_.size()) { in GetFrame()
169 return &frames_[frame_num]; in GetFrame()
173 iterator begin() { return frames_.begin(); } in begin()
174 iterator end() { return frames_.end(); } in end()
177 const_iterator begin() const { return frames_.begin(); } in begin()
178 const_iterator end() const { return frames_.end(); } in end()
206 std::vector<backtrace_frame_data_t> frames_; variable
/external/tensorflow/tensorflow/core/common_runtime/
Dplacer_inspection_required_ops_utils.cc104 new_stack.frames_ = frames_; in Push()
105 new_stack.frames_.emplace_back(current_function_name_, in Push()
114 for (const Frame& frame : frames_) { in HasFunction()
124 for (int i = 0; i < frames_.size(); ++i) { in FormatForError()
125 if (frames_[i].function_name.empty()) { in FormatForError()
129 FormatNodeForError(*frames_[i].node))); in FormatForError()
133 "Function ", errors::FormatFunctionForError(frames_[i].function_name), in FormatForError()
134 " contains node ", FormatNodeForError(*frames_[i].node))); in FormatForError()
136 const string& fname = (i + 1 < frames_.size()) in FormatForError()
137 ? frames_[i + 1].function_name in FormatForError()
[all …]
Dplacer_inspection_required_ops_utils.h122 std::vector<Frame> frames_; variable
/external/tensorflow/tensorflow/compiler/xla/python/
Dtraceback.cc33 GlobalPyRefManager()->AddGarbage(frames_); in ~Traceback()
42 frame_strs.reserve(frames_.size()); in ToString()
53 frames.reserve(frames_.size()); in Frames()
54 for (const auto& frame : frames_) { in Frames()
74 tb->frames_.emplace_back(py_frame->f_code, py_frame->f_lasti); in Get()
Dtraceback.h62 return frames_; in raw_frames()
66 absl::InlinedVector<std::pair<PyCodeObject*, int>, 32> frames_;
/external/webrtc/modules/desktop_capture/win/
Dscreen_capturer_win_directx.cc124 frames_.MoveToNextFrame(); in CaptureFrame()
125 if (!frames_.current_frame()) { in CaptureFrame()
126 frames_.ReplaceCurrentFrame( in CaptureFrame()
132 result = controller_->Duplicate(frames_.current_frame()); in CaptureFrame()
134 result = controller_->DuplicateMonitor(frames_.current_frame(), in CaptureFrame()
171 frames_.current_frame()->frame()->Share(); in CaptureFrame()
Dscreen_capturer_win_directx.h86 ScreenCaptureFrameQueue<DxgiFrame> frames_; variable
/external/google-breakpad/src/processor/
Dstackwalker_address_list.cc55 frames_(frames), in StackwalkerAddressList()
66 frame->instruction = frames_[0]; in GetContextFrame()
87 frame->instruction = frames_[frame_index]; in GetCallerFrame()
Dcall_stack.cc46 for (vector<StackFrame *>::const_iterator iterator = frames_.begin(); in Clear()
47 iterator != frames_.end(); in Clear()
Dstackwalker_address_list.h64 const uint64_t* frames_; variable
Dstackwalker.cc179 stack->frames_.push_back(frame.release()); in Walk()
180 if (stack->frames_.size() > max_frames_) { in Walk()
/external/webrtc/sdk/android/native_unittests/video/
Dvideo_source_unittest.cc24 void OnFrame(const VideoFrame& frame) { frames_.push_back(frame); } in OnFrame()
27 std::vector<VideoFrame> temp = frames_; in GetFrames()
28 frames_.clear(); in GetFrames()
33 std::vector<VideoFrame> frames_; member in webrtc::test::__anon110d04770111::TestVideoSink
/external/google-breakpad/src/google_breakpad/processor/
Dcall_stack.h66 const vector<StackFrame*>* frames() const { return &frames_; } in frames()
78 vector<StackFrame*> frames_; variable
/external/webrtc/video/
Dvideo_analyzer.cc250 while (frames_.front().timestamp() != video_frame.timestamp()) { in PreEncodeOnFrame()
252 frames_.pop_front(); in PreEncodeOnFrame()
253 RTC_CHECK(!frames_.empty()); in PreEncodeOnFrame()
314 while (wrap_handler_.Unwrap(frames_.front().timestamp()) < send_timestamp) { in OnFrame()
320 AddFrameComparison(frames_.front(), *last_rendered_frame_, true, in OnFrame()
323 frames_.pop_front(); in OnFrame()
324 RTC_DCHECK(!frames_.empty()); in OnFrame()
327 VideoFrame reference_frame = frames_.front(); in OnFrame()
328 frames_.pop_front(); in OnFrame()
614 dropped_frames_before_rendering_ + frames_.size(); in PrintResults()
[all …]
/external/libaom/libaom/test/
Dencode_perf_test.cc32 uint32_t bitrate_, int frames_) in EncodePerfTestVideo()
34 frames(frames_) {} in EncodePerfTestVideo()
Ddecode_perf_test.cc176 uint32_t bitrate_, int frames_) in EncodePerfTestVideo()
178 frames(frames_) {} in EncodePerfTestVideo()
/external/libvpx/libvpx/test/
Dencode_perf_test.cc28 uint32_t bitrate_, int frames_) in EncodePerfTestVideo()
30 frames(frames_) {} in EncodePerfTestVideo()
Ddecode_perf_test.cc193 uint32_t bitrate_, int frames_) in EncodePerfTestVideo()
195 frames(frames_) {} in EncodePerfTestVideo()
/external/webp/src/demux/
Ddemux.c70 Frame* frames_; member
404 if (dmux->frames_ != NULL) return PARSE_ERROR; in ParseSingleImage()
569 const Frame* const frame = dmux->frames_; in IsValidSimpleFormat()
600 const Frame* f = dmux->frames_; in IsValidExtendedFormat()
606 if (dmux->state_ == WEBP_DEMUX_DONE && dmux->frames_ == NULL) return 0; in IsValidExtendedFormat()
662 dmux->frames_tail_ = &dmux->frames_; in InitDemux()
766 for (f = dmux->frames_; f != NULL;) { in WebPDemuxDelete()
800 for (f = dmux->frames_; f != NULL; f = f->next_) { in GetFrame()
/external/libaom/libaom/third_party/libwebm/mkvmuxer/
Dmkvmuxer.cc3072 frames_(NULL), in Segment()
3111 if (frames_) { in ~Segment()
3113 Frame* const frame = frames_[i]; in ~Segment()
3116 delete[] frames_; in ~Segment()
3911 const Frame* const f = frames_[0]; // earliest queued frame in MakeNewCluster()
4077 frames[i] = frames_[i]; in QueueFrame()
4080 delete[] frames_; in QueueFrame()
4081 frames_ = frames; in QueueFrame()
4085 frames_[frames_size_++] = frame; in QueueFrame()
4091 if (frames_ == NULL) in WriteFramesAll()
[all …]
/external/libvpx/libvpx/third_party/libwebm/mkvmuxer/
Dmkvmuxer.cc3072 frames_(NULL), in Segment()
3111 if (frames_) { in ~Segment()
3113 Frame* const frame = frames_[i]; in ~Segment()
3116 delete[] frames_; in ~Segment()
3911 const Frame* const f = frames_[0]; // earliest queued frame in MakeNewCluster()
4077 frames[i] = frames_[i]; in QueueFrame()
4080 delete[] frames_; in QueueFrame()
4081 frames_ = frames; in QueueFrame()
4085 frames_[frames_size_++] = frame; in QueueFrame()
4091 if (frames_ == NULL) in WriteFramesAll()
[all …]

12