Home
last modified time | relevance | path

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

/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/
Dnack_unittest.cc34 bool IsNackListCorrect(const std::vector<uint16_t>& nack_list, in IsNackListCorrect() argument
37 if (nack_list.size() != num_lost_packets) in IsNackListCorrect()
43 for (size_t k = 0; k < nack_list.size(); ++k) { in IsNackListCorrect()
44 int seq_num = nack_list[k]; in IsNackListCorrect()
67 std::vector<uint16_t> nack_list; in TEST() local
70 nack_list = nack->GetNackList(kShortRoundTripTimeMs); in TEST()
73 nack_list = nack->GetNackList(kShortRoundTripTimeMs); in TEST()
74 EXPECT_TRUE(nack_list.empty()); in TEST()
84 std::vector<uint16_t> nack_list; in TEST() local
87 nack_list = nack->GetNackList(kShortRoundTripTimeMs); in TEST()
[all …]
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/
Dreceiver_unittest.cc172 uint16_t nack_list[kMaxNackListSize]; in TEST_F() local
174 VCMNackStatus ret = receiver_.NackList(nack_list, kMaxNackListSize, in TEST_F()
191 uint16_t nack_list[kMaxNackListSize]; in TEST_F() local
193 VCMNackStatus ret = receiver_.NackList(nack_list, kMaxNackListSize, in TEST_F()
224 uint16_t nack_list[kMaxNackListSize]; in TEST_F() local
226 VCMNackStatus ret = receiver_.NackList(nack_list, kMaxNackListSize, in TEST_F()
259 uint16_t nack_list[kMaxNackListSize]; in TEST_F() local
261 VCMNackStatus ret = receiver_.NackList(nack_list, kMaxNackListSize, in TEST_F()
294 uint16_t nack_list[kMaxNackListSize]; in TEST_F() local
296 VCMNackStatus ret = receiver_.NackList(nack_list, kMaxNackListSize, in TEST_F()
[all …]
Dreceiver.cc250 VCMNackStatus VCMReceiver::NackList(uint16_t* nack_list, in NackList() argument
258 memcpy(nack_list, internal_nack_list, *nack_list_length * sizeof(uint16_t)); in NackList()
Djitter_buffer_unittest.cc1752 uint16_t* nack_list = jitter_buffer_->GetNackList(&nack_list_length, in TEST_F() local
1756 EXPECT_TRUE(nack_list == NULL); in TEST_F()
1763 EXPECT_TRUE(nack_list == NULL); in TEST_F()
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Dnack_rtx_unittest.cc222 int BuildNackList(uint16_t* nack_list) { in BuildNackList() argument
243 nack_list[n++] = (*it); in BuildNackList()
264 uint16_t nack_list[kVideoNackListSize]; in RunRtxTest() local
272 int length = BuildNackList(nack_list); in RunRtxTest()
274 rtp_rtcp_module_->SendNACK(nack_list, length); in RunRtxTest()
303 uint16_t nack_list[kNumPacketsToDrop]; in TEST_F() local
328 int length = BuildNackList(nack_list); in TEST_F()
330 rtp_rtcp_module_->SendNACK(nack_list, length); in TEST_F()
335 rtp_rtcp_module_->SendNACK(nack_list, length); in TEST_F()
Drtp_rtcp_impl.cc928 int32_t ModuleRtpRtcpImpl::SendNACK(const uint16_t* nack_list, in SendNACK() argument
951 if (nack_last_seq_number_sent_ == nack_list[size - 1]) { in SendNACK()
958 if (nack_last_seq_number_sent_ == nack_list[i]) { in SendNACK()
971 nack_last_seq_number_sent_ = nack_list[start_id + nackLength - 1]; in SendNACK()
974 GetFeedbackState(), kRtcpNack, nackLength, &nack_list[start_id]); in SendNACK()
Drtcp_packet.cc905 void Nack::WithList(const uint16_t* nack_list, int length) { in WithList() argument
906 assert(nack_list); in WithList()
910 uint16_t pid = nack_list[i++]; in WithList()
914 int shift = static_cast<uint16_t>(nack_list[i] - pid) - 1; in WithList()
Drtp_rtcp_impl_unittest.cc321 uint16_t nack_list[kNackLength] = {123}; in TEST_F() local
322 EXPECT_EQ(0, receiver_.impl_->SendNACK(nack_list, kNackLength)); in TEST_F()
Drtp_rtcp_impl.h241 virtual int32_t SendNACK(const uint16_t* nack_list,
Drtcp_packet.h594 void WithList(const uint16_t* nack_list, int length);
/external/chromium_org/media/cast/net/rtcp/
Drtcp_defines.h67 std::list<uint16> nack_list; member
/external/chromium_org/third_party/webrtc/voice_engine/
Dchannel.cc551 std::vector<uint16_t> nack_list = audio_coding_->GetNackList( in OnReceivedPayloadData() local
553 if (!nack_list.empty()) { in OnReceivedPayloadData()
556 ResendPackets(&(nack_list[0]), static_cast<int>(nack_list.size())); in OnReceivedPayloadData()