Home
last modified time | relevance | path

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

12

/external/webrtc/modules/video_coding/
Drtp_vp8_ref_finder_unittest.cc117 frames_.push_back(std::move(f)); in Insert()
122 std::vector<std::unique_ptr<EncodedFrame>> frames_; member in webrtc::RtpVp8RefFinderTest
130 EXPECT_THAT(frames_, SizeIs(2)); in TEST_F()
131 EXPECT_THAT(frames_, HasFrameWithIdAndRefs(0, {})); in TEST_F()
132 EXPECT_THAT(frames_, HasFrameWithIdAndRefs(1, {0})); in TEST_F()
140 EXPECT_THAT(frames_, SizeIs(2)); in TEST_F()
141 EXPECT_THAT(frames_, HasFrameWithIdAndRefs(0, {})); in TEST_F()
142 EXPECT_THAT(frames_, HasFrameWithIdAndRefs(1, {0})); in TEST_F()
152 EXPECT_THAT(frames_, SizeIs(4)); in TEST_F()
153 EXPECT_THAT(frames_, HasFrameWithIdAndRefs(0, {})); in TEST_F()
[all …]
Drtp_vp9_ref_finder_unittest.cc214 frames_.push_back(std::move(f)); in Insert()
219 FrameVector frames_; member in webrtc::RtpVp9RefFinderTest
233 EXPECT_EQ(frames_.size(), 1UL); in TEST_F()
234 EXPECT_THAT(frames_, HasFrameWithIdAndRefs(5, {})); in TEST_F()
244 EXPECT_EQ(frames_.size(), 2UL); in TEST_F()
245 EXPECT_THAT(frames_, HasFrameWithIdAndRefs(5, {})); in TEST_F()
246 EXPECT_THAT(frames_, HasFrameWithIdAndRefs(10, {5})); in TEST_F()
259 EXPECT_EQ(frames_.size(), 5UL); in TEST_F()
260 EXPECT_THAT(frames_, HasFrameWithIdAndRefs(5, {})); in TEST_F()
261 EXPECT_THAT(frames_, HasFrameWithIdAndRefs(10, {5})); in TEST_F()
[all …]
Dframe_buffer2.cc144 for (auto frame_it = frames_.begin(); in FindNextFrame()
145 frame_it != frames_.end() && frame_it->first <= last_continuous_frame_; in FindNextFrame()
176 if (next_frame_it == frames_.end() || !next_frame_it->second.frame) { in FindNextFrame()
224 frames_.size() > zero_playout_delay_max_decode_queue_size_ ? true in FindNextFrame()
268 RTC_DCHECK(frame_it != frames_.end()); in GetNextFrame()
280 frames_.erase(frames_.begin(), ++frame_it); in GetNextFrame()
338 return frames_.size(); in Size()
382 if (frames_.size() >= kMaxFramesBuffered) { in InsertFrame()
422 if (!frames_.empty() && frame->Id() < frames_.begin()->first && in InsertFrame()
423 frames_.rbegin()->first < frame->Id()) { in InsertFrame()
[all …]
Dframe_buffer2_unittest.cc192 frames_.emplace_back(std::move(frame)); in ExtractFrame()
201 ASSERT_LT(index, frames_.size()); in CheckFrame()
202 ASSERT_TRUE(frames_[index]); in CheckFrame()
203 ASSERT_EQ(picture_id, frames_[index]->Id()); in CheckFrame()
204 ASSERT_EQ(spatial_layer, frames_[index]->SpatialIndex().value_or(0)); in CheckFrame()
208 ASSERT_LT(index, frames_.size()); in CheckFrameSize()
209 ASSERT_TRUE(frames_[index]); in CheckFrameSize()
210 ASSERT_EQ(frames_[index]->size(), size); in CheckFrameSize()
214 ASSERT_LT(index, frames_.size()); in CheckNoFrame()
215 ASSERT_FALSE(frames_[index]); in CheckNoFrame()
[all …]
Dgeneric_decoder_unittest.cc39 frames_.push_back(frame); in FrameToRender()
44 if (frames_.empty()) in PopLastFrame()
46 auto ret = frames_.front(); in PopLastFrame()
47 frames_.pop_back(); in PopLastFrame()
51 rtc::ArrayView<const VideoFrame> GetAllFrames() const { return frames_; } in GetAllFrames()
60 std::vector<VideoFrame> frames_; member in webrtc::video_coding::ReceiveCallback
/external/cronet/net/websockets/
Dwebsocket_basic_stream_test.cc179 std::vector<std::unique_ptr<WebSocketFrame>> frames_; member in net::__anonb5c7d3550111::WebSocketBasicStreamSocketTest
270 frames_.push_back(std::move(frame)); in PrepareWriteFrame()
296 int result = stream_->ReadFrames(&frames_, cb_.callback()); in TEST_F()
298 ASSERT_EQ(1U, frames_.size()); in TEST_F()
299 EXPECT_EQ(UINT64_C(6), frames_[0]->header.payload_length); in TEST_F()
300 EXPECT_TRUE(frames_[0]->header.final); in TEST_F()
305 int result = stream_->ReadFrames(&frames_, cb_.callback()); in TEST_F()
308 ASSERT_EQ(1U, frames_.size()); in TEST_F()
309 EXPECT_EQ(UINT64_C(6), frames_[0]->header.payload_length); in TEST_F()
318 int result = stream_->ReadFrames(&frames_, cb_.callback()); in TEST_F()
[all …]
Dwebsocket_stream_test.cc186 frames_.emplace_back(const_cast<char*>(spdy::kHttp2ConnectionHeaderPrefix), in CreateAndConnectStandard()
189 AddWrite(&frames_.back()); in CreateAndConnectStandard()
194 frames_.push_back(spdy_util_.ConstructSpdySettings(read_settings)); in CreateAndConnectStandard()
195 AddRead(&frames_.back()); in CreateAndConnectStandard()
206 frames_.push_back(spdy_util_.ConstructSpdySettings(write_settings)); in CreateAndConnectStandard()
207 AddWrite(&frames_.back()); in CreateAndConnectStandard()
210 frames_.push_back(spdy_util_.ConstructSpdyWindowUpdate(0, 0x00ef0001)); in CreateAndConnectStandard()
211 AddWrite(&frames_.back()); in CreateAndConnectStandard()
214 frames_.push_back(spdy_util_.ConstructSpdySettingsAck()); in CreateAndConnectStandard()
215 AddWrite(&frames_.back()); in CreateAndConnectStandard()
[all …]
/external/cronet/net/third_party/quiche/src/quiche/http2/adapter/
Dtest_frame_sequence.cc42 frames_.push_back(std::move(data)); in Data()
48 frames_.push_back(std::make_unique<spdy::SpdyRstStreamIR>( in RstStream()
59 frames_.push_back(std::move(settings_frame)); in Settings()
66 frames_.push_back(std::move(settings)); in SettingsAck()
73 frames_.push_back(std::make_unique<spdy::SpdyPushPromiseIR>( in PushPromise()
79 frames_.push_back(std::make_unique<spdy::SpdyPingIR>(id)); in Ping()
86 frames_.push_back(std::move(ping)); in PingAck()
93 frames_.push_back(std::make_unique<spdy::SpdyGoAwayIR>( in GoAway()
118 frames_.push_back(std::make_unique<spdy::SpdyUnknownIR>( in Headers()
125 frames_.push_back(std::move(continuation)); in Headers()
[all …]
Doghttp2_session.cc585 frames_.push_back(std::move(frame)); in EnqueueFrame()
675 while (!frames_.empty()) { in SendQueuedFrames()
676 const auto& frame_ptr = frames_.front(); in SendQueuedFrames()
691 frames_.pop_front(); in SendQueuedFrames()
698 frames_.pop_front(); in SendQueuedFrames()
717 frames_.pop_front(); in SendQueuedFrames()
770 frames_.push_front(std::make_unique<spdy::SpdyRstStreamIR>( in AfterFrameSent()
850 QUICHE_DCHECK(buffered_data_.empty() && frames_.empty()); in WriteForStream()
1627 QUICHE_DCHECK(frames_.empty()); in MaybeSetupPreface()
1833 for (auto it = frames_.begin(); in CloseStream()
[all …]
/external/cronet/net/third_party/quiche/src/quiche/quic/core/
Dquic_chaos_protector.cc46 QuicChaosProtector::~QuicChaosProtector() { DeleteFrames(&frames_); } in ~QuicChaosProtector()
94 frames_.push_back(QuicFrame( in CopyCryptoDataToLocalBuffer()
101 if (!framer_->AppendCryptoFrame(*frames_.front().crypto_frame, &writer)) { in CopyCryptoDataToLocalBuffer()
139 random_->InsecureRandUint64() % frames_.size(); in SplitCryptoFrame()
141 frames_[frame_to_split_index].crypto_frame; in SplitCryptoFrame()
155 frames_.push_back(QuicFrame( in SplitCryptoFrame()
180 frames_.push_back(QuicFrame(QuicPingFrame())); in AddPingFrames()
187 for (size_t i = frames_.size() - 1; i > 0; i--) { in ReorderFrames()
188 std::swap(frames_[i], frames_[random_->InsecureRandUint64() % (i + 1)]); in ReorderFrames()
193 for (auto it = frames_.begin(); it != frames_.end(); ++it) { in SpreadPadding()
[all …]
/external/webrtc/api/video/
Dframe_buffer.cc91 if (frames_.size() == max_size_) { in InsertFrame()
103 auto insert_res = frames_.emplace(frame_id, FrameInfo{std::move(frame)}); in InsertFrame()
109 if (frames_.size() == max_size_) { in InsertFrame()
144 frames_.begin(), end_it, in DropNextDecodableTemporalUnit()
147 frames_.erase(frames_.begin(), end_it); in DropNextDecodableTemporalUnit()
172 return frames_.size(); in CurrentSize()
181 auto reference_frame_it = frames_.find(reference); in IsContinuous()
182 if (reference_frame_it != frames_.end() && in IsContinuous()
194 for (auto it = frame_it; it != frames_.end(); ++it) { in PropagateContinuity()
220 FrameIterator first_frame_it = frames_.begin(); in FindNextAndLastDecodableTemporalUnit()
[all …]
/external/tensorflow/tensorflow/compiler/xla/python/
Dtraceback.cc44 frames_.emplace_back(py_frame->f_code, py_frame->f_lasti); in Traceback()
49 frames_.emplace_back(PyFrame_GetCode(py_frame), PyFrame_GetLasti(py_frame)); in Traceback()
56 for (auto& frame : frames_) { in ~Traceback()
62 Traceback::Traceback(Traceback&& other) : frames_(std::move(other.frames_)) { in Traceback()
66 other.frames_.clear(); in Traceback()
75 frame_strs.reserve(frames_.size()); in ToString()
86 frames.reserve(frames_.size()); in Frames()
87 for (const auto& frame : frames_) { in Frames()
108 GlobalPyRefManager()->AddGarbage(traceback.frames_); in SafeDestroy()
109 traceback.frames_.clear(); in SafeDestroy()
[all …]
Dtraceback.h70 return frames_; in raw_frames()
78 return frames_ == other.frames_;
81 return frames_ != other.frames_;
85 absl::InlinedVector<std::pair<PyCodeObject*, int>, 32> frames_;
/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/webrtc/modules/desktop_capture/
Dscreen_capture_frame_queue.h47 frames_[current_] = std::move(frame); in ReplaceCurrentFrame()
54 frames_[i].reset(); in Reset()
59 FrameType* current_frame() const { return frames_[current_].get(); } in current_frame()
62 return frames_[(current_ + kQueueLength - 1) % kQueueLength].get(); in previous_frame()
70 std::unique_ptr<FrameType> frames_[kQueueLength]; variable
/external/tensorflow/tensorflow/core/common_runtime/
Dplacer_inspection_required_ops_utils.cc100 new_stack.frames_ = frames_; in Push()
101 new_stack.frames_.emplace_back(current_function_name_, in Push()
110 for (const Frame& frame : frames_) { in HasFunction()
120 for (int i = 0; i < frames_.size(); ++i) { in FormatForError()
121 if (frames_[i].function_name.empty()) { in FormatForError()
125 FormatNodeForError(*frames_[i].node))); in FormatForError()
129 "Function ", errors::FormatFunctionForError(frames_[i].function_name), in FormatForError()
130 " contains node ", FormatNodeForError(*frames_[i].node))); in FormatForError()
132 const string& fname = (i + 1 < frames_.size()) in FormatForError()
133 ? frames_[i + 1].function_name in FormatForError()
[all …]
/external/cronet/net/quic/
Dquic_test_packet_maker.cc250 frames_.push_back(frame); in MakeRetransmissionAndRetireConnectionIdPacket()
347 frames_.push_back(frame); in MakeRetransmissionRstAndDataPacket()
538 frames_.push_back(frame); in MakeAckAndRetransmissionPacket()
557 frames_.push_back(frame); in MakeCombinedRetransmissionPacket()
772 frames_.push_back(frame); in MakeAckRetransmissionAndDataPacket()
856 frames_.push_back(frame); in MakeRetransmissionAndRequestHeadersPacket()
1137 frames_.push_back(quic::QuicFrame(padding_frame)); in AddQuicPaddingFrame()
1138 DVLOG(1) << "Adding frame: " << frames_.back(); in AddQuicPaddingFrame()
1143 frames_.push_back(quic::QuicFrame(ping_frame)); in AddQuicPingFrame()
1144 DVLOG(1) << "Adding frame: " << frames_.back(); in AddQuicPingFrame()
[all …]
/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()
/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::__anonae5193550111::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.cc263 while (frames_.front().timestamp() != video_frame.timestamp()) { in PreEncodeOnFrame()
265 frames_.pop_front(); in PreEncodeOnFrame()
266 RTC_CHECK(!frames_.empty()); in PreEncodeOnFrame()
327 while (wrap_handler_.Unwrap(frames_.front().timestamp()) < send_timestamp) { in OnFrame()
333 AddFrameComparison(frames_.front(), *last_rendered_frame_, true, in OnFrame()
336 frames_.pop_front(); in OnFrame()
337 RTC_DCHECK(!frames_.empty()); in OnFrame()
340 VideoFrame reference_frame = frames_.front(); in OnFrame()
341 frames_.pop_front(); in OnFrame()
626 dropped_frames_before_rendering_ + frames_.size(); in PrintResults()
[all …]
/external/libaom/test/
Dencode_perf_test.cc32 uint32_t bitrate_, int frames_) in EncodePerfTestVideo()
34 frames(frames_) {} in EncodePerfTestVideo()
/external/webp/src/demux/
Ddemux.c70 Frame* frames_; member
408 if (dmux->frames_ != NULL) return PARSE_ERROR; in ParseSingleImage()
575 const Frame* const frame = dmux->frames_; in IsValidSimpleFormat()
606 const Frame* f = dmux->frames_; in IsValidExtendedFormat()
612 if (dmux->state_ == WEBP_DEMUX_DONE && dmux->frames_ == NULL) return 0; in IsValidExtendedFormat()
665 dmux->frames_tail_ = &dmux->frames_; in InitDemux()
769 for (f = dmux->frames_; f != NULL;) { in WebPDemuxDelete()
803 for (f = dmux->frames_; f != NULL; f = f->next_) { in GetFrame()
/external/libvpx/test/
Dencode_perf_test.cc28 uint32_t bitrate_, int frames_) in EncodePerfTestVideo()
30 frames(frames_) {} in EncodePerfTestVideo()

12