Home
last modified time | relevance | path

Searched refs:packetSize (Results 1 – 20 of 20) sorted by relevance

/external/eigen/demos/mandelbrot/
Dmandelbrot.cpp33 enum { packetSize = Eigen::internal::packet_traits<Real>::size }; // number of reals in a Packet in render() enumerator
34 typedef Eigen::Array<Real, packetSize, 1> Packet; // wrap a Packet as a vector in render()
38 const int alignedWidth = (img_width/packetSize)*packetSize; in render()
57 for(int i = 0; i < packetSize; i++) pzi_start[i] = pci_start[i] = start.y() + y * step.y(); in render()
59 for(int x = 0; x < alignedWidth; x += packetSize, pix += packetSize) in render()
62 for(int i = 0; i < packetSize; i++) pzr[i] = pcr[i] = start.x() + (x+i) * step.x(); in render()
67 typedef Eigen::Matrix<int, packetSize, 1> Packeti; in render()
91 total_iter += iters_before_test * packetSize; in render()
96 for(int i = 0; i < packetSize; i++) in render()
150 int packetSize = threads[0]->single_precision in paintEvent() local
[all …]
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/sampleentry/
DAudioSampleEntry.java58 private int packetSize; field in AudioSampleEntry
94 return packetSize; in getPacketSize()
145 public void setPacketSize(int packetSize) { in setPacketSize() argument
146 this.packetSize = packetSize; in setPacketSize()
197 packetSize = IsoTypeReader.readUInt16(content); in _parseDetails()
239 ", packetSize=" + packetSize + in toString()
258 IsoTypeWriter.writeUInt16(byteBuffer, packetSize); in getContent()
/external/syzkaller/pkg/kd/
Dkd.go42 packetSize := int(unsafe.Sizeof(packet{}))
43 if len(data)-start < packetSize {
48 if len(data)-start < packetSize+int(pkt.size) {
51 size = packetSize + int(pkt.size) // skip whole packet
56 payload := (*stateChange64)(unsafe.Pointer(&data[start+packetSize]))
/external/eigen/Eigen/src/Core/
DRedux.h219 const Index packetSize = redux_traits<Func, Derived>::PacketSize;
226 const Index alignedSize2 = ((size-alignedStart)/(2*packetSize))*(2*packetSize);
227 const Index alignedSize = ((size-alignedStart)/(packetSize))*(packetSize);
234 if(alignedSize>packetSize) // we have at least two packets to partly unroll the loop
236 … PacketScalar packet_res1 = mat.template packet<alignment,PacketScalar>(alignedStart+packetSize);
237 for(Index index = alignedStart + 2*packetSize; index < alignedEnd2; index += 2*packetSize)
240 …t_res1 = func.packetOp(packet_res1, mat.template packet<alignment,PacketScalar>(index+packetSize));
280 packetSize = redux_traits<Func, Derived>::PacketSize
282 const Index packetedInnerSize = ((innerSize)/packetSize)*packetSize;
288 for(Index i=(j==0?packetSize:0); i<packetedInnerSize; i+=Index(packetSize))
DAssignEvaluator.h404 packetSize = unpacket_traits<PacketType>::size,
411 const Index alignedEnd = alignedStart + ((size-alignedStart)/packetSize)*packetSize;
415 for(Index index = alignedStart; index < alignedEnd; index += packetSize)
431 packetSize =unpacket_traits<PacketType>::size,
432 alignedSize = (size/packetSize)*packetSize };
455 const Index packetSize = unpacket_traits<PacketType>::size;
457 for(Index inner = 0; inner < innerSize; inner+=packetSize)
523 packetSize = unpacket_traits<PacketType>::size,
536 const Index packetAlignedMask = packetSize - 1;
539 …const Index alignedStep = alignable ? (packetSize - kernel.outerStride() % packetSize) & packetAli…
[all …]
/external/deqp/framework/referencerenderer/
DrrVertexPacket.cpp55 const size_t packetSize = sizeof(VertexPacket) + extraVaryings * sizeof(GenericVec4); in allocArray() local
58 deInt8* ptr = new deInt8[packetSize * count]; // throws bad_alloc => ok in allocArray()
65 retVal.push_back(new (ptr + i*packetSize) VertexPacket()); // throws bad_alloc in allocArray()
/external/eigen/unsupported/test/
Dcxx11_tensor_random.cpp53 const int packetSize = internal::packet_traits<int>::size; in packetOp() local
54 EIGEN_ALIGN_MAX int values[packetSize]; in packetOp()
55 for (int i = 0; i < packetSize; ++i) { in packetOp()
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorConcatenation.h251 const int packetSize = internal::unpacket_traits<PacketReturnType>::size;
252 EIGEN_STATIC_ASSERT((packetSize > 1), YOU_MADE_A_PROGRAMMING_MISTAKE)
253 eigen_assert(index + packetSize - 1 < dimensions().TotalSize());
255 EIGEN_ALIGN_MAX CoeffReturnType values[packetSize];
256 for (int i = 0; i < packetSize; ++i) {
347 const int packetSize = internal::unpacket_traits<PacketReturnType>::size;
348 EIGEN_STATIC_ASSERT((packetSize > 1), YOU_MADE_A_PROGRAMMING_MISTAKE)
349 eigen_assert(index + packetSize - 1 < this->dimensions().TotalSize());
351 EIGEN_ALIGN_MAX CoeffReturnType values[packetSize];
353 for (int i = 0; i < packetSize; ++i) {
DTensorRandom.h166 const int packetSize = internal::unpacket_traits<Packet>::size; in packetOp() local
167 EIGEN_ALIGN_MAX T values[packetSize]; in packetOp()
169 for (int j = 0; j < packetSize; ++j) { in packetOp()
245 const int packetSize = internal::unpacket_traits<Packet>::size;
246 EIGEN_ALIGN_MAX T values[packetSize];
248 for (int j = 0; j < packetSize; ++j) {
DTensorGenerator.h136 const int packetSize = internal::unpacket_traits<PacketReturnType>::size;
137 EIGEN_STATIC_ASSERT((packetSize > 1), YOU_MADE_A_PROGRAMMING_MISTAKE)
138 eigen_assert(index+packetSize-1 < dimensions().TotalSize());
140 EIGEN_ALIGN_MAX typename internal::remove_const<CoeffReturnType>::type values[packetSize];
141 for (int i = 0; i < packetSize; ++i) {
DTensorMorphing.h411 const int packetSize = internal::unpacket_traits<PacketReturnType>::size;
412 EIGEN_STATIC_ASSERT((packetSize > 1), YOU_MADE_A_PROGRAMMING_MISTAKE)
413 eigen_assert(index+packetSize-1 < internal::array_prod(dimensions()));
416 Index indices[] = {index, index + packetSize - 1};
440 if (inputIndices[1] - inputIndices[0] == packetSize - 1) {
445 EIGEN_ALIGN_MAX typename internal::remove_const<CoeffReturnType>::type values[packetSize];
447 values[packetSize-1] = m_impl.coeff(inputIndices[1]);
448 for (int i = 1; i < packetSize-1; ++i) {
564 const int packetSize = internal::unpacket_traits<PacketReturnType>::size;
566 Index indices[] = {index, index + packetSize - 1};
[all …]
DTensorReduction.h169 const int packetSize = internal::unpacket_traits<typename Self::PacketReturnType>::size;
170 const typename Self::Index VectorizedSize = (numValuesToReduce / packetSize) * packetSize;
172 for (typename Self::Index j = 0; j < VectorizedSize; j += packetSize) {
DREADME.md1755 EIGEN_STATIC_ASSERT(packetSize > 1, YOU_MADE_A_PROGRAMMING_MISTAKE)
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_sender_audio.cc350 size_t packetSize = payloadSize + rtpHeaderLength; in SendAudio() local
351 RtpUtility::RtpHeaderParser rtp_parser(dataBuffer, packetSize); in SendAudio()
354 _rtpSender->UpdateAudioLevel(dataBuffer, packetSize, rtp_header, in SendAudio()
Drtp_sender_video.cc304 size_t packetSize = payloadSize + rtp_header_length; in SendVideo() local
305 RtpUtility::RtpHeaderParser rtp_parser(dataBuffer, packetSize); in SendVideo()
308 _rtpSender.UpdateVideoRotation(dataBuffer, packetSize, rtp_header, in SendVideo()
/external/tensorflow/tensorflow/core/kernels/
Deigen_spatial_convolutions-inl.h343 const Index packetSize = internal::unpacket_traits<Packet>::size; in loadPacket() local
344 EIGEN_STATIC_ASSERT(packetSize > 1, YOU_MADE_A_PROGRAMMING_MISTAKE) in loadPacket()
357 const Index packetSize = internal::unpacket_traits<Packet>::size; in loadPacketStandard() local
358 EIGEN_STATIC_ASSERT(packetSize > 1, YOU_MADE_A_PROGRAMMING_MISTAKE) in loadPacketStandard()
363 if ((patchDepth() % packetSize) == 0) { in loadPacketStandard()
370 patchId / m_fastDimZero, (patchId + packetSize - 1) / m_fastDimZero}; in loadPacketStandard()
410 const Index packetSize = internal::unpacket_traits<Packet>::size; in loadPacketFast() local
411 EIGEN_STATIC_ASSERT(packetSize > 1, YOU_MADE_A_PROGRAMMING_MISTAKE) in loadPacketFast()
415 eigen_assert((patchDepth() % packetSize) == 0); in loadPacketFast()
418 eigen_assert((patchId + packetSize - 1) / m_fastDimZero == patchOffset); in loadPacketFast()
[all …]
Deigen_cuboid_convolution.h438 const Index packetSize = internal::unpacket_traits<Packet>::size; in loadPacket() local
440 EIGEN_STATIC_ASSERT(packetSize > 1, YOU_MADE_A_PROGRAMMING_MISTAKE) in loadPacket()
456 const Index packetSize = internal::unpacket_traits<Packet>::size; in loadPacketStandard() local
457 EIGEN_STATIC_ASSERT(packetSize > 1, YOU_MADE_A_PROGRAMMING_MISTAKE) in loadPacketStandard()
462 if ((patchDepth() % packetSize) == 0) { in loadPacketStandard()
470 patchId / m_fastDimZero, (patchId + packetSize - 1) / m_fastDimZero}; in loadPacketStandard()
528 const Index packetSize = internal::unpacket_traits<Packet>::size; in loadPacketFast() local
529 EIGEN_STATIC_ASSERT(packetSize > 1, YOU_MADE_A_PROGRAMMING_MISTAKE) in loadPacketFast()
534 eigen_assert((patchDepth() % packetSize) == 0); in loadPacketFast()
538 eigen_assert((patchId + packetSize - 1) / m_fastDimZero == patchOffset); in loadPacketFast()
[all …]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/
DAudioQuality.java26 int packetSize; field in AudioQuality
DFlatManifestWriterImpl.java163 qualityLevel.setAttribute("PacketSize", Integer.toString(aq.packetSize)); in getManifest()
224 l.packetSize = 4; in getAacAudioQuality()
365 l.packetSize = track.getSamples().get(0).limit(); //assuming all are same size in getEc3AudioQuality()
423 l.packetSize = track.getSamples().get(0).limit(); //assuming all are same size in getDtsAudioQuality()
/external/eigen/doc/
DInsideEigenExample.dox339 const int packetSize = internal::packet_traits<typename Derived1::Scalar>::size;
342 const int alignedEnd = alignedStart + ((size-alignedStart)/packetSize)*packetSize;
347 for(int index = alignedStart; index < alignedEnd; index += packetSize)
364 …o copy is not in general a multiple of \a packetSize. Here, there are 50 coefficients to copy and …
370 for(int index = alignedStart; index < alignedEnd; index += packetSize)
404 …SE-specific type. Notice that the enum \a size here is what was used to define \a packetSize above.
477 for(int index = alignedStart; index < alignedEnd; index += packetSize)