Home
last modified time | relevance | path

Searched refs:receiver_ (Results 1 – 25 of 43) sorted by relevance

12

/external/webrtc/webrtc/modules/video_coding/
Dreceiver_unittest.cc37 receiver_(&timing_, clock_.get(), &event_factory_) { in TestVCMReceiver()
42 virtual void SetUp() { receiver_.Reset(); } in SetUp()
50 return receiver_.InsertPacket(packet, kWidth, kHeight); in InsertPacket()
59 return receiver_.InsertPacket(packet, kWidth, kHeight); in InsertPacketAndPop()
80 receiver_.FrameForDecoding(0, &render_time_ms, false); in DecodeNextFrame()
83 receiver_.ReleaseFrame(frame); in DecodeNextFrame()
90 VCMReceiver receiver_; member in webrtc::TestVCMReceiver
95 EXPECT_EQ(0, receiver_.RenderBufferSizeMs()); in TEST_F()
102 receiver_.RenderBufferSizeMs()); in TEST_F()
106 EXPECT_EQ(0, receiver_.RenderBufferSizeMs()); in TEST_F()
[all …]
Dvideo_coding_impl.cc84 receiver_(clock, event_factory), in VideoCodingModuleImpl()
91 int64_t receiver_time = receiver_.TimeUntilNextProcess(); in TimeUntilNextProcess()
99 int32_t receiver_return = receiver_.Process(); in Process()
153 return receiver_.SetVideoProtection(videoProtection, enable); in SetVideoProtection()
179 return receiver_.RegisterReceiveCodec(receiveCodec, numberOfCores, in RegisterReceiveCodec()
185 receiver_.RegisterExternalDecoder(externalDecoder, payloadType); in RegisterExternalDecoder()
190 return receiver_.RegisterReceiveCallback(receiveCallback); in RegisterReceiveCallback()
195 return receiver_.RegisterReceiveStatisticsCallback(receiveStats); in RegisterReceiveStatisticsCallback()
200 return receiver_.RegisterDecoderTimingCallback(decoderTiming); in RegisterDecoderTimingCallback()
205 return receiver_.RegisterFrameTypeCallback(frameTypeCallback); in RegisterFrameTypeCallback()
[all …]
Dvideo_receiver_unittest.cc36 receiver_.reset(new VideoReceiver(&clock_, &event_factory_)); in SetUp()
37 receiver_->RegisterExternalDecoder(&decoder_, kUnusedPayloadType); in SetUp()
40 receiver_->SetNackSettings(kMaxNackListSize, kMaxPacketAgeToNack, 0); in SetUp()
44 EXPECT_EQ(0, receiver_->RegisterReceiveCodec(&settings_, 1, true)); in SetUp()
52 EXPECT_EQ(0, receiver_->IncomingPacket(payload, 0, *header)); in InsertAndVerifyPaddingFrame()
55 EXPECT_EQ(0, receiver_->Process()); in InsertAndVerifyPaddingFrame()
57 EXPECT_EQ(VCM_FRAME_NOT_READY, receiver_->Decode(100)); in InsertAndVerifyPaddingFrame()
64 EXPECT_EQ(0, receiver_->IncomingPacket(payload, length, *header)); in InsertAndVerifyDecodableFrame()
67 EXPECT_EQ(0, receiver_->Process()); in InsertAndVerifyDecodableFrame()
69 EXPECT_EQ(0, receiver_->Decode(100)); in InsertAndVerifyDecodableFrame()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_rtcp_impl_unittest.cc55 : receiver_(NULL), in SendTransport()
62 receiver_ = receiver; in SetRtpRtcpModule()
86 EXPECT_TRUE(receiver_ != NULL); in SendRtcp()
87 EXPECT_EQ(0, receiver_->IncomingRtcpPacket( in SendRtcp()
91 ModuleRtpRtcpImpl* receiver_; member in webrtc::__anon865dfefd0111::SendTransport
165 receiver_(&clock_) { in RtpRtcpImplTest()
182 EXPECT_EQ(0, receiver_.impl_->SetSendingStatus(false)); in RtpRtcpImplTest()
183 receiver_.impl_->SetSendingMediaStatus(false); in RtpRtcpImplTest()
184 receiver_.impl_->SetSSRC(kReceiverSsrc); in RtpRtcpImplTest()
185 receiver_.SetRemoteSsrc(kSenderSsrc); in RtpRtcpImplTest()
[all …]
Dnack_rtx_unittest.cc173 receiver_(), in RtpRtcpRtxNackTest()
190 &fake_clock, &receiver_, rtp_feedback_.get(), &rtp_payload_registry_)); in SetUp()
221 receiver_.sequence_numbers_.sort(); in BuildNackList()
223 std::list<uint16_t>::iterator it = receiver_.sequence_numbers_.begin(); in BuildNackList()
225 while (it != receiver_.sequence_numbers_.end()) { in BuildNackList()
228 if (it != receiver_.sequence_numbers_.end()) { in BuildNackList()
246 std::copy(receiver_.sequence_numbers_.begin(), in ExpectedPacketsReceived()
247 receiver_.sequence_numbers_.end(), in ExpectedPacketsReceived()
277 receiver_.sequence_numbers_.sort(); in RunRtxTest()
288 VerifyingRtxReceiver receiver_; member in webrtc::RtpRtcpRtxNackTest
[all …]
/external/webrtc/webrtc/test/
Dfake_network_pipe_unittest.cc47 receiver_.reset(new MockReceiver()); in SetUp()
48 ON_CALL(*receiver_, DeliverPacket(_, _, _, _)) in SetUp()
67 rtc::scoped_ptr<MockReceiver> receiver_; member in webrtc::FakeNetworkPipeTest
79 pipe->SetReceiver(receiver_.get()); in TEST_F()
92 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(0); in TEST_F()
97 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(1); in TEST_F()
102 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(8); in TEST_F()
107 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(1); in TEST_F()
119 pipe->SetReceiver(receiver_.get()); in TEST_F()
131 EXPECT_CALL(*receiver_, DeliverPacket(_, _, _, _)).Times(0); in TEST_F()
[all …]
/external/webrtc/webrtc/modules/audio_coding/acm2/
Dacm_receiver_unittest_oldapi.cc63 receiver_.reset(new AcmReceiver(config)); in AcmReceiverTestOldApi()
69 ASSERT_TRUE(receiver_.get() != NULL); in SetUp()
121 0, receiver_->AddCodec(*i, codecs_[*i].pltype, codecs_[*i].channels, in AddSetOfCodecs()
143 int ret_val = receiver_->InsertPacket( in SendData()
156 rtc::scoped_ptr<AcmReceiver> receiver_; member in webrtc::acm2::AcmReceiverTestOldApi
176 receiver_->AddCodec(n, codecs_[n].pltype, codecs_[n].channels, in TEST_F()
184 EXPECT_EQ(0, receiver_->DecoderByPayloadType(codecs_[n].pltype, in TEST_F()
189 EXPECT_EQ(-1, receiver_->DecoderByPayloadType(codecs_[n].pltype, in TEST_F()
207 EXPECT_EQ(0, receiver_->AddCodec(codec1.id, codec1.inst.pltype, in TEST_F()
210 EXPECT_EQ(0, receiver_->AddCodec(codec1.id, codec2.pltype, codec2.channels, in TEST_F()
[all …]
Daudio_coding_module_impl.cc110 receiver_(config), in AudioCodingModuleImpl()
547 if (receiver_.RemoveAllCodecs() < 0) in InitializeReceiverSafe()
550 receiver_.set_id(id_); in InitializeReceiverSafe()
551 receiver_.ResetInitialDelay(); in InitializeReceiverSafe()
552 receiver_.SetMinimumDelay(0); in InitializeReceiverSafe()
553 receiver_.SetMaximumDelay(0); in InitializeReceiverSafe()
554 receiver_.FlushBuffers(); in InitializeReceiverSafe()
560 if (receiver_.AddCodec(static_cast<int>(i), in InitializeReceiverSafe()
575 const auto last_packet_sample_rate = receiver_.last_packet_sample_rate_hz(); in ReceiveFrequency()
577 : receiver_.last_output_sample_rate_hz(); in ReceiveFrequency()
[all …]
/external/webrtc/webrtc/modules/audio_coding/test/
DPacketLossTest.cc119 receiver_(new ReceiverWithPacketLoss), in PacketLossTest()
156 receiver_->testMode = 0; in Perform()
157 receiver_->codeId = codec_id; in Perform()
159 receiver_->Setup(acm.get(), &rtpFile, "packetLoss_out", channels_, in Perform()
161 receiver_->Run(); in Perform()
162 receiver_->Teardown(); in Perform()
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api_video.cc45 receiver_ = new TestRtpReceiver(); in SetUp()
54 &fake_clock, receiver_, NULL, &rtp_payload_registry_)); in SetUp()
126 delete receiver_; in TearDown()
135 TestRtpReceiver* receiver_; member in webrtc::RtpRtcpVideoTest
183 EXPECT_EQ(0u, receiver_->payload_size()); in TEST_F()
184 EXPECT_EQ(payload_length, receiver_->rtp_header().header.paddingLength); in TEST_F()
/external/v8/tools/clang/blink_gc_plugin/
DCheckDispatchVisitor.cpp13 : receiver_(receiver), in CheckDispatchVisitor()
23 if (fn->getParent() == receiver_->record()) in VisitMemberExpr()
33 if (method->getParent() == receiver_->record() && in VisitUnresolvedMemberExpr()
DCheckDispatchVisitor.h26 RecordInfo* receiver_;
/external/v8/src/
Dlookup-inl.h34 receiver_(receiver), in LookupIterator()
124 DCHECK(receiver_->IsJSReceiver()); in GetStoreTarget()
125 if (receiver_->IsJSGlobalProxy()) { in GetStoreTarget()
126 Map* map = JSGlobalProxy::cast(*receiver_)->map(); in GetStoreTarget()
131 return Handle<T>::cast(receiver_); in GetStoreTarget()
Dkeys.cc257 for (PrototypeIterator iter(isolate_, *receiver_); !iter.IsAtEnd(); in Prepare()
267 receiver_->map()->EnumLength() != kInvalidEnumCacheSentinel && in Prepare()
268 !JSObject::cast(*receiver_)->HasEnumerableElements(); in Prepare()
407 Map* map = receiver_->map(); in GetKeysFast()
413 DCHECK(receiver_->IsJSObject()); in GetKeysFast()
414 Handle<JSObject> object = Handle<JSObject>::cast(receiver_); in GetKeysFast()
421 int enum_length = receiver_->map()->EnumLength(); in GetKeysFast()
443 Handle<JSObject> object = Handle<JSObject>::cast(receiver_); in GetOwnKeysWithUninitializedEnumCache()
470 MAYBE_RETURN(accumulator.CollectKeys(receiver_, receiver_), in GetKeysSlow()
Dkeys.h136 receiver_(receiver), in isolate_()
158 Handle<JSReceiver> receiver_; variable
Dlookup.h72 receiver_(receiver), in configuration_()
128 Handle<Object> GetReceiver() const { return receiver_; } in GetReceiver()
296 const Handle<Object> receiver_; variable
/external/libchrome/mojo/public/cpp/bindings/lib/
Dcontrol_message_proxy.cc126 : receiver_(receiver) { in ControlMessageProxy()
135 SendRunMessage(receiver_, std::move(input_ptr), in QueryVersion()
144 SendRunOrClosePipeMessage(receiver_, std::move(input_ptr)); in RequireVersion()
156 receiver_, std::move(input_ptr), in FlushForTesting()
Dpipe_control_message_proxy.cc36 : receiver_(receiver) {} in PipeControlMessageProxy()
42 ignore_result(receiver_->Accept(&message)); in NotifyPeerEndpointClosed()
/external/libchrome/mojo/public/js/lib/
Dcontrol_message_proxy.js75 this.receiver_ = receiver;
84 return sendRunMessage(this.receiver_, runMessageParams).then(function(
95 this.receiver_.accept(message);
Dpipe_control_message_proxy.js26 this.receiver_ = receiver;
32 this.receiver_.accept(message);
/external/webrtc/talk/media/base/
Drtpdataengine_unittest.cc91 receiver_.reset(new FakeDataReceiver()); in SetUp()
114 receiver_.get(), &FakeDataReceiver::OnDataReceived); in CreateChannel()
119 return receiver_.get(); in receiver()
123 return receiver_->has_received_data(); in HasReceivedData()
127 return receiver_->last_received_data(); in GetReceivedData()
131 return receiver_->last_received_data_len(); in GetReceivedDataLen()
135 return receiver_->last_received_data_params(); in GetReceivedDataParams()
166 rtc::scoped_ptr<FakeDataReceiver> receiver_; member in RtpDataMediaChannelTest
/external/webrtc/webrtc/p2p/base/
Dpseudotcp_unittest.cc321 receiver_(NULL), in PseudoTcpTestPingPong()
330 receiver_ = &remote_; in TestPingPong()
357 if (tcp != receiver_) { in OnTcpReadable()
369 if (receiver_ == &local_ && --iterations_remaining_ == 0) { in OnTcpReadable()
375 PseudoTcp* tmp = receiver_; in OnTcpReadable()
376 receiver_ = sender_; in OnTcpReadable()
397 rcvd = receiver_->Recv(block, sizeof(block)); in ReadData()
432 PseudoTcp* receiver_; member in PseudoTcpTestPingPong
/external/v8/src/debug/
Ddebug-frames.h32 Handle<Object> GetReceiver() { return receiver_; } in GetReceiver()
56 Handle<Object> receiver_; variable
/external/libchrome/ipc/
Dipc_mojo_bootstrap_unittest.cc29 bootstrap_->Connect(&sender_, &receiver_); in Connection()
34 *receiver = std::move(receiver_); in TakeReceiver()
41 IPC::mojom::ChannelAssociatedRequest receiver_; member in __anonc3e02b090111::Connection
/external/libchrome/mojo/public/cpp/bindings/
Dpipe_control_message_proxy.h38 MessageReceiver* receiver_;

12