/external/eigen/Eigen/src/Core/ |
Block.h | 252 inline PacketScalar packet(Index rowId, Index colId) const function in class:Eigen::internal::BlockImpl_dense 254 return m_xpr.template packet<Unaligned> 266 inline PacketScalar packet(Index index) const function in class:Eigen::internal::BlockImpl_dense 268 return m_xpr.template packet<Unaligned>
|
CwiseBinaryOp.h | 179 EIGEN_STRONG_INLINE PacketScalar packet(Index rowId, Index colId) const function in class:Eigen::CwiseBinaryOpImpl 181 return derived().functor().packetOp(derived().lhs().template packet<LoadMode>(rowId, colId), 182 derived().rhs().template packet<LoadMode>(rowId, colId)); 192 EIGEN_STRONG_INLINE PacketScalar packet(Index index) const function in class:Eigen::CwiseBinaryOpImpl 194 return derived().functor().packetOp(derived().lhs().template packet<LoadMode>(index), 195 derived().rhs().template packet<LoadMode>(index));
|
CwiseNullaryOp.h | 75 EIGEN_STRONG_INLINE PacketScalar packet(Index rowId, Index colId) const function in class:Eigen::CwiseNullaryOp 86 EIGEN_STRONG_INLINE PacketScalar packet(Index index) const function in class:Eigen::CwiseNullaryOp
|
DenseCoeffsBase.h | 198 * \returns the packet of coefficients starting at the given row and column. It is your responsibility 199 * to ensure that a packet really starts there. This method is only available on expressions having the 204 * starting at an address which is a multiple of the packet size. 208 EIGEN_STRONG_INLINE PacketReturnType packet(Index row, Index col) const function in class:Eigen::DenseCoeffsBase 212 return derived().template packet<LoadMode>(row,col); 220 return packet<LoadMode>(rowIndexByOuterInner(outer, inner), 225 * \returns the packet of coefficients starting at the given index. It is your responsibility 226 * to ensure that a packet really starts there. This method is only available on expressions having the 231 * starting at an address which is a multiple of the packet size. 235 EIGEN_STRONG_INLINE PacketReturnType packet(Index index) cons function in class:Eigen::DenseCoeffsBase [all...] |
Transpose.h | 154 inline const PacketScalar packet(Index rowId, Index colId) const function in class:Eigen::TransposeImpl 156 return derived().nestedExpression().template packet<LoadMode>(colId, rowId); 166 inline const PacketScalar packet(Index index) const function in class:Eigen::TransposeImpl 168 return derived().nestedExpression().template packet<LoadMode>(index);
|
/external/eigen/Eigen/src/Core/products/ |
CoeffBasedProduct.h | 26 * on the generic Assign mechanism to evaluate the product per coeff (or packet). 34 template<int StorageOrder, int UnrollingIndex, typename Lhs, typename Rhs, typename Packet, int LoadMode> 98 * of Product. If the Product itself is not a packet-access expression, there is still a chance that the inner 171 /* Allow index-based non-packet access. It is impossible though to allow index-based packed access, 184 EIGEN_STRONG_INLINE const PacketScalar packet(Index row, Index col) const function in class:Eigen::CoeffBasedProduct 284 template<int UnrollingIndex, typename Lhs, typename Rhs, typename Packet> 291 product_coeff_vectorized_unroller<UnrollingIndex-PacketSize, Lhs, Rhs, Packet>::run(row, col, lhs, rhs, pres); 292 pres = padd(pres, pmul( lhs.template packet<Aligned>(row, UnrollingIndex) , rhs.template packet<Aligned>(UnrollingIndex, col) )); 296 template<typename Lhs, typename Rhs, typename Packet> [all...] |
/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/libogg/include/ogg/ |
ogg.h | 54 unsigned char *body_data; /* bytes from packet bodies */ 72 int e_o_s; /* set when we have buffered the last packet in the 88 to a single raw Ogg/Vorbis packet *************************************/ 91 unsigned char *packet; member in struct:__anon16693
|
/external/libopus/tests/ |
test_opus_decode.c | 62 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, 1, outbuf, MAX_FRAME_SAMP, fec?-1:2) [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_state_init.c | 54 /* New (1.3) state mechanism. 3 commands (packet, scalar, vector) in 62 } packet[RADEON_MAX_STATE_PACKETS] = { variable in typeref:struct:__anon20344 168 return CP_PACKET0(packet[id].start, packet[id].len - 1); 490 OUT_BATCH(CP_PACKET0(packet[0].start, 3)); 750 /* Fill in the packet headers: [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
UDPMessageProcessor.java | 39 * packet, a new UDPMessageChannel is created (upto the max thread pool size). 190 DatagramPacket packet = new DatagramPacket(message, bufsize); local 191 sock.receive(packet); 240 this.messageQueue.add(packet); 244 new UDPMessageChannel(sipStack, this, packet);
|
/external/ppp/pppd/plugins/rp-pppoe/ |
pppoe-discovery.c | 25 #include <netpacket/packet.h> 67 * packet -- a received PPPoE packet 69 * ethernet packet type (see /usr/include/net/ethertypes.h) 71 * Checks the ethernet packet header to determine its type. 74 * Note that the ethernet type names come from "pppoe.h" and the packet 75 * packet structure names use the LINUX dialect to maintain consistency 80 etherType(PPPoEPacket *packet) 82 UINT16_t type = (UINT16_t) ntohs(packet->ethHdr.h_proto); 198 * pkt -- the packet to transmi 445 PPPoEPacket packet; local 514 PPPoEPacket packet; local [all...] |
/external/skia/experimental/Networking/ |
SkSockets.cpp | 90 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(done:%d, bytes:%d) from fd:%d in %d tries\n" 177 char packet[PACKET_SIZE]; local [all...] |
/external/webrtc/talk/media/base/ |
testutils.cc | 75 bool RawRtpPacket::SameExceptSeqNumTimestampSsrc(const RawRtpPacket& packet, 81 ver_to_cc == packet.ver_to_cc && 82 m_to_pt == packet.m_to_pt && 84 0 == memcmp(payload, packet.payload, sizeof(payload)); 110 bool RawRtcpPacket::EqualsTo(const RawRtcpPacket& packet) const { 111 return ver_to_count == packet.ver_to_count && 112 type == packet.type && 113 length == packet.length && 114 0 == memcmp(payload, packet.payload, sizeof(payload)); 176 RtpDumpPacket packet; local [all...] |
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
packet_buffer_unittest.cc | 18 #include "webrtc/modules/audio_coding/neteq/packet.h" 31 Packet* NextPacket(int payload_size_bytes); 52 Packet* PacketGenerator::NextPacket(int payload_size_bytes) { 53 Packet* packet = new Packet; local 54 packet->header.sequenceNumber = seq_no_; 55 packet->header.timestamp = ts_; 56 packet->header.payloadType = pt_; 57 packet->header.markerBit = false 93 Packet* packet = gen.NextPacket(payload_len); local 116 Packet* packet = gen.NextPacket(payload_len); local 137 Packet* packet = gen.NextPacket(payload_len); local 146 Packet* packet = gen.NextPacket(payload_len); local 166 Packet* packet = gen.NextPacket(payload_len); local 202 Packet* packet = gen.NextPacket(payload_len); local 206 Packet* packet = gen.NextPacket(payload_len); local 270 Packet* packet = gen.NextPacket(kPayloadLength); local 282 Packet* packet = buffer.GetNextPacket(&drop_count); local 302 Packet* packet = gen.NextPacket(payload_len); local 333 Packet* packet = gen.NextPacket(payload_len); local 358 Packet* packet = buffer.GetNextPacket(NULL); local 378 Packet* packet = NULL; local 506 Packet* packet = gen.NextPacket(payload_len); local [all...] |
payload_splitter_unittest.cc | 22 #include "webrtc/modules/audio_coding/neteq/packet.h" 35 // A possible Opus packet that contains FEC is the following. 71 // Creates a RED packet, with |num_payloads| payloads, with payload types given 75 Packet* CreateRedPayload(size_t num_payloads, 79 Packet* packet = new Packet; local 80 packet->header.payloadType = kRedPayloadType; 81 packet->header.timestamp = kBaseTimestamp; 82 packet->header.sequenceNumber = kSequenceNumber 125 Packet* packet = new Packet; local 171 Packet* packet = CreateRedPayload(2, payload_types, kTimestampOffset); local 198 Packet* packet = CreateRedPayload(1, payload_types, kTimestampOffset); local 238 Packet* packet = CreateRedPayload(3, payload_types, kTimestampOffset); local 305 Packet* packet = CreatePacket(i, 10, 0); local 325 Packet* packet = packet_list.front(); local 339 Packet* packet = CreateRedPayload(3, payload_types, kTimestampOffset); local 614 Packet* packet = CreatePacket(kPayloadType, payload_length_bytes, 0); local 639 Packet* packet = (*it); local 685 Packet* packet = CreatePacket(kPayloadType, kPayloadLengthBytes, 0); local 717 Packet* packet = CreatePacket(kPayloadType, kPayloadLengthBytes, 0); local 751 Packet* packet = CreatePacket(0, 10, 0xFF, true); local 806 Packet* packet = CreateRedPayload(2, payload_types, kTimestampOffset, true); local [all...] |
/external/webrtc/webrtc/modules/rtp_rtcp/source/ |
producer_fec.cc | 37 ForwardErrorCorrection::Packet* pkt; 147 ForwardErrorCorrection::Packet* packet = new ForwardErrorCorrection::Packet; local 148 packet->length = payload_length + rtp_header_length; 149 memcpy(packet->data, data_buffer, packet->length); 150 media_packets_fec_.push_back(packet); 189 // Returns true if the media packet list for the FEC is at least 222 // Build FEC packet. The FEC packets in |fec_packets_| doesn' [all...] |
rtp_fec_unittest.cc | 29 typedef std::list<ForwardErrorCorrection::Packet*> PacketList; 34 T* packet = NULL; local 36 packet = my_list->front(); 37 delete packet; 60 // Media packet "i" is lost if media_loss_mask_[i] = 1, 64 // FEC packet "i" is lost if fec_loss_mask_[i] = 1, 68 // Construct the media packet list, up to |num_media_packets| packets. 69 // Returns the next sequence number after the last media packet. 70 // (this will be the sequence of the first FEC packet) 74 // Construct the received packet list: a subset of the media and FEC packets 854 ForwardErrorCorrection::Packet* packet; local [all...] |
rtp_format_h264.cc | 80 LOG(LS_ERROR) << "StapA packet with incorrect NALU packet lengths."; 202 packets_.push(Packet(offset, 216 // Aggregate fragments into one packet (STAP-A). 224 packets_.push(Packet(fragment_offset, 241 // If we are going to try to aggregate more fragments into this packet 243 // NALU of this packet. 262 Packet packet = packets_.front(); local 264 if (packet.first_fragment && packet.last_fragment) 283 Packet packet = packets_.front(); local 308 Packet packet = packets_.front(); local [all...] |
rtp_format_h264_unittest.cc | 47 const uint8_t* packet, 53 EXPECT_EQ(kFuIndicator, packet[0]) << "FUA index: " << fua_index; 62 EXPECT_EQ(fu_header, packet[1]) << "FUA index: " << fua_index; 68 ::testing::ElementsAreArray(&packet[2], expected_sizes[fua_index])) 89 rtc::scoped_ptr<uint8_t[]> packet(new uint8_t[max_payload_size]); 94 ASSERT_TRUE(packetizer->NextPacket(packet.get(), &length, &last)); 95 VerifyFua(i, frame.get(), offset, packet.get(), length, expected_sizes); 100 EXPECT_FALSE(packetizer->NextPacket(packet.get(), &length, &last)); 120 const uint8_t* packet, 134 ::testing::ElementsAreArray(&packet[expected_payload_offset] 192 uint8_t packet[kMaxPayloadSize] = {0}; local 229 uint8_t packet[kMaxPayloadSize] = {0}; local 264 uint8_t packet[kMaxPayloadSize] = {0}; local 316 uint8_t packet[kMaxPayloadSize] = {0}; local 401 uint8_t packet[2] = {0x05, 0xFF}; \/\/ F=0, NRI=0, Type=5 (IDR). local 415 uint8_t packet[] = {kSps, 0x7A, 0x00, 0x1F, 0xBC, 0xD9, 0x40, 0x50, local 432 uint8_t packet[16] = {kStapA, \/\/ F=0, NRI=0, Type=24. local 450 uint8_t packet[] = {kStapA, \/\/ F=0, NRI=0, Type=24. local 470 uint8_t packet[16] = {kStapA, \/\/ F=0, NRI=0, Type=24. local [all...] |
rtp_format_vp9_unittest.cc | 75 void ParseAndCheckPacket(const uint8_t* packet, 81 ASSERT_TRUE(depacketizer->Parse(&parsed, packet, expected_length)); 85 VerifyPayload(parsed, packet + expected_hdr_length, kExpectedPayloadLength); 149 void CheckPayload(const uint8_t* packet, 154 EXPECT_EQ(packet[i], payload_[payload_pos_++]); 187 // One packet: 289 // One packet: 356 // One packet: 377 // One packet: 414 // One packet 477 uint8_t packet[4] = {0}; local 486 uint8_t packet[10] = {0}; local 497 uint8_t packet[10] = {0}; local 514 uint8_t packet[13] = {0}; local 535 uint8_t packet[13] = {0}; local 556 uint8_t packet[13] = {0}; local 586 uint8_t packet[13] = {0}; local 596 uint8_t packet[13] = {0}; local 613 uint8_t packet[23] = {0}; local 637 uint8_t packet[2] = {0}; local 647 uint8_t packet[2] = {0}; local 659 uint8_t packet[20] = {0}; local 678 uint8_t packet[1] = {0}; local 685 uint8_t packet[kHeaderLength] = {0}; local [all...] |
rtp_payload_registry_unittest.cc | 256 // Generates an RTX packet for the given length and original sequence number. 262 uint8_t* packet = local 267 packet[0] = static_cast<uint8_t>(kRtpExpectedVersion << 6); 268 // Write a junk sequence number. It should be thrown away when the packet is 270 ByteWriter<uint16_t>::WriteBigEndian(packet + 2, 9999); 271 // Write a junk ssrc. It should also be thrown away when the packet is 273 ByteWriter<uint32_t>::WriteBigEndian(packet + 8, 9999); 277 ByteWriter<uint16_t>::WriteBigEndian(packet + header_length, 279 return packet; 299 rtc::scoped_ptr<const uint8_t[]> packet(GenerateRtxPacket [all...] |
/external/webrtc/webrtc/modules/video_coding/ |
receiver_unittest.cc | 19 #include "webrtc/modules/video_coding/packet.h" 45 VCMPacket packet; local 46 bool packet_available = stream_generator_->GetPacket(&packet, index); 50 return receiver_.InsertPacket(packet, kWidth, kHeight); 54 VCMPacket packet; local 55 bool packet_available = stream_generator_->PopPacket(&packet, index); 59 return receiver_.InsertPacket(packet, kWidth, kHeight); 69 // Drop the second packet. 70 VCMPacket packet; local 71 stream_generator_->PopPacket(&packet, 0) 390 VCMPacket packet; local [all...] |
/external/webrtc/webrtc/p2p/base/ |
relayserver_unittest.cc | 120 rtc::TestClient::Packet* packet = local 122 if (packet) { 123 rtc::ByteBuffer buf(packet->buf, packet->size); 126 delete packet; 132 rtc::TestClient::Packet* packet = local 134 if (packet) { 135 raw = std::string(packet->buf, packet->size) [all...] |
/external/webrtc/webrtc/video/ |
replay.cc | 267 "length/packet interleaved.\n"); 283 test::RtpPacket packet; local 284 if (!rtp_reader->NextPacket(&packet)) 287 switch (call->Receiver()->DeliverPacket(webrtc::MediaType::ANY, packet.data, 288 packet.length, PacketTime())) { 294 parser->Parse(packet.data, packet.length, &header); 301 fprintf(stderr, "Packet error, corrupt packets or incorrect setup?\n"); 304 if (last_time_ms != 0 && last_time_ms != packet.time_ms) { 305 SleepMs(packet.time_ms - last_time_ms) [all...] |