Home
last modified time | relevance | path

Searched refs:kPacketSize (Results 1 – 11 of 11) sorted by relevance

/external/webrtc/webrtc/test/
Dfake_network_pipe_unittest.cc55 void SendPackets(FakeNetworkPipe* pipe, int number_packets, int kPacketSize) { in SendPackets() argument
56 rtc::scoped_ptr<uint8_t[]> packet(new uint8_t[kPacketSize]); in SendPackets()
58 pipe->SendPacket(packet.get(), kPacketSize); in SendPackets()
62 int PacketTimeMs(int capacity_kbps, int kPacketSize) const { in PacketTimeMs()
63 return 8 * kPacketSize / capacity_kbps; in PacketTimeMs()
84 const int kPacketSize = 1000; in TEST_F() local
85 SendPackets(pipe.get(), kNumPackets , kPacketSize); in TEST_F()
89 kPacketSize); in TEST_F()
122 const int kPacketSize = 1000; in TEST_F() local
123 SendPackets(pipe.get(), kNumPackets , kPacketSize); in TEST_F()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Ddepthwise_conv_op.h134 static const int64 kPacketSize = (sizeof(Packet) / sizeof(T));
139 (filter_inner_dim_size / kPacketSize) * kPacketSize;
142 const int64 pad_size = scalar_size > 0 ? kPacketSize - scalar_size : 0;
143 const int64 padded_filter_stride = vectorized_size + kPacketSize;
150 for (int64 j = 0; j < vectorized_size; j += kPacketSize) {
196 static const int64 kPacketSize = (sizeof(Packet) / sizeof(T));
200 (args.in_depth / kPacketSize) * kPacketSize;
201 const int64 input_scalar_size = args.in_depth % kPacketSize;
207 (args.depth_multiplier / kPacketSize) * kPacketSize;
208 const int64 dm_scalar_size = args.depth_multiplier % kPacketSize;
[all …]
Ddepthwise_conv_grad_op.cc185 static const int64 kPacketSize = (sizeof(Packet) / sizeof(T)); in CopyOutputBackpropRegion() local
212 const int64 vectorized_size = (args.out_depth / kPacketSize) * kPacketSize; in CopyOutputBackpropRegion()
213 const int64 scalar_size = args.out_depth % kPacketSize; in CopyOutputBackpropRegion()
214 const int64 pad_size = scalar_size > 0 ? kPacketSize - scalar_size : 0; in CopyOutputBackpropRegion()
227 for (int64 d = 0; d < vectorized_size; d += kPacketSize) { in CopyOutputBackpropRegion()
282 static const int64 kPacketSize = (sizeof(Packet) / sizeof(T)); in ComputeBackpropInput() local
290 const int64 output_vectorized_size = (out_depth / kPacketSize) * kPacketSize; in ComputeBackpropInput()
291 const int64 output_scalar_size = out_depth % kPacketSize; in ComputeBackpropInput()
299 (depth_multiplier / kPacketSize) * kPacketSize; in ComputeBackpropInput()
300 const int64 dm_scalar_size = depth_multiplier % kPacketSize; in ComputeBackpropInput()
[all …]
Ddepthwise_conv_op.cc87 static const int64 kPacketSize = (sizeof(Packet) / sizeof(T)); in Run() local
91 const int64 output_scalar_size = out_depth % kPacketSize; in Run()
93 (out_depth / kPacketSize) * kPacketSize; in Run()
96 for (int i = 0; i < output_vectorized_size; i += kPacketSize) { in Run()
131 T out_buf[kPacketSize]; in Run()
164 static const int64 kPacketSize = (sizeof(Packet) / sizeof(T)); in operator ()() local
167 const bool pad_filter = (args.out_depth % kPacketSize) == 0 ? false : true; in operator ()()
173 ((args.out_depth + kPacketSize - 1) / kPacketSize) * kPacketSize; in operator ()()
189 static const int64 kPacketSize = (sizeof(Packet) / sizeof(T)); in operator ()() local
196 ((args.out_depth + kPacketSize - 1) / kPacketSize) * kPacketSize; in operator ()()
Ddeep_conv2d.cc144 static constexpr int64 kPacketSize = (sizeof(Packet) / sizeof(T)); in operator ()() local
146 const int64 vectorized_size = args.in_depth / kPacketSize; in operator ()()
147 const int64 scalar_size = args.in_depth % kPacketSize; in operator ()()
148 const int64 input_stride = args.out_depth * kPacketSize; in operator ()()
154 Eigen::internal::pstoreu<T>(filter_buf + d * kPacketSize, v); in operator ()()
158 const int64 buf_scalar_base = vectorized_size * kPacketSize; in operator ()()
188 static const int64 kPacketSize = (sizeof(Packet) / sizeof(T)); member
222 const int64 scalar_size = in_depth % kPacketSize; in operator ()()
223 const int64 vectorized_size = in_depth / kPacketSize; in operator ()()
244 ei::ploadu<Packet>(out_buffer + in_base + d * kPacketSize); in operator ()()
[all …]
Dmirror_pad_op.h180 constexpr int kPacketSize =
183 EIGEN_STATIC_ASSERT(kPacketSize > 1, YOU_MADE_A_PROGRAMMING_MISTAKE)
184 eigen_assert(index + kPacketSize <= dimensions().TotalSize());
221 if (left <= index && (index + kPacketSize - 1) < right) {
227 values[kPacketSize];
229 for (int i = 1; i < kPacketSize; ++i) {
238 constexpr int kPacketSize =
245 TensorOpCost(1, 0, compute_cost, vectorized, kPacketSize);
Dunary_ops_composition.cc140 static const int kPacketSize = Eigen::internal::unpacket_traits<Packet>::size; member in tensorflow::UnaryOpsComposition
144 if (block_size >= 16 * kPacketSize) { in AlignBlockSize()
145 return (block_size + 4 * kPacketSize - 1) & ~(4 * kPacketSize - 1); in AlignBlockSize()
148 return (block_size + kPacketSize - 1) & ~(kPacketSize - 1); in AlignBlockSize()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_format_vp9_unittest.cc184 const size_t kPacketSize = 26; in TEST_F() local
185 Init(kFrameSize, kPacketSize); in TEST_F()
197 const size_t kPacketSize = 27; in TEST_F() local
198 Init(kFrameSize, kPacketSize); in TEST_F()
211 const size_t kPacketSize = 1; in TEST_F() local
212 Init(kFrameSize, kPacketSize); // 1hdr + 1 payload in TEST_F()
220 const size_t kPacketSize = 12; in TEST_F() local
224 Init(kFrameSize, kPacketSize); in TEST_F()
238 const size_t kPacketSize = 13; in TEST_F() local
241 Init(kFrameSize, kPacketSize); in TEST_F()
[all …]
Drtp_sender_unittest.cc1368 const int32_t kPacketSize = 1400; in TEST_F() local
1373 rtp_sender_->SetTargetBitrate(kNumPackets * kPacketSize * 8); in TEST_F()
1379 SendPacket(fake_clock_.TimeInMilliseconds(), kPacketSize); in TEST_F()
/external/webrtc/webrtc/modules/pacing/
Dpaced_sender_unittest.cc668 const size_t kPacketSize = 1200; in TEST_F() local
675 clock_.TimeInMilliseconds(), kPacketSize, false); in TEST_F()
680 static_cast<int64_t>(kNumPackets * kPacketSize * 8 / kMaxBitrate); in TEST_F()
698 static_cast<int64_t>(kPacketSize * 8 / kMaxBitrate)); in TEST_F()
723 const size_t kPacketSize = 1200; in TEST_F() local
742 kPacketSize, false); in TEST_F()
757 const size_t kPacketSize = 1200; in TEST_F() local
771 kPacketSize, false); in TEST_F()
792 const size_t kPacketSize = 1200; in TEST_F() local
796 clock_.TimeInMilliseconds() + 33, kPacketSize, true); in TEST_F()
[all …]
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dsend_time_history_unittest.cc110 const size_t kPacketSize = 400; in TEST_F() local
115 static_cast<uint16_t>(i), kPacketSize, in TEST_F()
119 static_cast<uint16_t>(i), kPacketSize, false)); in TEST_F()