Home
last modified time | relevance | path

Searched refs:packet_header (Results 1 – 20 of 20) sorted by relevance

/external/chromium_org/chrome/browser/media/
Dwebrtc_rtp_dump_writer_unittest.cc24 std::vector<uint8>* packet_header) { in CreateFakeRtpPacketHeader() argument
25 packet_header->resize(kMinimumRtpHeaderLength + csrc_count * sizeof(uint32) + in CreateFakeRtpPacketHeader()
28 memset(&(*packet_header)[0], 0, packet_header->size()); in CreateFakeRtpPacketHeader()
32 (*packet_header)[0] = 0; in CreateFakeRtpPacketHeader()
33 (*packet_header)[0] |= (0x2 << 6); // version. in CreateFakeRtpPacketHeader()
35 (*packet_header)[0] |= (extension_header_count > 0 ? (0x1 << 4) : 0); in CreateFakeRtpPacketHeader()
36 (*packet_header)[0] |= (csrc_count & 0xf); in CreateFakeRtpPacketHeader()
41 base::WriteBigEndian(reinterpret_cast<char*>(&(*packet_header)[offset]), in CreateFakeRtpPacketHeader()
248 std::vector<uint8> packet_header; in TEST_F() local
249 CreateFakeRtpPacketHeader(1, 2, &packet_header); in TEST_F()
[all …]
Dwebrtc_logging_handler_host.h95 void OnRtpPacket(scoped_ptr<uint8[]> packet_header,
170 void DumpRtpPacketOnIOThread(scoped_ptr<uint8[]> packet_header,
Dwebrtc_rtp_dump_handler.h75 void OnRtpPacket(const uint8* packet_header,
Dwebrtc_logging_handler_host.cc284 void WebRtcLoggingHandlerHost::OnRtpPacket(scoped_ptr<uint8[]> packet_header, in OnRtpPacket() argument
295 base::Passed(&packet_header), in OnRtpPacket()
302 scoped_ptr<uint8[]> packet_header, in DumpRtpPacketOnIOThread() argument
312 packet_header.get(), header_length, packet_length, incoming); in DumpRtpPacketOnIOThread()
Dwebrtc_rtp_dump_writer.h48 virtual void WriteRtpPacket(const uint8* packet_header,
Dwebrtc_rtp_dump_handler.cc210 void WebRtcRtpDumpHandler::OnRtpPacket(const uint8* packet_header, in OnRtpPacket() argument
222 packet_header, header_length, packet_length, incoming); in OnRtpPacket()
Dwebrtc_rtp_dump_writer.cc278 void WebRtcRtpDumpWriter::WriteRtpPacket(const uint8* packet_header, in WriteRtpPacket() argument
313 AppendToBuffer(packet_header, header_length, dest_buffer); in WriteRtpPacket()
Dwebrtc_rtp_dump_handler_unittest.cc31 virtual void WriteRtpPacket(const uint8* packet_header, in WriteRtpPacket() argument
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
Ddecision_logic_fax.cc26 const RTPHeader* packet_header, in GetDecisionSpecialized() argument
34 if (packet_header) { in GetDecisionSpecialized()
35 available_timestamp = packet_header->timestamp; in GetDecisionSpecialized()
37 decoder_database_->IsComfortNoise(packet_header->payloadType); in GetDecisionSpecialized()
49 if (!packet_header) { in GetDecisionSpecialized()
Ddecision_logic_normal.cc31 const RTPHeader* packet_header, in GetDecisionSpecialized() argument
38 if (!packet_header) { in GetDecisionSpecialized()
48 if (packet_header) { in GetDecisionSpecialized()
49 available_timestamp = packet_header->timestamp; in GetDecisionSpecialized()
51 decoder_database_->IsComfortNoise(packet_header->payloadType); in GetDecisionSpecialized()
59 if (!packet_header) { in GetDecisionSpecialized()
Ddecision_logic.h79 const RTPHeader* packet_header,
138 const RTPHeader* packet_header,
Ddecision_logic.cc108 const RTPHeader* packet_header, in GetDecision() argument
144 packet_header, prev_mode, play_dtmf, in GetDecision()
Ddecision_logic_fax.h53 const RTPHeader* packet_header,
Ddecision_logic_normal.h57 const RTPHeader* packet_header,
/external/libpcap/
Dpcap-enet.c36 struct packet_header { struct
55 register struct packet_header *ph; in readloop() argument
64 struct packet_header hdr; in readloop()
79 ph = (struct packet_header *)bp; in readloop()
Dpcap-sita.c941 unsigned char packet_header[HEADER_SIZE]; local
948 handle->bp = packet_header;
951 pcap_header.ts.tv_sec = ntohl(*(uint32_t *)&packet_header[0]); /* tv_sec */
952 pcap_header.ts.tv_usec = ntohl(*(uint32_t *)&packet_header[4]); /* tv_usec */
953 pcap_header.caplen = ntohl(*(uint32_t *)&packet_header[8]); /* caplen */
954 pcap_header.len = ntohl(*(uint32_t *)&packet_header[12]); /* len */
/external/qemu/android/
Dsdk-controller-socket.c316 SDKCtlPacketHeader packet_header; member
1372 async_socket_read_rel(dispatcher->sdkctl->as, &dispatcher->packet_header, in _sdkctl_io_dispatcher_start()
1458 dispatcher->sdkctl->service_name, dispatcher->packet_header.type, in _on_io_dispatcher_packet_header()
1459 dispatcher->packet_header.size); in _on_io_dispatcher_packet_header()
1462 if (dispatcher->packet_header.signature != _sdkctl_packet_sig) { in _on_io_dispatcher_packet_header()
1464 sdkctl->service_name, dispatcher->packet_header.signature, in _on_io_dispatcher_packet_header()
1465 dispatcher->packet_header.type, dispatcher->packet_header.size); in _on_io_dispatcher_packet_header()
1481 if (dispatcher->packet_header.type == SDKCTL_PACKET_QUERY_RESPONSE) { in _on_io_dispatcher_packet_header()
1496 _sdkctl_packet_new(sdkctl, dispatcher->packet_header.size, in _on_io_dispatcher_packet_header()
1497 dispatcher->packet_header.type); in _on_io_dispatcher_packet_header()
[all …]
/external/chromium_org/content/browser/renderer_host/p2p/
Dsocket_host.h136 void DumpRtpPacketOnIOThread(scoped_ptr<uint8[]> packet_header,
Dsocket_host.cc563 void P2PSocketHost::DumpRtpPacketOnIOThread(scoped_ptr<uint8[]> packet_header, in DumpRtpPacketOnIOThread() argument
579 Passed(&packet_header), in DumpRtpPacketOnIOThread()
/external/chromium_org/content/public/browser/
Drender_process_host.h211 typedef base::Callback<void(scoped_ptr<uint8[]> packet_header,