HomeSort by relevance Sort by last modified time
    Searched refs:packet (Results 401 - 425 of 720) sorted by null

<<11121314151617181920>>

  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
OwnedMonitorsStackDepthInfoTest.java 50 CommandPacket packet = new CommandPacket(JDWPCommands.ThreadReferenceCommandSet.CommandSetID, local
52 packet.setNextValueAsThreadID(threadID);
54 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
  /external/chromium_org/media/cast/net/pacing/
paced_sender.h 34 // 1. When we re-send the same packet again, we can use the packet key
47 // socket. When there is a retransmission request for packet X, we
48 // will reject the retransmission if there is a packet sent from
54 // Time between sending the same packet must be greater than
68 virtual bool SendRtcpPacket(uint32 ssrc, PacketRef packet) = 0;
105 // packet was just sent.
106 // Returns 0 if the packet cannot be found or not yet sent.
117 virtual bool SendRtcpPacket(uint32 ssrc, PacketRef packet) OVERRIDE;
123 void LogPacketEvent(const Packet& packet, CastLoggingEvent event)
    [all...]
  /external/chromium_org/media/cast/net/rtp/
rtp_packetizer_unittest.cc 64 virtual bool SendPacket(PacketRef packet, const base::Closure& cb) OVERRIDE {
66 RtpHeaderParser parser(&packet->data[0], packet->data.size());
  /external/chromium_org/net/tools/quic/test_tools/
quic_test_utils.h 38 // nack ranges of width 1 packet, starting from |least_unacked|.
64 const QuicEncryptedPacket& packet));
85 const QuicEncryptedPacket& packet) {
86 return QuicConnection::ProcessUdpPacket(self_address, peer_address, packet);
163 // Creates per-connection packet writers that register themselves with the
175 // packet writers created by this factory.
  /external/chromium_org/third_party/opus/src/include/
opus.h 63 * @li Good loss robustness and packet loss concealment (PLC)
131 * len = opus_encode(enc, audio_frame, frame_size, packet, max_packet);
138 * <li>packet is the byte array to which the compressed data is written</li>
139 * <li>max_packet is the maximum number of bytes that can be written in the packet (4000 bytes is recommended).
143 * opus_encode() and opus_encode_float() return the number of bytes actually written to the packet.
145 * is 1 byte, then the packet does not need to be transmitted (DTX).
182 * forward error correction to protect against packet loss. Use this
260 * @returns The length of the encoded packet (in bytes) on success or a
301 * @returns The length of the encoded packet (in bytes) on success or a
365 * To decode a frame, opus_decode() or opus_decode_float() must be called with a packet of compressed audio data
    [all...]
  /external/chromium_org/third_party/speex/libspeex/
speex_header.c 145 EXPORT SpeexHeader *speex_packet_to_header(char *packet, int size)
151 if (packet[i]!=h[i])
166 SPEEX_COPY(le_header, (SpeexHeader*)packet, 1);
  /external/chromium_org/third_party/webrtc/modules/video_coding/codecs/test_framework/
packet_loss_test.cc 115 printf("Target packet loss rate: %.4f\n", _lossProbability);
116 printf("Actual packet loss rate: %.4f\n", (_totalThrown * 1.0f) / (_totalKept + _totalThrown));
122 printf("No packet losses inflicted\n");
179 // Only packet loss for delta frames
187 unsigned char *packet = NULL; local
195 while ((size = NextPacket(1500, &packet)) > 0)
199 InsertPacket(&newEncBuf, packet, size);
205 // parts of a packet, and not the whole packet.
207 //int size2 = ByteLoss(size, packet, 15)
    [all...]
  /external/chromium_org/third_party/webrtc/modules/video_coding/main/source/
jitter_buffer.h 113 // Checks if the packet sequence will be complete if the next frame would be
137 // Returns the time in ms when the latest packet was inserted into the frame.
143 // Inserts a packet into a frame returned from GetFrame().
146 VCMFrameBufferEnum InsertPacket(const VCMPacket& packet,
194 // Gets the frame assigned to the timestamp of the packet. May recycle
197 VCMFrameBufferEnum GetFrame(const VCMPacket& packet, VCMFrameBuffer** frame);
254 // Returns true if |packet| is likely to have been retransmitted.
255 bool IsPacketRetransmitted(const VCMPacket& packet) const;
280 // Event to signal when we have received a packet.
  /external/libopus/include/
opus.h 63 * @li Good loss robustness and packet loss concealment (PLC)
131 * len = opus_encode(enc, audio_frame, frame_size, packet, max_packet);
138 * <li>packet is the byte array to which the compressed data is written</li>
139 * <li>max_packet is the maximum number of bytes that can be written in the packet (4000 bytes is recommended).
143 * opus_encode() and opus_encode_float() return the number of bytes actually written to the packet.
145 * is 1 byte, then the packet does not need to be transmitted (DTX).
182 * forward error correction to protect against packet loss. Use this
260 * @returns The length of the encoded packet (in bytes) on success or a
301 * @returns The length of the encoded packet (in bytes) on success or a
365 * To decode a frame, opus_decode() or opus_decode_float() must be called with a packet of compressed audio data
    [all...]
  /external/libvorbis/lib/
synthesis.c 40 oggpack_readinit(opb,op->packet,op->bytes);
42 /* Check the packet type */
44 /* Oops. This is not an audio data packet */
104 oggpack_readinit(opb,op->packet,op->bytes);
106 /* Check the packet type */
108 /* Oops. This is not an audio data packet */
144 oggpack_readinit(&opb,op->packet,op->bytes);
146 /* Check the packet type */
148 /* Oops. This is not an audio data packet */
  /external/chromium_org/media/cdm/ppapi/external_clear_key/
ffmpeg_cdm_video_decoder.cc 217 // Create a packet for input data.
218 AVPacket packet; local
219 av_init_packet(&packet);
222 packet.data = const_cast<uint8_t*>(compressed_frame);
223 packet.size = compressed_frame_size;
239 &packet);
243 << timestamp << " us, packet size: " << packet.size << " bytes";
  /external/libnfc-nxp/src/
phHciNfc_Generic.c 225 * The phHciNfc_Receive_HCP function receive the HCI Host Control Packet
641 * \brief Sends the HCP Packet to the lower link layer .
643 * This function Sends the HCI Data in the HCP packet format to the below
723 * \brief Receives the HCP Packet from the lower link layer .
725 * This function receives the HCI Data in the HCP packet format from the below
742 phHciNfc_HCP_Packet_t *packet = NULL; local
746 packet = (phHciNfc_HCP_Packet_t *)pdata;
747 chainbit = (uint8_t) GET_BITS8( packet->hcp_header,
809 * \brief Receives the HCP Packet from the lower link layer .
811 * This function receives the HCI Data in the HCP packet format from the belo
828 phHciNfc_HCP_Packet_t *packet = NULL; local
902 phHciNfc_HCP_Packet_t *packet = NULL; local
990 phHciNfc_HCP_Packet_t *packet = (phHciNfc_HCP_Packet_t *)pdata; local
1066 phHciNfc_HCP_Packet_t *packet = NULL; local
1184 phHciNfc_HCP_Packet_t *packet = NULL; local
    [all...]
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/MultiSession/
AttachConnectorTest.java 59 CommandPacket packet = new CommandPacket( local
62 ReplyPacket reply = debuggeeWrapper.vmMirror.performCommand(packet);
  /external/chromium_org/media/cast/test/
fake_media_source.h 86 // Call FFmpeg to fetch one packet.
89 void DecodeAudio(ScopedAVPacket packet);
90 void DecodeVideo(ScopedAVPacket packet);
  /external/chromium_org/net/quic/
quic_dispatcher.h 40 const QuicEncryptedPacket& packet) = 0;
47 // Creates per-connection packet writers out of the QuicDispatcher's shared
85 // Takes ownership of the packet writer.
88 // Process the incoming packet by creating a new session, passing it to
92 const QuicEncryptedPacket& packet) OVERRIDE;
138 // Replaces the packet writer with |writer|. Takes ownership of |writer|.
179 // An adapter that creates packet writers using the dispatcher's
195 // of a data packet that is destined for the time wait manager.
228 // Used to create per-connection packet writers, not |writer_| itself.
240 // Information about the packet currently being handled
    [all...]
quic_framer.cc 281 // PADDING implies end of packet.
288 // Frame fits within packet. Note that acks may be truncated.
291 // Only truncate the first frame in a packet, so if subsequent ones go
300 // Truncate the frame so the packet will not exceed kMaxPacketSize.
308 LOG(DFATAL) << "Packet size too small to fit frame.";
428 QuicPacket* packet = QuicPacket::NewDataPacket( local
435 packet->FecProtectedData());
439 header.public_header.sequence_number_length, packet,
475 const QuicPublicResetPacket& packet) {
476 DCHECK(packet.public_header.reset_flag)
    [all...]
quic_server.cc 170 QuicEncryptedPacket packet(read_buffer_->data(), result, false);
171 dispatcher_->ProcessPacket(server_address_, client_address_, packet);
  /external/chromium_org/remoting/host/
video_scheduler.h 151 // Send |packet| to the client, unless we are in the process of stopping.
152 void SendVideoPacket(scoped_ptr<VideoPacket> packet);
154 // Callback passed to |video_stub_| for the last packet in each frame, to
161 // Callback for |video_stub_| called after a keep-alive packet is sent.
175 scoped_ptr<VideoPacket> packet);
  /external/chromium_org/third_party/libjingle/source/talk/media/base/
rtpdataengine.h 119 virtual void OnPacketReceived(rtc::Buffer* packet,
121 virtual void OnRtcpReceived(rtc::Buffer* packet,
  /external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
fec_receiver_unittest.cc 43 void GenerateFEC(std::list<Packet*>* media_packets,
44 std::list<Packet*>* fec_packets,
54 std::list<Packet*>* media_packets) {
63 void VerifyReconstructedMediaPacket(const RtpPacket* packet, int times) {
64 // Verify that the content of the reconstructed packet is equal to the
65 // content of |packet|, and that the same content is received |times| number
67 EXPECT_CALL(rtp_data_callback_, OnRecoveredPacket(_, packet->length))
68 .With(Args<0, 1>(ElementsAreArray(packet->data,
69 packet->length)))
73 void BuildAndAddRedMediaPacket(RtpPacket* packet) {
    [all...]
forward_error_correction.h 36 // TODO(holmer): As a next step all these struct-like packet classes should be
39 // and receiver_fec.cc to be refactored into the packet classes.
40 class Packet {
42 Packet() : length(0), data(), ref_count_(0) {}
43 virtual ~Packet() {}
52 uint16_t length; // Length of packet in bytes.
53 uint8_t data[IP_PACKET_SIZE]; // Packet data.
56 int32_t ref_count_; // Counts the number of references to a packet.
77 // media packet or higher than the last media packet.\
    [all...]
rtcp_format_remb_unittest.cc 37 const void *packet,
39 RTCPUtility::RTCPParserV2 rtcpParser((uint8_t*)packet,
  /external/chromium_org/third_party/webrtc/video/
full_stack.cc 105 virtual DeliveryStatus DeliverPacket(const uint8_t* packet,
109 parser->Parse(packet, length, &header);
116 return receiver_->DeliverPacket(packet, length);
145 virtual bool SendRtp(const uint8_t* packet, size_t length) OVERRIDE {
148 parser->Parse(packet, length, &header);
161 return transport_->SendRtp(packet, length);
164 virtual bool SendRtcp(const uint8_t* packet, size_t length) OVERRIDE {
165 return transport_->SendRtcp(packet, length);
  /external/dnsmasq/src/
forward.c 27 /* Send a UDP packet with its source address set as "source"
29 static void send_from(int fd, int nowild, char *packet, size_t len,
47 iov[0].iov_base = packet;
279 packet straight away (helps modem users when offline) */
344 /* Keep info in case we want to re-send this packet */
399 /* If upstream is advertising a larger UDP packet size
465 sections of the packet. Find the new length here and put back pseudoheader
473 /* packet from peer server, extract data for cache, and send to
479 ssize_t n = recvfrom(fd, daemon->packet, daemon->edns_pktsz, 0, &serveraddr.sa, &addrlen);
483 /* packet buffer overwritten *
741 unsigned char *packet = whine_malloc(65536 + MAXDNAME + RRFIXEDSZ); local
    [all...]
  /external/android-clat/
clatd_test.cpp 43 // Test packet portions. Defined as macros because it's easy to concatenate them to make packets.
174 uint8_t ip_version(const uint8_t *packet) {
175 uint8_t version = packet[0] >> 4;
180 // A packet is a fragment if its fragment offset is nonzero or if the MF flag is set.
201 void check_packet(const uint8_t *packet, size_t len, const char *msg) {
206 int version = ip_version(packet);
209 struct iphdr *ip = (struct iphdr *) packet;
210 ASSERT_GE(len, sizeof(*ip)) << msg << ": IPv4 packet shorter than IPv4 header\n";
225 struct ip6_hdr *ip6 = (struct ip6_hdr *) packet;
226 ASSERT_GE(len, sizeof(*ip6)) << msg << ": IPv6 packet shorter than IPv6 header\n"
295 const uint8_t *packet = fragments[i]; local
    [all...]

Completed in 1116 milliseconds

<<11121314151617181920>>