Home
last modified time | relevance | path

Searched refs:nack_list (Results 1 – 21 of 21) sorted by relevance

/external/webrtc/modules/audio_coding/neteq/
Dnack_tracker_unittest.cc30 bool IsNackListCorrect(const std::vector<uint16_t>& nack_list, in IsNackListCorrect() argument
33 if (nack_list.size() != num_lost_packets) in IsNackListCorrect()
39 for (size_t k = 0; k < nack_list.size(); ++k) { in IsNackListCorrect()
40 int seq_num = nack_list[k]; in IsNackListCorrect()
63 std::vector<uint16_t> nack_list; in TEST() local
66 nack_list = nack.GetNackList(kShortRoundTripTimeMs); in TEST()
69 nack_list = nack.GetNackList(kShortRoundTripTimeMs); in TEST()
70 EXPECT_TRUE(nack_list.empty()); in TEST()
92 std::vector<uint16_t> nack_list; in TEST() local
95 nack_list = nack.GetNackList(kShortRoundTripTimeMs); in TEST()
[all …]
/external/webrtc/modules/rtp_rtcp/source/
Dnack_rtx_unittest.cc166 int BuildNackList(uint16_t* nack_list) { in BuildNackList() argument
185 nack_list[n++] = (*it); in BuildNackList()
205 uint16_t nack_list[kVideoNackListSize]; in RunRtxTest() local
216 int length = BuildNackList(nack_list); in RunRtxTest()
218 rtp_rtcp_module_->SendNACK(nack_list, length); in RunRtxTest()
246 uint16_t nack_list[kNumPacketsToDrop]; in TEST_F() local
271 int length = BuildNackList(nack_list); in TEST_F()
273 rtp_rtcp_module_->SendNACK(nack_list, length); in TEST_F()
278 rtp_rtcp_module_->SendNACK(nack_list, length); in TEST_F()
Drtp_rtcp_impl_unittest.cc363 uint16_t nack_list[kNackLength] = {123}; in TEST_F() local
364 EXPECT_EQ(0, receiver_.impl_->SendNACK(nack_list, kNackLength)); in TEST_F()
408 uint16_t nack_list[kNackLength] = {123}; in TEST_F() local
412 EXPECT_EQ(0, sender_.impl_->SendNACK(nack_list, kNackLength)); in TEST_F()
420 uint16_t nack_list[kNackLength] = {123}; in TEST_F() local
424 EXPECT_EQ(0, sender_.impl_->SendNACK(nack_list, kNackLength)); in TEST_F()
429 EXPECT_EQ(0, sender_.impl_->SendNACK(nack_list, kNackLength)); in TEST_F()
445 uint16_t nack_list[kNackLength] = {123, 125}; in TEST_F() local
449 EXPECT_EQ(0, sender_.impl_->SendNACK(nack_list, kNackLength)); in TEST_F()
456 EXPECT_EQ(0, sender_.impl_->SendNACK(nack_list, kNackLength)); in TEST_F()
[all …]
Drtp_rtcp_impl2_unittest.cc494 uint16_t nack_list[kNackLength] = {123}; in TEST_F() local
495 EXPECT_EQ(0, receiver_.impl_->SendNACK(nack_list, kNackLength)); in TEST_F()
549 uint16_t nack_list[kNackLength] = {123}; in TEST_F() local
553 EXPECT_EQ(0, sender_.impl_->SendNACK(nack_list, kNackLength)); in TEST_F()
561 uint16_t nack_list[kNackLength] = {123}; in TEST_F() local
565 EXPECT_EQ(0, sender_.impl_->SendNACK(nack_list, kNackLength)); in TEST_F()
570 EXPECT_EQ(0, sender_.impl_->SendNACK(nack_list, kNackLength)); in TEST_F()
586 uint16_t nack_list[kNackLength] = {123, 125}; in TEST_F() local
590 EXPECT_EQ(0, sender_.impl_->SendNACK(nack_list, kNackLength)); in TEST_F()
597 EXPECT_EQ(0, sender_.impl_->SendNACK(nack_list, kNackLength)); in TEST_F()
[all …]
Drtcp_sender.cc110 const uint16_t* nack_list, in RtcpContext() argument
114 nack_list_(nack_list), in RtcpContext()
661 const uint16_t* nack_list) { in SendRTCP() argument
676 nack_size, nack_list, *sender); in SendRTCP()
690 const uint16_t* nack_list, in ComputeCompoundRTCPPacket() argument
717 RtcpContext context(feedback_state, nack_size, nack_list, in ComputeCompoundRTCPPacket()
Drtp_rtcp_impl.cc599 int32_t ModuleRtpRtcpImpl::SendNACK(const uint16_t* nack_list, in SendNACK() argument
608 if (nack_last_seq_number_sent_ == nack_list[size - 1]) { in SendNACK()
614 if (nack_last_seq_number_sent_ == nack_list[i]) { in SendNACK()
627 nack_last_seq_number_sent_ = nack_list[start_id + nack_length - 1]; in SendNACK()
630 &nack_list[start_id]); in SendNACK()
Drtp_rtcp_impl2.cc583 int32_t ModuleRtpRtcpImpl2::SendNACK(const uint16_t* nack_list, in SendNACK() argument
592 if (nack_last_seq_number_sent_ == nack_list[size - 1]) { in SendNACK()
598 if (nack_last_seq_number_sent_ == nack_list[i]) { in SendNACK()
611 nack_last_seq_number_sent_ = nack_list[start_id + nack_length - 1]; in SendNACK()
614 &nack_list[start_id]); in SendNACK()
Drtp_rtcp_impl2.h231 int32_t SendNACK(const uint16_t* nack_list, uint16_t size) override;
Drtp_rtcp_interface.h429 virtual int32_t SendNACK(const uint16_t* nack_list, uint16_t size) = 0;
Drtp_rtcp_impl.h221 int32_t SendNACK(const uint16_t* nack_list, uint16_t size) override;
Drtcp_sender.h192 const uint16_t* nack_list,
/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dnack.cc127 void Nack::SetPacketIds(const uint16_t* nack_list, size_t length) { in SetPacketIds() argument
128 RTC_DCHECK(nack_list); in SetPacketIds()
129 SetPacketIds(std::vector<uint16_t>(nack_list, nack_list + length)); in SetPacketIds()
132 void Nack::SetPacketIds(std::vector<uint16_t> nack_list) { in SetPacketIds() argument
135 packet_ids_ = std::move(nack_list); in SetPacketIds()
Dnack.h32 void SetPacketIds(const uint16_t* nack_list, size_t length);
33 void SetPacketIds(std::vector<uint16_t> nack_list);
/external/webrtc/modules/video_coding/
Djitter_buffer_unittest.cc1556 std::vector<uint16_t> nack_list = in TEST_F() local
1560 EXPECT_EQ(0u, nack_list.size()); in TEST_F()
1585 std::vector<uint16_t> nack_list = in TEST_F() local
1590 EXPECT_EQ(0u, nack_list.size()); in TEST_F()
1632 std::vector<uint16_t> nack_list = in TEST_F() local
1635 EXPECT_EQ(0u, nack_list.size()); in TEST_F()
1648 std::vector<uint16_t> nack_list = jitter_buffer_->GetNackList(&extended); in TEST_F() local
1649 EXPECT_EQ(1u, nack_list.size()); in TEST_F()
1667 std::vector<uint16_t> nack_list = jitter_buffer_->GetNackList(&extended); in TEST_F() local
1669 EXPECT_EQ(1u, nack_list.size()); in TEST_F()
[all …]
Dreceiver_unittest.cc101 std::vector<uint16_t> nack_list = receiver_.NackList(&request_key_frame); in TEST_F() local
116 std::vector<uint16_t> nack_list = receiver_.NackList(&request_key_frame); in TEST_F() local
144 std::vector<uint16_t> nack_list = receiver_.NackList(&request_key_frame); in TEST_F() local
174 std::vector<uint16_t> nack_list = receiver_.NackList(&request_key_frame); in TEST_F() local
204 std::vector<uint16_t> nack_list = receiver_.NackList(&request_key_frame); in TEST_F() local
234 std::vector<uint16_t> nack_list = receiver_.NackList(&request_key_frame); in TEST_F() local
Djitter_buffer.cc664 std::vector<uint16_t> nack_list(missing_sequence_numbers_.begin(), in GetNackList() local
666 return nack_list; in GetNackList()
/external/webrtc/audio/
Dchannel_receive.cc347 std::vector<uint16_t> nack_list = acm_receiver_.GetNackList(round_trip_time); in OnReceivedPayloadData() local
348 if (!nack_list.empty()) { in OnReceivedPayloadData()
351 ResendPackets(&(nack_list[0]), static_cast<int>(nack_list.size())); in OnReceivedPayloadData()
/external/webrtc/video/end_to_end_tests/
Dretransmission_tests.cc173 uint16_t nack_list[] = {*sequence_number_to_retransmit_}; in TEST_F() local
174 nack.SetPacketIds(nack_list, 1); in TEST_F()
/external/webrtc/modules/rtp_rtcp/mocks/
Dmock_rtp_rtcp.h162 (const uint16_t* nack_list, uint16_t size),
/external/webrtc/logging/rtc_event_log/
Drtc_event_log_unittest_helper.cc317 std::vector<uint16_t> nack_list; in NewNack() local
318 nack_list.push_back(base_seq_no); in NewNack()
321 nack_list.push_back(base_seq_no + i); in NewNack()
323 nack.SetPacketIds(nack_list); in NewNack()
Drtc_event_log_parser.cc679 std::vector<LoggedRtcpPacketNack>* nack_list, in StoreRtcpBlocks() argument
753 nack_list->push_back(std::move(parsed_block)); in StoreRtcpBlocks()