/external/webrtc/modules/video_coding/ |
D | rtp_vp8_ref_finder_unittest.cc | 117 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 …]
|
D | rtp_vp9_ref_finder_unittest.cc | 214 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 …]
|
D | frame_buffer2.cc | 144 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 …]
|
D | frame_buffer2_unittest.cc | 192 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 …]
|
D | generic_decoder_unittest.cc | 39 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/ |
D | websocket_basic_stream_test.cc | 179 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 …]
|
D | websocket_stream_test.cc | 186 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/ |
D | test_frame_sequence.cc | 42 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 …]
|
D | oghttp2_session.cc | 585 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/ |
D | quic_chaos_protector.cc | 46 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/ |
D | frame_buffer.cc | 91 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/ |
D | traceback.cc | 44 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 …]
|
D | traceback.h | 70 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/ |
D | Backtrace.h | 163 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/ |
D | screen_capture_frame_queue.h | 47 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/ |
D | placer_inspection_required_ops_utils.cc | 100 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/ |
D | quic_test_packet_maker.cc | 250 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/ |
D | stackwalker_address_list.cc | 55 frames_(frames), in StackwalkerAddressList() 66 frame->instruction = frames_[0]; in GetContextFrame() 87 frame->instruction = frames_[frame_index]; in GetCallerFrame()
|
D | call_stack.cc | 46 for (vector<StackFrame *>::const_iterator iterator = frames_.begin(); in Clear() 47 iterator != frames_.end(); in Clear()
|
/external/webrtc/sdk/android/native_unittests/video/ |
D | video_source_unittest.cc | 24 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/ |
D | call_stack.h | 66 const vector<StackFrame*>* frames() const { return &frames_; } in frames() 78 vector<StackFrame*> frames_; variable
|
/external/webrtc/video/ |
D | video_analyzer.cc | 263 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/ |
D | encode_perf_test.cc | 32 uint32_t bitrate_, int frames_) in EncodePerfTestVideo() 34 frames(frames_) {} in EncodePerfTestVideo()
|
/external/webp/src/demux/ |
D | demux.c | 70 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/ |
D | encode_perf_test.cc | 28 uint32_t bitrate_, int frames_) in EncodePerfTestVideo() 30 frames(frames_) {} in EncodePerfTestVideo()
|