Home
last modified time | relevance | path

Searched refs:new_packet (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/neteq/
Dpayload_splitter.cc52 Packet* new_packet = new Packet; in SplitRed() local
53 new_packet->header = red_packet->header; in SplitRed()
57 new_packet->header.payloadType = payload_ptr[0] & 0x7F; in SplitRed()
61 new_packet->payload_length = red_packet->payload_length - sum_length; in SplitRed()
62 new_packet->primary = true; // Last block is always primary. in SplitRed()
68 new_packet->header.timestamp = red_packet->header.timestamp - in SplitRed()
71 new_packet->payload_length = ((payload_ptr[2] & 0x03) << 8) + in SplitRed()
73 new_packet->primary = false; in SplitRed()
76 sum_length += new_packet->payload_length; in SplitRed()
79 new_packets.push_back(new_packet); in SplitRed()
[all …]
Dpacket_buffer.cc29 explicit NewTimestampIsLarger(const Packet* new_packet) in NewTimestampIsLarger() argument
30 : new_packet_(new_packet) { in NewTimestampIsLarger()
/external/webrtc/webrtc/modules/audio_coding/neteq/test/
DRTPchange.cc96 NETEQTEST_RTPpacket *new_packet = new NETEQTEST_DummyRTPpacket(); in main() local
98 NETEQTEST_RTPpacket *new_packet = new NETEQTEST_RTPpacket(); in main()
100 if (new_packet->readFromFile(in_file) < 0) { in main()
107 std::pair<uint16_t, uint32_t>(new_packet->sequenceNumber(), in main()
108 new_packet->timeStamp()); in main()
111 new_packet->setTime(new_send_time); // Set new send time. in main()
112 packet_vec.push_back(new_packet); // Insert in vector. in main()
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/
Dbwe_test_framework.cc740 MediaPacket* new_packet = in RunFor() local
742 new_packets.push_back(new_packet); in RunFor()
743 new_packet->SetAbsSendTimeMs(next_frame_ms); in RunFor()
744 new_packet->set_sender_timestamp_us(send_time_us); in RunFor()
/external/webrtc/webrtc/video/
Dvideo_send_stream_tests.cc1902 bool new_packet = packets_sent_ == 0 || in OnSendRtp() local
1905 if (payload_length > 0 && new_packet) { in OnSendRtp()
/external/googletest/googlemock/docs/
DCookBook.md131 void AppendPacket(Packet* new_packet);