Searched refs:packet (Results 1 - 25 of 1029) sorted by relevance

1234567891011>>

/external/chromium_org/remoting/codec/
H A Daudio_encoder_verbatim.cc17 scoped_ptr<AudioPacket> packet) {
18 DCHECK_EQ(AudioPacket::ENCODING_RAW, packet->encoding());
19 DCHECK_EQ(1, packet->data_size());
20 DCHECK_NE(AudioPacket::SAMPLING_RATE_INVALID, packet->sampling_rate());
21 DCHECK_NE(AudioPacket::BYTES_PER_SAMPLE_INVALID, packet->bytes_per_sample());
22 DCHECK_NE(AudioPacket::CHANNELS_INVALID, packet->channels());
23 return packet.Pass();
16 Encode( scoped_ptr<AudioPacket> packet) argument
H A Dvideo_encoder_helper_unittest.cc30 scoped_ptr<VideoPacket> packet(helper.CreateVideoPacket(frame));
32 ASSERT_TRUE(packet->has_format());
33 EXPECT_FALSE(packet->format().has_encoding());
34 EXPECT_TRUE(packet->format().has_screen_width());
35 EXPECT_TRUE(packet->format().has_screen_height());
36 EXPECT_TRUE(packet->format().has_x_dpi());
37 EXPECT_TRUE(packet->format().has_y_dpi());
39 EXPECT_TRUE(packet->has_capture_time_ms());
40 EXPECT_EQ(1, packet->dirty_rects().size());
42 ASSERT_TRUE(packet
[all...]
H A Daudio_decoder_verbatim.cc19 scoped_ptr<AudioPacket> packet) {
20 // Return a null scoped_ptr if we get a corrupted packet.
21 if ((packet->encoding() != AudioPacket::ENCODING_RAW) ||
22 (packet->data_size() != 1) ||
23 (packet->sampling_rate() == AudioPacket::SAMPLING_RATE_INVALID) ||
24 (packet->bytes_per_sample() != AudioPacket::BYTES_PER_SAMPLE_2) ||
25 (packet->channels() != AudioPacket::CHANNELS_STEREO) ||
26 (packet->data(0).size() %
28 LOG(WARNING) << "Verbatim decoder received an invalid packet.";
31 return packet
18 Decode( scoped_ptr<AudioPacket> packet) argument
[all...]
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/
H A Ddecoding_state_unittest.cc18 #include "webrtc/modules/video_coding/main/source/packet.h"
34 VCMPacket packet; local
35 packet.isFirstPacket = true;
36 packet.timestamp = 1;
37 packet.seqNum = 0xffff;
38 packet.frameType = kVideoFrameDelta;
39 packet.codecSpecificHeader.codec = kRtpVideoVp8;
40 packet.codecSpecificHeader.codecHeader.VP8.pictureId = 0x007F;
44 EXPECT_LE(0, frame.InsertPacket(packet, 0, kNoErrors, frame_data));
48 packet
166 VCMPacket packet; local
212 VCMPacket packet; local
365 VCMPacket packet; local
400 VCMPacket packet; local
419 VCMPacket packet; local
[all...]
/external/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationServer.h78 SendUnimplementedResponse (const char *packet);
87 Handle_A (StringExtractorGDBRemote &packet);
90 Handle_qLaunchSuccess (StringExtractorGDBRemote &packet);
93 Handle_qHostInfo (StringExtractorGDBRemote &packet);
96 Handle_qLaunchGDBServer (StringExtractorGDBRemote &packet);
99 Handle_qProcessInfoPID (StringExtractorGDBRemote &packet);
102 Handle_qfProcessInfo (StringExtractorGDBRemote &packet);
105 Handle_qsProcessInfo (StringExtractorGDBRemote &packet);
108 Handle_qC (StringExtractorGDBRemote &packet);
111 Handle_qUserName (StringExtractorGDBRemote &packet);
[all...]
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/socket/
H A Dudp_event_emitter.cc17 Packet* packet = in_fifo_.ReadPacket(); local
20 return packet;
23 void UdpEventEmitter::WriteRXPacket_Locked(Packet* packet) { argument
24 in_fifo_.WritePacket(packet);
30 Packet* packet = out_fifo_.ReadPacket(); local
33 return packet;
36 void UdpEventEmitter::WriteTXPacket_Locked(Packet* packet) { argument
37 out_fifo_.WritePacket(packet);
/external/chromium_org/third_party/webrtc/test/
H A Dnull_transport.cc15 bool NullTransport::SendRtp(const uint8_t* packet, size_t length) { argument
19 bool NullTransport::SendRtcp(const uint8_t* packet, size_t length) { argument
/external/smack/src/org/jivesoftware/smack/
H A DPacketInterceptor.java22 import org.jivesoftware.smack.packet.Packet;
30 * This allows event-style programming -- every time a new packet is found,
39 * Process the packet that is about to be sent to the server. The intercepted
40 * packet can be modified by the interceptor.<p>
42 * Interceptors are invoked using the same thread that requested the packet
46 * @param packet the packet to is going to be sent to the server.
48 public void interceptPacket(Packet packet); argument
H A DPacketListener.java23 import org.jivesoftware.smack.packet.Packet;
27 * This allows event-style programming -- every time a new packet is found,
38 * Process the next packet sent to this packet listener.<p>
44 * @param packet the packet to process.
46 public void processPacket(Packet packet); argument
/external/smack/src/org/jivesoftware/smack/filter/
H A DPacketFilter.java23 import org.jivesoftware.smack.packet.Packet;
27 * used when constructing packet listeners or collectors -- the filter defines
29 * packet processing.<p>
32 * for more complex packet filtering by using the
39 * // Use an anonymous inner class to define a packet filter that returns
40 * // all packets that have a packet ID of "RS145".
42 * public boolean accept(Packet packet) {
43 * return "RS145".equals(packet.getPacketID());
46 * // Create a new packet collector using the filter we created.
57 * Tests whether or not the specified packet shoul
62 accept(Packet packet) argument
[all...]
H A DIQTypeFilter.java22 import org.jivesoftware.smack.packet.IQ;
23 import org.jivesoftware.smack.packet.Packet;
26 * A filter for IQ packet types. Returns true only if the packet is an IQ packet
43 * @see org.jivesoftware.smack.filter.PacketFilter#accept(org.jivesoftware.smack.packet.Packet)
45 public boolean accept(Packet packet) { argument
46 return (packet instanceof IQ && ((IQ) packet).getType().equals(type));
H A DMessageTypeFilter.java23 import org.jivesoftware.smack.packet.Message;
24 import org.jivesoftware.smack.packet.Packet;
29 * @see org.jivesoftware.smack.packet.Message.Type
45 public boolean accept(Packet packet) { argument
46 if (!(packet instanceof Message)) {
50 return ((Message) packet).getType().equals(this.type);
H A DThreadFilter.java23 import org.jivesoftware.smack.packet.Packet;
24 import org.jivesoftware.smack.packet.Message;
47 public boolean accept(Packet packet) { argument
48 return packet instanceof Message && thread.equals(((Message) packet).getThread());
H A DFromContainsFilter.java23 import org.jivesoftware.smack.packet.Packet;
37 * @param from the from field value the packet must contain.
46 public boolean accept(Packet packet) { argument
47 if (packet.getFrom() == null) {
51 return packet.getFrom().toLowerCase().indexOf(from) != -1;
H A DToContainsFilter.java23 import org.jivesoftware.smack.packet.Packet;
38 * @param to the to field value the packet must contain.
47 public boolean accept(Packet packet) { argument
48 if (packet.getTo() == null) {
52 return packet.getTo().toLowerCase().indexOf(to) != -1;
H A DNotFilter.java23 import org.jivesoftware.smack.packet.Packet;
26 * Implements the logical NOT operation on a packet filter. In other words, packets
47 public boolean accept(Packet packet) { argument
48 return !filter.accept(packet);
H A DPacketIDFilter.java23 import org.jivesoftware.smack.packet.Packet;
26 * Filters for packets with a particular packet ID.
35 * Creates a new packet ID filter using the specified packet ID.
37 * @param packetID the packet ID to filter for.
46 public boolean accept(Packet packet) { argument
47 return packetID.equals(packet.getPacketID());
H A DFromMatchesFilter.java23 import org.jivesoftware.smack.packet.Packet;
30 * if the sender of the packet matches the specified resource.
45 * specified address is a full JID then the filter will only match if the sender of the packet
48 * @param address the from field value the packet must match. Could be a full or bare JID.
58 public boolean accept(Packet packet) { argument
59 if (packet.getFrom() == null) {
63 // Check if the bare JID of the sender of the packet matches the specified JID
64 return packet.getFrom().toLowerCase().startsWith(address);
67 // Check if the full JID of the sender of the packet matches the specified JID
68 return address.equals(packet
[all...]
/external/chromium_org/media/filters/
H A Dffmpeg_h264_to_annex_b_bitstream_converter.cc22 bool FFmpegH264ToAnnexBBitstreamConverter::ConvertPacket(AVPacket* packet) { argument
25 if (packet == NULL || !packet->data)
44 packet->data, packet->size, avc_config.get());
47 return false; // Invalid input packet.
49 // Allocate new packet for the output.
55 // the pointer of the old packet with a new one, we will initially copy the
56 // metadata from old packet to new bigger packet
[all...]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/
H A DParsedEvent.java44 protected ParsedEvent(byte suspendPolicy, Packet packet, byte eventKind) { argument
46 this.requestID = packet.getNextValueAsInt();
86 * @param packet
88 protected EventThread(byte suspendPolicy, Packet packet, byte eventKind) { argument
89 super(suspendPolicy, packet, eventKind);
90 this.threadID = packet.getNextValueAsThreadID();
112 * @param packet
114 protected EventThreadLocation(byte suspendPolicy, Packet packet, argument
116 super(suspendPolicy, packet, eventKind);
117 this.location = packet
142 EventThreadMonitor(byte suspendPolicy, Packet packet, byte eventKind) argument
175 Event_VM_START(byte suspendPolicy, Packet packet) argument
191 Event_SINGLE_STEP(byte suspendPolicy, Packet packet) argument
207 Event_BREAKPOINT(byte suspendPolicy, Packet packet) argument
223 Event_METHOD_ENTRY(byte suspendPolicy, Packet packet) argument
239 Event_METHOD_EXIT(byte suspendPolicy, Packet packet) argument
257 Event_METHOD_EXIT_WITH_RETURN_VALUE(byte suspendPolicy, Packet packet) argument
278 Event_MONITOR_CONTENDED_ENTER(byte suspendPolicy, Packet packet) argument
295 Event_MONITOR_CONTENDED_ENTERED(byte suspendPolicy, Packet packet) argument
314 Event_MONITOR_WAIT(byte suspendPolicy, Packet packet) argument
337 Event_MONITOR_WAITED(byte suspendPolicy, Packet packet) argument
362 Event_EXCEPTION(byte suspendPolicy, Packet packet) argument
394 Event_THREAD_START(byte suspendPolicy, Packet packet) argument
410 Event_THREAD_DEATH(byte suspendPolicy, Packet packet) argument
434 Event_CLASS_PREPARE(byte suspendPolicy, Packet packet) argument
484 Event_CLASS_UNLOAD(byte suspendPolicy, Packet packet) argument
516 Event_FIELD_ACCESS(byte suspendPolicy, Packet packet) argument
573 Event_FIELD_MODIFICATION(byte suspendPolicy, Packet packet) argument
628 Event_VM_DEATH(byte suspendPolicy, Packet packet) argument
640 parseEventPacket(Packet packet) argument
[all...]
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/test/
H A DRTPtimeshift.cc58 NETEQTEST_RTPpacket packet; local
59 int packLen = packet.readFromFile(inFile);
66 uint32_t TSdiff = atoi(argv[3]) - packet.timeStamp();
73 SNdiff = startSN - packet.sequenceNumber();
78 ATdiff = startTS - packet.time();
85 packet.setTimeStamp(packet.timeStamp() + TSdiff);
86 packet.setSequenceNumber(packet.sequenceNumber() + SNdiff);
87 packet
[all...]
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/test/
H A Dstream_generator.cc18 #include "webrtc/modules/video_coding/main/source/packet.h"
69 VCMPacket packet; local
70 packet.seqNum = sequence_number;
71 packet.timestamp = timestamp;
72 packet.frameType = type;
73 packet.isFirstPacket = first_packet;
74 packet.markerBit = marker_bit;
75 packet.sizeBytes = size;
76 packet.dataPtr = packet_buffer;
77 if (packet
86 PopPacket(VCMPacket* packet, int index) argument
96 GetPacket(VCMPacket* packet, int index) argument
105 NextPacket(VCMPacket* packet) argument
[all...]
/external/chromium_org/net/data/websocket/
H A Dclose-with-split-packet_wsh.py22 packet = stream.create_close_frame(code + 'split test'.encode('utf-8'))
23 request.connection.write(packet[:1])
24 request.connection.write(packet[1:])
/external/chromium_org/media/cast/net/
H A Dudp_transport_unittest.cc28 void ReceivedPacket(scoped_ptr<Packet> packet) { argument
29 packet_ = std::string(packet->size(), '\0');
30 std::copy(packet->begin(), packet->end(), packet_.begin());
34 std::string packet() const { return packet_; } function in class:media::cast::MockPacketReceiver
47 void SendPacket(UdpTransport* transport, Packet packet) { argument
49 transport->SendPacket(new base::RefCountedData<Packet>(packet), cb);
75 Packet packet; local
76 packet.push_back('t');
77 packet
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_scene_queue.c92 struct scene_packet packet; local
95 packet.scene = NULL;
98 &packet.header,
99 sizeof packet / 4,
104 return packet.scene;
112 struct scene_packet packet; local
114 packet.header.dwords = sizeof packet / 4;
115 packet.header.data24 = 0;
116 packet
[all...]

Completed in 401 milliseconds

1234567891011>>