/external/webrtc/modules/audio_coding/neteq/ |
D | nack_tracker_unittest.cc | 30 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/ |
D | nack_rtx_unittest.cc | 166 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()
|
D | rtp_rtcp_impl_unittest.cc | 363 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 …]
|
D | rtp_rtcp_impl2_unittest.cc | 494 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 …]
|
D | rtcp_sender.cc | 110 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()
|
D | rtp_rtcp_impl.cc | 599 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()
|
D | rtp_rtcp_impl2.cc | 583 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()
|
D | rtp_rtcp_impl2.h | 231 int32_t SendNACK(const uint16_t* nack_list, uint16_t size) override;
|
D | rtp_rtcp_interface.h | 429 virtual int32_t SendNACK(const uint16_t* nack_list, uint16_t size) = 0;
|
D | rtp_rtcp_impl.h | 221 int32_t SendNACK(const uint16_t* nack_list, uint16_t size) override;
|
D | rtcp_sender.h | 192 const uint16_t* nack_list,
|
/external/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
D | nack.cc | 127 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()
|
D | nack.h | 32 void SetPacketIds(const uint16_t* nack_list, size_t length); 33 void SetPacketIds(std::vector<uint16_t> nack_list);
|
/external/webrtc/modules/video_coding/ |
D | jitter_buffer_unittest.cc | 1556 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 …]
|
D | receiver_unittest.cc | 101 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
|
D | jitter_buffer.cc | 664 std::vector<uint16_t> nack_list(missing_sequence_numbers_.begin(), in GetNackList() local 666 return nack_list; in GetNackList()
|
/external/webrtc/audio/ |
D | channel_receive.cc | 347 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/ |
D | retransmission_tests.cc | 173 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/ |
D | mock_rtp_rtcp.h | 162 (const uint16_t* nack_list, uint16_t size),
|
/external/webrtc/logging/rtc_event_log/ |
D | rtc_event_log_unittest_helper.cc | 317 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()
|
D | rtc_event_log_parser.cc | 679 std::vector<LoggedRtcpPacketNack>* nack_list, in StoreRtcpBlocks() argument 753 nack_list->push_back(std::move(parsed_block)); in StoreRtcpBlocks()
|