Searched refs:packet (Results 226 - 250 of 1029) sorted by relevance

1234567891011>>

/external/libvpx/libvpx/third_party/nestegg/include/nestegg/
H A Dnestegg.h90 typedef struct nestegg_packet nestegg_packet; /**< Opaque handle referencing a packet of data. */
279 /** Read a packet of media data. A packet consists of one or more chunks of
284 @param packet Storage for the returned nestegg_packet.
288 int nestegg_read_packet(nestegg * context, nestegg_packet ** packet);
291 @param packet #nestegg_packet to be freed. @see nestegg_read_packet */
292 void nestegg_free_packet(nestegg_packet * packet);
294 /** Query the track number of @a packet.
295 @param packet Packet initialized by #nestegg_read_packet.
299 int nestegg_packet_track(nestegg_packet * packet, unsigne
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_ringbuffer.c73 const struct util_packet *packet )
83 assert(packet->dwords <= ring->mask);
87 while (util_ringbuffer_space(ring) < packet->dwords)
92 for (i = 0; i < packet->dwords; i++) {
94 /* Copy all dwords of the packet. Note we're abusing the
96 * something, but probably not an array of packet structs:
98 ring->buf[ring->head] = packet[i];
110 struct util_packet *packet,
149 packet[i] = ring->buf[ring->tail];
109 util_ringbuffer_dequeue( struct util_ringbuffer *ring, struct util_packet *packet, unsigned max_dwords, boolean wait ) argument
/external/smack/src/org/jivesoftware/smackx/filetransfer/
H A DIBBTransferNegotiator.java31 import org.jivesoftware.smack.packet.IQ;
32 import org.jivesoftware.smack.packet.Packet;
36 import org.jivesoftware.smackx.bytestreams.ibb.packet.Open;
37 import org.jivesoftware.smackx.packet.StreamInitiation;
129 public boolean accept(Packet packet) { argument
130 if (super.accept(packet)) {
131 Open bytestream = (Open) packet;
133 // packet must by of type SET and contains the given session ID
H A DFileTransferManager.java27 import org.jivesoftware.smack.packet.IQ;
28 import org.jivesoftware.smack.packet.Packet;
29 import org.jivesoftware.smack.packet.XMPPError;
31 import org.jivesoftware.smackx.packet.StreamInitiation;
90 public void processPacket(Packet packet) {
91 fireNewRequest((StreamInitiation) packet);
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadGroupReference/
H A DChildrenTest.java62 CommandPacket packet;
71 packet = new CommandPacket(
74 packet.setNextValueAsThreadID(threadID);
75 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
82 packet = new CommandPacket(
85 packet.setNextValueAsThreadID(groupID);
86 reply = debuggeeWrapper.vmMirror.performCommand(packet);
188 CommandPacket packet = new CommandPacket(
191 packet.setNextValueAsThreadGroupID(groupID);
192 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
[all...]
/external/smack/src/org/jivesoftware/smackx/receipts/
H A DDeliveryReceiptManager.java30 import org.jivesoftware.smack.packet.Message;
31 import org.jivesoftware.smack.packet.Packet;
33 import org.jivesoftware.smackx.packet.DiscoverInfo;
106 public void processPacket(Packet packet) { argument
107 DeliveryReceipt dr = (DeliveryReceipt)packet.getExtension(
112 l.onReceiptReceived(packet.getFrom(), packet.getTo(), dr.getId());
119 DeliveryReceiptRequest drr = (DeliveryReceiptRequest)packet.getExtension(
122 Message ack = new Message(packet.getFrom(), Message.Type.normal);
123 ack.addExtension(new DeliveryReceipt(packet
[all...]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
H A DCombinedEventsTestCase.java62 CommandPacket packet = new CommandPacket(
65 packet.setNextValueAsClassID(classID);
66 packet.setNextValueAsMethodID(methodID);
67 ReplyPacket lineTableReply = debuggeeWrapper.vmMirror.performCommand(packet);
101 CommandPacket packet = new CommandPacket(
104 packet.setNextValueAsClassID(classID);
105 packet.setNextValueAsMethodID(methodID);
106 ReplyPacket lineTableReply = debuggeeWrapper.vmMirror.performCommand(packet);
125 CommandPacket packet = new CommandPacket(
128 packet
[all...]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/VirtualMachine/
H A DSuspendTest.java56 CommandPacket packet = new CommandPacket(
60 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
79 packet = new CommandPacket(
82 packet.setNextValueAsReferenceTypeID(threadID);
84 replyName = debuggeeWrapper.vmMirror.performCommand(packet);
H A DClassesBySignatureTest.java55 * <BR>&nbsp;&nbsp; - there are no extra data in the reply packet;
60 CommandPacket packet = new CommandPacket(
63 packet.setNextValueAsString(SIGNATURE001);
65 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
97 packet = new CommandPacket(
100 packet.setNextValueAsReferenceTypeID(typeID);
102 replySignature = debuggeeWrapper.vmMirror.performCommand(packet);
/external/smack/src/org/jivesoftware/smackx/muc/
H A DPacketMultiplexListener.java28 import org.jivesoftware.smack.packet.Message;
29 import org.jivesoftware.smack.packet.Packet;
30 import org.jivesoftware.smack.packet.Presence;
44 public boolean accept(Packet packet) {
45 Message msg = (Message) packet;
/external/chromium_org/third_party/webrtc/modules/video_coding/main/test/
H A Drtp_player.cc95 void AddPacket(RawRtpPacket* packet) { argument
96 assert(packet);
97 printf("Throw: %08x:%u\n", packet->ssrc(), packet->seq_num());
100 fprintf(debug_file_, "%u Lost packet: %u\n", loss_count_,
101 packet->seq_num());
103 packets_.push_back(packet);
112 RawRtpPacket* packet = *it; local
113 if (ssrc == packet->ssrc() && resendSeqNum == packet
129 RawRtpPacket* packet = *it; local
151 LogPacketResent(RawRtpPacket* packet) argument
[all...]
/external/chromium_org/net/quic/
H A Dquic_framer_test.cc48 // offset and the last frame in a packet.
64 // Index into the private flags offset in the data packet header.
99 // Index into the message tag of the public reset packet.
219 const QuicPublicResetPacket& packet) OVERRIDE {
220 public_reset_packet_.reset(new QuicPublicResetPacket(packet));
224 const QuicVersionNegotiationPacket& packet) OVERRIDE {
225 version_negotiation_packet_.reset(new QuicVersionNegotiationPacket(packet));
386 QuicPacket* packet) {
388 LOG(ERROR) << "Encrypted incorrect packet sequence number. expected "
393 if (packet
385 CheckEncryption(QuicPacketSequenceNumber sequence_number, QuicPacket* packet) argument
444 CheckProcessingFails(unsigned char* packet, size_t len, string expected_error, QuicErrorCode error_code) argument
460 CheckStreamFrameBoundaries(unsigned char* packet, size_t stream_id_size, bool include_version) argument
617 char packet[] = { 0x00 }; local
624 unsigned char packet[kMaxPacketSize + 1] = { local
656 unsigned char packet[] = { local
710 unsigned char packet[] = { local
766 unsigned char packet[] = { local
822 unsigned char packet[] = { local
874 unsigned char packet[] = { local
933 unsigned char packet[] = { local
988 unsigned char packet[] = { local
1043 unsigned char packet[] = { local
1095 unsigned char packet[] = { local
1123 unsigned char packet[] = { local
1148 unsigned char packet[] = { local
1175 unsigned char packet[] = { local
1198 unsigned char packet[] = { local
1220 unsigned char packet[] = { local
1267 unsigned char packet[] = { local
1315 unsigned char packet[] = { local
1364 unsigned char packet[] = { local
1413 unsigned char packet[] = { local
1462 unsigned char packet[] = { local
1516 unsigned char packet[] = { local
1557 unsigned char packet[] = { local
1630 unsigned char packet[] = { local
1689 unsigned char packet[] = { local
1784 unsigned char packet[] = { local
1911 unsigned char packet[] = { local
2024 unsigned char packet[] = { local
2124 unsigned char packet[] = { local
2235 unsigned char packet[] = { local
2340 unsigned char packet[] = { local
2393 unsigned char packet[] = { local
2448 unsigned char packet[] = { local
2521 unsigned char packet[] = { local
2593 unsigned char packet[] = { local
2644 unsigned char packet[] = { local
2669 unsigned char packet[] = { local
2723 unsigned char packet[] = { local
2793 unsigned char packet[] = { local
2851 unsigned char packet[] = { local
2912 unsigned char packet[] = { local
2964 unsigned char packet[] = { local
3010 unsigned char packet[] = { local
3039 unsigned char packet[] = { local
3101 unsigned char packet[] = { local
3135 unsigned char packet[] = { local
3207 unsigned char packet[] = { local
3243 unsigned char packet[] = { local
3294 unsigned char packet[kMaxPacketSize] = { local
3341 unsigned char packet[kMaxPacketSize] = { local
3387 unsigned char packet[kMaxPacketSize] = { local
3433 unsigned char packet[kMaxPacketSize] = { local
3482 unsigned char packet[] = { local
3534 unsigned char packet[] = { local
3589 unsigned char packet[] = { local
3631 unsigned char packet[] = { local
3674 unsigned char packet[] = { local
3737 unsigned char packet[] = { local
3809 unsigned char packet[] = { local
3924 unsigned char packet[] = { local
4040 unsigned char packet[] = { local
4109 unsigned char packet[] = { local
4168 unsigned char packet[] = { local
4213 unsigned char packet[] = { local
4282 unsigned char packet[] = { local
4340 unsigned char packet[] = { local
4391 unsigned char packet[] = { local
4443 unsigned char packet[] = { local
4488 unsigned char packet[] = { local
4529 unsigned char packet[] = { local
4569 unsigned char packet[] = { local
4613 unsigned char packet[] = { local
4671 unsigned char packet[] = { local
4703 unsigned char packet[] = { local
4737 unsigned char packet[] = { local
4946 unsigned char packet[] = { local
4981 unsigned char packet[] = { local
5018 unsigned char packet[] = { local
[all...]
/external/chromium_org/media/ffmpeg/
H A Dffmpeg_unittest.cc56 AVPacket* packet = packets_.front(); local
58 av_free_packet(packet);
59 delete packet;
62 void push(AVPacket* packet) { argument
63 av_dup_packet(packet);
64 packets_.push(packet);
185 scoped_ptr<AVPacket> packet(new AVPacket());
186 if (av_read_frame(av_format_context_, packet.get()) < 0) {
190 int stream_index = static_cast<int>(packet->stream_index);
194 ConvertFromTimeBase(av_audio_stream()->time_base, packet
228 AVPacket packet; local
282 AVPacket packet; local
[all...]
/external/chromium_org/remoting/client/
H A Dsoftware_video_renderer.cc46 virtual bool DecodePacket(const VideoPacket& packet) OVERRIDE {
47 return parent_->DecodePacket(packet);
96 // Decodes the contents of |packet|. DecodePacket may keep a reference to
97 // |packet| so the |packet| must remain alive and valid until |done| is
99 void DecodePacket(scoped_ptr<VideoPacket> packet, const base::Closure& done);
169 void SoftwareVideoRenderer::Core::DecodePacket(scoped_ptr<VideoPacket> packet, argument
176 // If the packet includes screen size or DPI information, store them.
177 if (packet->format().has_screen_width() &&
178 packet
348 ProcessVideoPacket(scoped_ptr<VideoPacket> packet, const base::Closure& done) argument
[all...]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
H A DCurrentContendedMonitorTest.java86 CommandPacket packet = new CommandPacket(
89 packet.setNextValueAsThreadID(testedThreadID);
91 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
100 packet = new CommandPacket(
103 packet.setNextValueAsObjectID(tobj.objectID);
104 ReplyPacket replyObj = debuggeeWrapper.vmMirror.performCommand(packet);
128 packet = new CommandPacket(
131 packet.setNextValueAsThreadID(testedThreadID);
133 reply = debuggeeWrapper.vmMirror.performCommand(packet);
H A DOwnedMonitorsTest.java83 CommandPacket packet = new CommandPacket(
86 packet.setNextValueAsThreadID(testedThreadID);
87 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
103 packet = new CommandPacket(
106 packet.setNextValueAsObjectID(tobj.objectID);
107 ReplyPacket replyObj = debuggeeWrapper.vmMirror.performCommand(packet);
/external/chromium_org/remoting/codec/
H A Dvideo_encoder_vpx_unittest.cc110 scoped_ptr<VideoPacket> packet = encoder->Encode(*frame); local
111 EXPECT_TRUE(packet);
125 scoped_ptr<VideoPacket> packet = encoder->Encode(*frame); local
126 EXPECT_TRUE(packet);
133 packet = encoder->Encode(*frame);
134 EXPECT_TRUE(packet);
146 scoped_ptr<VideoPacket> packet = encoder->Encode(*frame); local
147 EXPECT_EQ(packet->format().x_dpi(), 96);
148 EXPECT_EQ(packet->format().y_dpi(), 97);
/external/chromium_org/third_party/libjingle/source/talk/media/base/
H A Drtpdump.h46 // For each packet, the file contains a 8 byte dump packet header, followed by
47 // the actual RTP or RTCP packet.
87 // packet. Return true and set the output parameter if successful.
93 // Get the type of the RTCP packet. Return true and set the output parameter
99 std::vector<uint8> data; // The actual RTP or RTCP packet.
100 size_t original_data_len; // The original length of the packet; may be
102 // packet was recorded.
118 virtual rtc::StreamResult ReadPacket(RtpDumpPacket* packet);
147 virtual rtc::StreamResult ReadPacket(RtpDumpPacket* packet);
201 WritePacket(const RtpDumpPacket& packet) argument
[all...]
H A Dfilemediaengine.cc135 void OnPacketReceived(rtc::Buffer* packet);
141 // Read the next RTP dump packet, whose RTP SSRC is the same as first_ssrc_.
143 bool ReadNextPacket(RtpDumpPacket* packet);
144 // Send a RTP packet to the network. The input parameter data points to the
145 // start of the RTP packet and len is the packet size. Return true if the sent
156 // RTP dump packet read from the input stream.
225 void RtpSenderReceiver::OnPacketReceived(rtc::Buffer* packet) { argument
227 rtp_dump_writer_->WriteRtpPacket(packet->data(), packet
252 ReadNextPacket(RtpDumpPacket* packet) argument
318 OnPacketReceived( rtc::Buffer* packet, const rtc::PacketTime& packet_time) argument
364 OnPacketReceived( rtc::Buffer* packet, const rtc::PacketTime& packet_time) argument
[all...]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/
H A DSetValuesTest.java125 CommandPacket packet = new CommandPacket(
128 packet.setNextValueAsClassID(classID);
129 packet.setNextValueAsInt(1);
130 packet.setNextValueAsFieldID(fieldInfo.getFieldID());
132 packet.setNextValueAsUntaggedValue(value);
134 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
137 packet = new CommandPacket(
140 packet.setNextValueAsReferenceTypeID(classID);
141 packet.setNextValueAsInt(1);
142 packet
[all...]
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/socket/
H A Dudp_node.cc14 #include "nacl_io/socket/packet.h"
135 Packet* packet = new Packet(filesystem()->ppapi()); local
136 packet->Copy(data_, length_error, addr_);
138 emitter_->WriteRXPacket_Locked(packet);
256 Packet* packet = emitter_->ReadRXPacket_Locked(); local
260 if (packet) {
261 int capped_len = static_cast<int32_t>(std::min<int>(len, packet->len()));
262 memcpy(buf, packet->buffer(), capped_len);
264 if (packet->addr() != 0) {
265 filesystem_->ppapi()->AddRefResource(packet
297 Packet* packet = new Packet(filesystem_->ppapi()); local
[all...]
/external/chromium_org/third_party/skia/experimental/Networking/
H A DSkSockets.cpp90 char packet[PACKET_SIZE]; local
95 memset(packet, 0, PACKET_SIZE);
105 int retval = read(i, packet + bytesReadInPacket,
113 continue; //incomplete packet or frame, keep tring
133 continue; //incomplete packet, keep trying
137 memcpy(&h.done, packet, sizeof(bool));
138 memcpy(&h.bytes, packet + sizeof(bool), sizeof(int));
139 memcpy(&h.type, packet + sizeof(bool) + sizeof(int), sizeof(DataType));
141 //SkDebugf("bad packet\n");
145 //SkDebugf("read packet(don
177 char packet[PACKET_SIZE]; local
[all...]
/external/skia/experimental/Networking/
H A DSkSockets.cpp90 char packet[PACKET_SIZE]; local
95 memset(packet, 0, PACKET_SIZE);
105 int retval = read(i, packet + bytesReadInPacket,
113 continue; //incomplete packet or frame, keep tring
133 continue; //incomplete packet, keep trying
137 memcpy(&h.done, packet, sizeof(bool));
138 memcpy(&h.bytes, packet + sizeof(bool), sizeof(int));
139 memcpy(&h.type, packet + sizeof(bool) + sizeof(int), sizeof(DataType));
141 //SkDebugf("bad packet\n");
145 //SkDebugf("read packet(don
177 char packet[PACKET_SIZE]; local
[all...]
/external/speex/libspeex/
H A Djitter.c85 int curr_count; /**< Number of packet timings we got (including those we discarded) */
96 /* Add the timing of a new packet to the TimingBuffer */
100 /* Discard packet that won't make it into the list because they're too early */
140 spx_uint32_t last_returned_timestamp; /**< Useful for getting the next packet with the same timestamp (for fragmented media) */
148 void (*destroy) (void *); /**< Callback for destroying a packet */
151 spx_int32_t concealment_size; /**< Size of the packet loss concealment "units" */
154 int late_cutoff; /**< How late must a packet be for it not to be considered at all */
192 /* Number of packet timings we have received (including those we didn't keep) */
199 /* Compute cost for one lost packet */
247 /* For the next timing we will consider, there will be one more late packet t
368 jitter_buffer_put(JitterBuffer *jitter, const JitterBufferPacket *packet) argument
465 jitter_buffer_get(JitterBuffer *jitter, JitterBufferPacket *packet, spx_int32_t desired_span, spx_int32_t *start_offset) argument
680 jitter_buffer_get_another(JitterBuffer *jitter, JitterBufferPacket *packet) argument
716 _jitter_buffer_update_delay(JitterBuffer *jitter, JitterBufferPacket *packet, spx_int32_t *start_offset) argument
739 jitter_buffer_update_delay(JitterBuffer *jitter, JitterBufferPacket *packet, spx_int32_t *start_offset) argument
[all...]
/external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/
H A DSDL_gsyuv.c86 struct ps2_packet *packet; local
203 hwdata->plist.packet = (struct ps2_packet *)SDL_malloc(
205 if ( ! hwdata->plist.packet ) {
211 packet = hwdata->plist.packet;
224 packet[pnum].ptr = &tags[0];
225 packet[pnum].len = 10 * sizeof(*tags);
242 packet[pnum].ptr = &tags[10];
243 packet[pnum].len = 2 * sizeof(*tags);
247 packet[pnu
322 struct ps2_packet packet; local
[all...]

Completed in 505 milliseconds

1234567891011>>