Home
last modified time | relevance | path

Searched refs:seq_num (Results 1 – 25 of 63) sorted by relevance

123

/external/webrtc/webrtc/modules/audio_coding/neteq/
Dnack_unittest.cc41 int seq_num = nack_list[k]; in IsNackListCorrect() local
44 if (seq_num == lost_sequence_numbers[n]) { in IsNackListCorrect()
61 int seq_num = 1; in TEST() local
66 nack->UpdateLastReceivedPacket(seq_num, timestamp); in TEST()
68 seq_num++; in TEST()
79 int seq_num = 1; in TEST() local
83 nack->UpdateLastReceivedPacket(seq_num, timestamp); in TEST()
91 seq_num + num_late_packets, in TEST()
114 uint16_t seq_num = sequence_num_lost_packets[0] - 1; in TEST() local
119 nack->UpdateLastReceivedPacket(seq_num, timestamp); in TEST()
[all …]
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dforward_error_correction.cc77 return IsNewerSequenceNumber(second->seq_num, first->seq_num); in LessThan()
276 uint16_t seq_num = ParseSequenceNumber((*media_list_it)->data); in GenerateFecBitStrings() local
277 media_pkt_idx += static_cast<uint16_t>(seq_num - prev_seq_num); in GenerateFecBitStrings()
278 prev_seq_num = seq_num; in GenerateFecBitStrings()
333 uint16_t seq_num = ParseSequenceNumber((*it)->data); in InsertZerosInBitMasks() local
335 static_cast<uint16_t>(seq_num - prev_seq_num - 1); in InsertZerosInBitMasks()
345 prev_seq_num = seq_num; in InsertZerosInBitMasks()
489 if (rx_packet->seq_num == (*recovered_packet_list_it)->seq_num) { in InsertMediaPacket()
501 recoverd_packet_to_insert->seq_num = rx_packet->seq_num; in InsertMediaPacket()
520 (*protected_it)->seq_num == packet->seq_num) { in UpdateCoveringFECPackets()
[all …]
Dproducer_fec_unittest.cc22 void VerifyHeader(uint16_t seq_num, in VerifyHeader() argument
34 EXPECT_EQ(seq_num, (data[2] << 8) + data[3]); in VerifyHeader()
67 uint16_t seq_num; in TEST_F() member
90 ByteWriter<uint16_t>::WriteBigEndian(&packet[2], p.seq_num); in TEST_F()
128 uint16_t seq_num = generator_->NextSeqNum(); in TEST_F() local
131 seq_num, in TEST_F()
135 VerifyHeader(seq_num, last_timestamp, in TEST_F()
171 uint16_t seq_num = generator_->NextSeqNum(); in TEST_F() local
174 seq_num, in TEST_F()
178 VerifyHeader(seq_num, last_timestamp, kRedPayloadType, kFecPayloadType, in TEST_F()
Dproducer_fec.cc63 void RedPacket::SetSeqNum(int seq_num) { in SetSeqNum() argument
64 assert(seq_num >= 0 && seq_num < (1<<16)); in SetSeqNum()
66 ByteWriter<uint16_t>::WriteBigEndian(&data_[2], seq_num); in SetSeqNum()
Drtp_sender_video.cc101 uint16_t seq_num, in SendVideoPacket() argument
111 "seqnum", seq_num); in SendVideoPacket()
113 LOG(LS_WARNING) << "Failed to send video packet " << seq_num; in SendVideoPacket()
Dfec_receiver_impl.cc101 received_packet->seq_num = header.sequenceNumber; in AddReceivedRedPacket()
167 second_received_packet->seq_num = header.sequenceNumber; in AddReceivedRedPacket()
Drtp_packet_history_unittest.cc42 void CreateRtpPacket(uint16_t seq_num, uint32_t ssrc, uint8_t payload, in CreateRtpPacket() argument
46 array[(*cur_pos)++] = seq_num >> 8; in CreateRtpPacket()
47 array[(*cur_pos)++] = seq_num; in CreateRtpPacket()
/external/webrtc/talk/media/base/
Drtputils_unittest.cc87 int seq_num; in TEST() local
88 EXPECT_TRUE(GetRtpSeqNum(kPcmuFrame, sizeof(kPcmuFrame), &seq_num)); in TEST()
89 EXPECT_EQ(1, seq_num); in TEST()
102 EXPECT_EQ(1, header.seq_num); in TEST()
107 EXPECT_FALSE(GetRtpSeqNum(kInvalidPacket, sizeof(kInvalidPacket), &seq_num)); in TEST()
127 EXPECT_EQ(1111, header.seq_num); in TEST()
Drtpdataengine.cc106 void RtpClock::Tick(double now, int* seq_num, uint32_t* timestamp) { in Tick() argument
107 *seq_num = ++last_seq_num_; in Tick()
248 << header.ssrc << ":" << header.seq_num in OnPacketReceived()
280 params.seq_num = header.seq_num; in OnPacketReceived()
347 now, &header.seq_num, &header.timestamp); in SendData()
358 << ", seqnum=" << header.seq_num in SendData()
Drtputils.cc148 GetRtpSeqNum(data, len, &(header->seq_num)) && in GetRtpHeader()
181 header.seq_num < 0 || header.seq_num > UINT16_MAX) { in SetRtpHeader()
187 static_cast<uint16_t>(header.seq_num)) && in SetRtpHeader()
Drtpdataengine_unittest.cc289 EXPECT_NE(0, header0.seq_num); in TEST_F()
305 EXPECT_EQ(static_cast<uint16_t>(header0.seq_num + 1), in TEST_F()
306 static_cast<uint16_t>(header1.seq_num)); in TEST_F()
365 EXPECT_EQ(static_cast<uint16_t>(header1a.seq_num + 1), in TEST_F()
366 static_cast<uint16_t>(header1b.seq_num)); in TEST_F()
368 EXPECT_EQ(static_cast<uint16_t>(header2a.seq_num + 1), in TEST_F()
369 static_cast<uint16_t>(header2b.seq_num)); in TEST_F()
Drtpdump_unittest.cc48 int seq_num; in TEST() local
57 EXPECT_TRUE(rtp_packet.GetRtpSeqNum(&seq_num)); in TEST()
58 EXPECT_EQ(0, seq_num); in TEST()
/external/webrtc/webrtc/modules/video_coding/test/
Drtp_player.cc47 uint16_t seq_num) in RawRtpPacket() argument
52 seq_num_(seq_num) { in RawRtpPacket()
62 uint16_t seq_num() const { return seq_num_; } in seq_num() function in webrtc::rtpplayer::RawRtpPacket
99 printf("Throw: %08x:%u\n", packet->ssrc(), packet->seq_num()); in AddPacket()
103 packet->seq_num()); in AddPacket()
115 if (ssrc == packet->ssrc() && resendSeqNum == packet->seq_num() && in SetResendTime()
118 fprintf(debug_file_, "Resend %u at %u\n", packet->seq_num(), in SetResendTime()
157 fprintf(debug_file_, "Resent %u at %u\n", packet->seq_num(), in LogPacketResent()
170 printf("%u, ", (*it)->seq_num()); in Print()
355 printf("Resend: %08x:%u\n", packet->ssrc(), packet->seq_num()); in NextPacket()
[all …]
/external/wpa_supplicant_8/src/ap/
Diapp.c79 be16 seq_num; member
100 u16 seq_num; member
111 u16 seq_num; member
128 u16 seq_num; member
141 u16 seq_num; member
174 static void iapp_send_add(struct iapp_data *iapp, u8 *mac_addr, u16 seq_num) in iapp_send_add() argument
195 add->seq_num = host_to_be16(seq_num); in iapp_send_add()
279 be_to_host16(add->seq_num), in iapp_process_add_notify()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dbwe.cc197 uint16_t seq_num = (*node_it)->sequence_number; in RecentPacketLossRatio() local
198 if (IsNewerSequenceNumber(seq_num, newest_seq_num)) { in RecentPacketLossRatio()
199 newest_seq_num = seq_num; in RecentPacketLossRatio()
201 if (IsNewerSequenceNumber(oldest_seq_num, seq_num)) { in RecentPacketLossRatio()
202 oldest_seq_num = seq_num; in RecentPacketLossRatio()
Dpacket_sender.h157 InFlight(uint16_t seq_num, int64_t now_ms) in InFlight()
158 : sequence_number(seq_num), time_ms(now_ms) {} in InFlight()
/external/webrtc/webrtc/modules/audio_coding/test/
Dinsert_packet_with_timing.cc37 DEFINE_string(seq_num, "seq_num", "Sequence number file.");
169 int seq_num = SequenceNumber(); in TickOneMillisecond() local
172 channel_->set_sequence_number(seq_num); in TickOneMillisecond()
180 std::cout << "\nInserting packet number " << seq_num in TickOneMillisecond()
183 std::cout << "\nLost packet number " << seq_num in TickOneMillisecond()
/external/boringssl/src/ssl/
Ddtls_record.c138 const uint8_t seq_num[8]) { in dtls1_bitmap_should_discard()
141 uint64_t seq_num_u = to_u64_be(seq_num); in dtls1_bitmap_should_discard()
153 const uint8_t seq_num[8]) { in dtls1_bitmap_record()
156 uint64_t seq_num_u = to_u64_be(seq_num); in dtls1_bitmap_record()
/external/srtp/srtp/
Dsrtp.c1457 uint32_t seq_num; in srtp_protect_rtcp() local
1549 seq_num = rdb_get_value(&stream->rtcp_rdb); in srtp_protect_rtcp()
1550 *trailer |= htonl(seq_num); in srtp_protect_rtcp()
1551 debug_print(mod_srtp, "srtcp index: %x", seq_num); in srtp_protect_rtcp()
1561 iv.v32[2] = htonl(seq_num >> 16); in srtp_protect_rtcp()
1562 iv.v32[3] = htonl(seq_num << 16); in srtp_protect_rtcp()
1572 iv.v32[3] = htonl(seq_num); in srtp_protect_rtcp()
1643 uint32_t seq_num; in srtp_unprotect_rtcp() local
1744 seq_num = ntohl(*trailer) & SRTCP_INDEX_MASK; in srtp_unprotect_rtcp()
1745 debug_print(mod_srtp, "srtcp index: %x", seq_num); in srtp_unprotect_rtcp()
[all …]
/external/webrtc/webrtc/test/fuzzers/
Dproducer_fec_fuzzer.cc27 uint16_t seq_num = data[i++]; in FuzzOneInput() local
37 ByteWriter<uint16_t>::WriteBigEndian(&packet[2], seq_num++); in FuzzOneInput()
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api_video.cc156 uint32_t seq_num = 0; in TEST_F() local
169 size_t packet_size = PaddingPacket(padding_packet, timestamp, seq_num, in TEST_F()
171 ++seq_num; in TEST_F()
/external/mesa3d/src/gallium/state_trackers/egl/common/
Dnative.h142 unsigned int *seq_num, struct pipe_resource **textures,
263 unsigned int seq_num);
/external/webrtc/webrtc/modules/video_coding/
Dsession_info.cc555 void VCMSessionInfo::InformOfEmptyPacket(uint16_t seq_num) { in InformOfEmptyPacket() argument
561 empty_seq_num_high_ = seq_num; in InformOfEmptyPacket()
563 empty_seq_num_high_ = LatestSequenceNumber(seq_num, empty_seq_num_high_); in InformOfEmptyPacket()
565 IsNewerSequenceNumber(empty_seq_num_low_, seq_num)) in InformOfEmptyPacket()
566 empty_seq_num_low_ = seq_num; in InformOfEmptyPacket()
/external/mesa3d/src/gallium/state_trackers/egl/gdi/
Dnative_gdi.c188 unsigned int *seq_num, struct pipe_resource **textures, in gdi_surface_validate() argument
197 if (seq_num) in gdi_surface_validate()
198 *seq_num = gsurf->client_stamp; in gdi_surface_validate()
/external/tcpdump/
Dprint-lwapp.c65 uint8_t seq_num; member
233 lwapp_control_header->seq_num, in lwapp_control_print()

123