Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/neteq/
Dnack_unittest.cc31 bool IsNackListCorrect(const std::vector<uint16_t>& nack_list, in IsNackListCorrect() argument
34 if (nack_list.size() != num_lost_packets) in IsNackListCorrect()
40 for (size_t k = 0; k < nack_list.size(); ++k) { in IsNackListCorrect()
41 int seq_num = nack_list[k]; in IsNackListCorrect()
64 std::vector<uint16_t> nack_list; in TEST() local
67 nack_list = nack->GetNackList(kShortRoundTripTimeMs); in TEST()
70 nack_list = nack->GetNackList(kShortRoundTripTimeMs); in TEST()
71 EXPECT_TRUE(nack_list.empty()); in TEST()
81 std::vector<uint16_t> nack_list; in TEST() local
84 nack_list = nack->GetNackList(kShortRoundTripTimeMs); in TEST()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dnack_rtx_unittest.cc220 int BuildNackList(uint16_t* nack_list) { in BuildNackList() argument
239 nack_list[n++] = (*it); in BuildNackList()
262 uint16_t nack_list[kVideoNackListSize]; in RunRtxTest() local
269 int length = BuildNackList(nack_list); in RunRtxTest()
271 rtp_rtcp_module_->SendNACK(nack_list, length); in RunRtxTest()
298 uint16_t nack_list[kNumPacketsToDrop]; in TEST_F() local
320 int length = BuildNackList(nack_list); in TEST_F()
322 rtp_rtcp_module_->SendNACK(nack_list, length); in TEST_F()
327 rtp_rtcp_module_->SendNACK(nack_list, length); in TEST_F()
Drtp_rtcp_impl_unittest.cc382 uint16_t nack_list[kNackLength] = {123}; in TEST_F() local
383 EXPECT_EQ(0, receiver_.impl_->SendNACK(nack_list, kNackLength)); in TEST_F()
459 uint16_t nack_list[kNackLength] = {123}; in TEST_F() local
461 EXPECT_EQ(0, sender_.impl_->SendNACK(nack_list, kNackLength)); in TEST_F()
469 uint16_t nack_list[kNackLength] = {123}; in TEST_F() local
471 EXPECT_EQ(0, sender_.impl_->SendNACK(nack_list, kNackLength)); in TEST_F()
476 EXPECT_EQ(0, sender_.impl_->SendNACK(nack_list, kNackLength)); in TEST_F()
492 uint16_t nack_list[kNackLength] = {123, 125}; in TEST_F() local
494 EXPECT_EQ(0, sender_.impl_->SendNACK(nack_list, kNackLength)); in TEST_F()
501 EXPECT_EQ(0, sender_.impl_->SendNACK(nack_list, kNackLength)); in TEST_F()
[all …]
Drtp_rtcp_impl.cc694 int32_t ModuleRtpRtcpImpl::SendNACK(const uint16_t* nack_list, in SendNACK() argument
697 receive_loss_stats_.AddLostPacket(nack_list[i]); in SendNACK()
707 if (nack_last_seq_number_sent_ == nack_list[size - 1]) { in SendNACK()
713 if (nack_last_seq_number_sent_ == nack_list[i]) { in SendNACK()
726 nack_last_seq_number_sent_ = nack_list[start_id + nack_length - 1]; in SendNACK()
729 GetFeedbackState(), kRtcpNack, nack_length, &nack_list[start_id]); in SendNACK()
Drtcp_sender.cc112 const uint16_t* nack_list, in RtcpContext() argument
120 nack_list_(nack_list), in RtcpContext()
788 const uint16_t* nack_list, in SendRTCP() argument
793 nack_size, nack_list, repeat, pictureID); in SendRTCP()
800 const uint16_t* nack_list, in SendCompoundRTCP() argument
815 RtcpContext context(feedback_state, nack_size, nack_list, repeat, pictureID, in SendCompoundRTCP()
Drtp_rtcp_impl.h220 int32_t SendNACK(const uint16_t* nack_list, uint16_t size) override;
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/
Dnack.cc119 void Nack::WithList(const uint16_t* nack_list, size_t length) { in WithList() argument
120 RTC_DCHECK(nack_list); in WithList()
123 packet_ids_.assign(nack_list, nack_list + length); in WithList()
Dnack.h34 void WithList(const uint16_t* nack_list, size_t length);
/external/webrtc/webrtc/modules/video_coding/
Djitter_buffer_unittest.cc2281 std::vector<uint16_t> nack_list = in TEST_F() local
2285 EXPECT_EQ(0u, nack_list.size()); in TEST_F()
2309 std::vector<uint16_t> nack_list = in TEST_F() local
2314 EXPECT_EQ(0u, nack_list.size()); in TEST_F()
2357 std::vector<uint16_t> nack_list = in TEST_F() local
2360 EXPECT_EQ(0u, nack_list.size()); in TEST_F()
2373 std::vector<uint16_t> nack_list = jitter_buffer_->GetNackList(&extended); in TEST_F() local
2374 EXPECT_EQ(1u, nack_list.size()); in TEST_F()
2392 std::vector<uint16_t> nack_list = jitter_buffer_->GetNackList(&extended); in TEST_F() local
2393 EXPECT_EQ(1u, nack_list.size()); in TEST_F()
[all …]
Dreceiver_unittest.cc168 std::vector<uint16_t> nack_list = receiver_.NackList(&request_key_frame); in TEST_F() local
185 std::vector<uint16_t> nack_list = receiver_.NackList(&request_key_frame); in TEST_F() local
215 std::vector<uint16_t> nack_list = receiver_.NackList(&request_key_frame); in TEST_F() local
247 std::vector<uint16_t> nack_list = receiver_.NackList(&request_key_frame); in TEST_F() local
279 std::vector<uint16_t> nack_list = receiver_.NackList(&request_key_frame); in TEST_F() local
311 std::vector<uint16_t> nack_list = receiver_.NackList(&request_key_frame); in TEST_F() local
Djitter_buffer.cc1049 std::vector<uint16_t> nack_list(missing_sequence_numbers_.begin(), in GetNackList() local
1051 return nack_list; in GetNackList()
/external/webrtc/webrtc/voice_engine/
Dchannel.cc498 std::vector<uint16_t> nack_list = audio_coding_->GetNackList( in OnReceivedPayloadData() local
500 if (!nack_list.empty()) { in OnReceivedPayloadData()
503 ResendPackets(&(nack_list[0]), static_cast<int>(nack_list.size())); in OnReceivedPayloadData()