Searched refs:packet (Results 176 - 200 of 1029) sorted by relevance

1234567891011>>

/external/chromium_org/media/base/
H A Dmedia_file_checker.cc58 AVPacket packet;
66 result = av_read_frame(glue.format_context(), &packet);
69 result = av_dup_packet(&packet);
74 stream_contexts.find(packet.stream_index);
76 av_free_packet(&packet);
83 // A shallow copy of packet so we can slide packet.data as frames are
85 AVPacket temp_packet = packet;
98 &packet);
102 av_free_packet(&packet);
[all...]
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/socket/
H A Dudp_event_emitter.h23 // Takes or gives away ownership of the packet.
25 void WriteRXPacket_Locked(Packet* packet);
28 void WriteTXPacket_Locked(Packet* packet);
/external/chromium_org/remoting/codec/
H A Dvideo_decoder_verbatim.cc29 bool VideoDecoderVerbatim::DecodePacket(const VideoPacket& packet) { argument
32 const char* in = packet.data().data();
34 for (int i = 0; i < packet.dirty_rects_size(); ++i) {
35 Rect proto_rect = packet.dirty_rects(i);
44 LOG(ERROR) << "Invalid packet received";
52 if (in + rect_row_size > packet.data().data() + packet.data().size()) {
53 LOG(ERROR) << "Invalid packet received";
62 if (in != packet.data().data() + packet
[all...]
/external/chromium_org/remoting/host/
H A Dipc_audio_capturer.cc39 void IpcAudioCapturer::OnAudioPacket(scoped_ptr<AudioPacket> packet) { argument
40 callback_.Run(packet.Pass());
/external/chromium_org/remoting/protocol/
H A Daudio_reader.cc38 void AudioReader::OnNewData(scoped_ptr<AudioPacket> packet, argument
40 audio_stub_->ProcessAudioPacket(packet.Pass(), done_task);
H A Dchannel_multiplexer.cc28 PendingPacket(scoped_ptr<MultiplexPacket> packet, argument
30 : packet(packet.Pass()),
38 bool is_empty() { return pos >= packet->data().size(); }
41 size = std::min(size, packet->data().size() - pos);
42 memcpy(buffer, packet->data().data() + pos, size);
48 scoped_ptr<MultiplexPacket> packet; member in class:remoting::protocol::__anon10497::PendingPacket
80 void OnIncomingPacket(scoped_ptr<MultiplexPacket> packet,
86 bool DoWrite(scoped_ptr<MultiplexPacket> packet,
221 scoped_ptr<MultiplexPacket> packet,
220 OnIncomingPacket( scoped_ptr<MultiplexPacket> packet, const base::Closure& done_task) argument
243 DoWrite( scoped_ptr<MultiplexPacket> packet, const base::Closure& done_task) argument
475 OnIncomingPacket(scoped_ptr<MultiplexPacket> packet, const base::Closure& done_task) argument
506 DoWrite(scoped_ptr<MultiplexPacket> packet, const base::Closure& done_task) argument
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/mock/
H A Dmock_payload_splitter.h31 void(const Packet* packet, int bytes_per_ms, int timestamps_per_ms,
34 int(const Packet* packet, int bytes_per_frame, int timestamps_per_frame,
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/tools/
H A Dbwe_rtp_play.cc72 webrtc::test::RtpFileReader::Packet packet; local
73 if (!rtp_reader->NextPacket(&packet)) {
77 first_rtp_time_ms = packet.time_ms;
78 packet.time_ms = packet.time_ms - first_rtp_time_ms;
80 parser->Parse(packet.data, packet.length, &header);
86 static_cast<int>(packet.length - header.headerLength),
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
H A Dfec_test_helper.h45 // Creates a new RtpPacket with the RED header added to the packet.
46 RtpPacket* BuildMediaRedPacket(const RtpPacket* packet);
50 // header. Finally replaces the payload with the content of |packet->data|.
51 RtpPacket* BuildFecRedPacket(const Packet* packet);
/external/chromium_org/third_party/webrtc/test/
H A Drtp_file_reader_unittest.cc32 test::RtpFileReader::Packet packet; local
34 while (rtp_packet_source_->NextPacket(&packet))
62 test::RtpFileReader::Packet packet; local
63 while (rtp_packet_source_->NextPacket(&packet))
70 test::RtpFileReader::Packet packet; local
71 while (rtp_packet_source_->NextPacket(&packet)) {
72 RtpUtility::RtpHeaderParser rtp_header_parser(packet.data, packet.length);
/external/smack/src/org/jivesoftware/smackx/packet/
H A DAttentionExtension.java20 package org.jivesoftware.smackx.packet;
22 import org.jivesoftware.smack.packet.PacketExtension;
51 * @see org.jivesoftware.smack.packet.PacketExtension#getElementName()
60 * @see org.jivesoftware.smack.packet.PacketExtension#getNamespace()
69 * @see org.jivesoftware.smack.packet.PacketExtension#toXML()
H A DPEPEvent.java21 package org.jivesoftware.smackx.packet;
23 import org.jivesoftware.smack.packet.PacketExtension;
60 * Returns the XML element name of the extension sub-packet root element.
63 * @return the XML element name of the packet extension.
70 * Returns the XML namespace of the extension sub-packet root element.
74 * @return the XML namespace of the packet extension.
H A DPEPItem.java21 package org.jivesoftware.smackx.packet;
23 import org.jivesoftware.smack.packet.PacketExtension;
49 * Returns the XML element name of the extension sub-packet root element.
52 * @return the XML element name of the packet extension.
59 * Returns the XML namespace of the extension sub-packet root element.
61 * @return the XML namespace of the packet extension.
H A DPEPPubSub.java21 package org.jivesoftware.smackx.packet;
23 import org.jivesoftware.smack.packet.IQ;
48 * Returns the XML element name of the extension sub-packet root element.
51 * @return the XML element name of the packet extension.
58 * Returns the XML namespace of the extension sub-packet root element.
62 * @return the XML namespace of the packet extension.
/external/smack/src/org/jivesoftware/smackx/provider/
H A DHeaderProvider.java16 import org.jivesoftware.smack.packet.PacketExtension;
18 import org.jivesoftware.smackx.packet.Header;
/external/smack/src/org/jivesoftware/smackx/workgroup/packet/
H A DDepartQueuePacket.java20 package org.jivesoftware.smackx.workgroup.packet;
22 import org.jivesoftware.smack.packet.IQ;
25 * A IQ packet used to depart a workgroup queue. There are two cases for issuing a depart
40 * Creates a depart queue request packet to the specified workgroup.
H A DMetaDataProvider.java20 package org.jivesoftware.smackx.workgroup.packet;
28 import org.jivesoftware.smack.packet.PacketExtension;
/external/chromium_org/third_party/opus/src/tests/
H A Dtest_opus_decode.c62 unsigned char *packet; local
69 packet=malloc(sizeof(unsigned char)*MAX_PACKET);
70 if(packet==NULL)test_failed();
131 out_samples = opus_decode(dec[t], packet, 0, outbuf, 120/factor, fec);
136 out_samples = opus_decode(dec[t], packet, 0, outbuf, 0, fec);
138 out_samples = opus_decode(dec[t], packet, 0, 0, 0, fec);
143 out_samples = opus_decode(dec[t], packet, -1, outbuf, MAX_FRAME_SAMP, fec);
145 out_samples = opus_decode(dec[t], packet, INT_MIN, outbuf, MAX_FRAME_SAMP, fec);
147 out_samples = opus_decode(dec[t], packet, -1, outbuf, -1, fec);
151 out_samples = opus_decode(dec[t], packet,
[all...]
/external/libopus/tests/
H A Dtest_opus_decode.c62 unsigned char *packet; local
69 packet=malloc(sizeof(unsigned char)*MAX_PACKET);
70 if(packet==NULL)test_failed();
131 out_samples = opus_decode(dec[t], packet, 0, outbuf, 120/factor, fec);
136 out_samples = opus_decode(dec[t], packet, 0, outbuf, 0, fec);
138 out_samples = opus_decode(dec[t], packet, 0, 0, 0, fec);
143 out_samples = opus_decode(dec[t], packet, -1, outbuf, MAX_FRAME_SAMP, fec);
145 out_samples = opus_decode(dec[t], packet, INT_MIN, outbuf, MAX_FRAME_SAMP, fec);
147 out_samples = opus_decode(dec[t], packet, -1, outbuf, -1, fec);
151 out_samples = opus_decode(dec[t], packet,
[all...]
/external/chromium_org/content/browser/renderer_host/p2p/
H A Dsocket_host_udp.cc169 LOG(ERROR) << "Received unexpected data packet from "
201 LOG(ERROR) << "Page tried to send a data packet to " << to.ToString()
222 PendingPacket packet(to, data, options, packet_id);
223 DoSend(packet);
227 void P2PSocketHostUdp::DoSend(const PendingPacket& packet) { argument
228 TRACE_EVENT_ASYNC_STEP_INTO1("p2p", "Send", packet.id, "UdpAsyncSendTo",
229 "size", packet.size);
231 // 1. If the outgoing packet is set to DSCP_NO_CHANGE
232 // 2. If no change in DSCP value from last packet
235 static_cast<net::DiffServCodePoint>(packet
288 PendingPacket packet = send_queue_.front(); local
[all...]
H A Dsocket_host_test_utils.cc175 void CreateRandomPacket(std::vector<char>* packet) { argument
177 packet->resize(size);
179 (*packet)[i] = rand() % 256;
181 // Always set the first bit to ensure that generated packet is not
182 // valid STUN packet.
183 (*packet)[0] = (*packet)[0] | 0x80;
186 static void CreateStunPacket(std::vector<char>* packet, uint16 type) { argument
187 CreateRandomPacket(packet);
188 *reinterpret_cast<uint16*>(&*packet
195 CreateStunRequest(std::vector<char>* packet) argument
199 CreateStunResponse(std::vector<char>* packet) argument
203 CreateStunError(std::vector<char>* packet) argument
[all...]
/external/chromium_org/third_party/webrtc/modules/pacing/
H A Dpaced_sender.cc24 // Time limit in milliseconds between packet bursts.
31 // Max time that the first packet in the queue can sit in the queue if no
75 Packet& packet = packet_list_.front(); local
76 uint16_t sequence_number = packet.sequence_number;
77 uint32_t ssrc = packet.ssrc;
82 void push_back(const Packet& packet) { argument
83 if (sequence_number_set_[packet.ssrc].find(packet.sequence_number) ==
84 sequence_number_set_[packet.ssrc].end()) {
86 packet_list_.push_back(packet);
295 paced_sender::Packet packet = GetNextPacketFromList(packet_list); local
380 paced_sender::Packet packet = packets->front(); local
[all...]
/external/smack/src/org/jivesoftware/smackx/
H A DMultipleRecipientManager.java25 import org.jivesoftware.smack.packet.Message;
26 import org.jivesoftware.smack.packet.Packet;
29 import org.jivesoftware.smackx.packet.DiscoverInfo;
30 import org.jivesoftware.smackx.packet.DiscoverItems;
31 import org.jivesoftware.smackx.packet.MultipleAddresses;
53 * Sends the specified packet to the list of specified recipients using the
55 * packet is going to be sent to the server with the multiple recipient instructions.
57 * the packet to each recipient.
59 * @param connection the connection to use to send the packet.
60 * @param packet th
70 send(Connection connection, Packet packet, List<String> to, List<String> cc, List<String> bcc) argument
98 send(Connection connection, Packet packet, List<String> to, List<String> cc, List<String> bcc, String replyTo, String replyRoom, boolean noReply) argument
198 getMultipleRecipientInfo(Packet packet) argument
204 sendToIndividualRecipients(Connection connection, Packet packet, List<String> to, List<String> cc, List<String> bcc) argument
229 sendThroughService(Connection connection, Packet packet, List<String> to, List<String> cc, List<String> bcc, String replyTo, String replyRoom, boolean noReply, String serviceAddress) argument
[all...]
/external/smack/src/org/jivesoftware/smackx/pubsub/
H A DNode.java33 import org.jivesoftware.smack.packet.Message;
34 import org.jivesoftware.smack.packet.Packet;
35 import org.jivesoftware.smack.packet.PacketExtension;
36 import org.jivesoftware.smack.packet.IQ.Type;
38 import org.jivesoftware.smackx.packet.DelayInformation;
39 import org.jivesoftware.smackx.packet.DiscoverInfo;
40 import org.jivesoftware.smackx.packet.Header;
41 import org.jivesoftware.smackx.packet.HeadersExtension;
45 import org.jivesoftware.smackx.pubsub.packet.PubSub;
46 import org.jivesoftware.smackx.pubsub.packet
369 getSubscriptionIds(Packet packet) argument
401 processPacket(Packet packet) argument
432 processPacket(Packet packet) argument
476 processPacket(Packet packet) argument
507 accept(Packet packet) argument
[all...]
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/
H A Dsession_info_unittest.cc15 #include "webrtc/modules/video_coding/main/source/packet.h"
176 // Insert empty packet which will be the new high sequence number.
349 // Insert an older packet with a first packet set.
427 // Insert out of bound regular packets, and then the first and last packet.
438 // Insert an older packet with a first packet set.
494 VCMPacket* packet = new VCMPacket(packet_buffer_, packet_buffer_size(), local
496 EXPECT_EQ(session_.InsertPacket(*packet,
501 delete packet;
551 VCMPacket* packet = new VCMPacket(packet_buffer_, packet_buffer_size(), local
622 VCMPacket* packet = new VCMPacket(packet_buffer_, packet_buffer_size(), local
693 VCMPacket* packet = new VCMPacket(packet_buffer_, packet_buffer_size(), local
765 VCMPacket* packet = new VCMPacket(packet_buffer_, packet_buffer_size(), local
836 VCMPacket* packet = new VCMPacket(packet_buffer_, packet_buffer_size(), local
936 VCMPacket* packet = new VCMPacket(packet_buffer_, packet_buffer_size(), local
[all...]

Completed in 1017 milliseconds

1234567891011>>