/external/webrtc/webrtc/modules/remote_bitrate_estimator/ |
D | overuse_detector_unittest.cc | 49 int Run100000Samples(int packets_per_frame, size_t packet_size, int mean_ms, in Run100000Samples() argument 55 UpdateDetector(rtp_timestamp_, receive_time_ms_, packet_size); in Run100000Samples() 73 int RunUntilOveruse(int packets_per_frame, size_t packet_size, int mean_ms, in RunUntilOveruse() argument 78 UpdateDetector(rtp_timestamp_, receive_time_ms_, packet_size); in RunUntilOveruse() 94 size_t packet_size) { in UpdateDetector() argument 100 packet_size, in UpdateDetector() 137 size_t packet_size = 1200; in TEST_F() local 143 UpdateDetector(rtp_timestamp, now_ms_, packet_size); in TEST_F() 154 size_t packet_size = 1200; in TEST_F() local 157 UpdateDetector(rtp_timestamp, now_ms_, packet_size); in TEST_F() [all …]
|
D | inter_arrival_unittest.cc | 49 size_t packet_size) { in ExpectFalse() argument 52 packet_size); in ExpectFalse() 54 arrival_time_ms, packet_size); in ExpectFalse() 62 size_t packet_size, int64_t expected_timestamp_delta_us, in ExpectTrue() argument 67 arrival_time_ms, packet_size, in ExpectTrue() 72 arrival_time_ms, packet_size, in ExpectTrue() 164 size_t packet_size) { in InternalExpectFalse() argument 170 packet_size, in InternalExpectFalse() 182 size_t packet_size, in InternalExpectTrue() argument 192 packet_size, in InternalExpectTrue()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | eigen_spatial_convolutions.h | 33 typename nocontract_t, typename contract_t, int packet_size, 43 nocontract_t, contract_t, packet_size, inner_dim_contiguous, 52 nocontract_t, contract_t, packet_size, inner_dim_contiguous, 64 if (standard_patches && (rhs.patchDepth() % packet_size == 0)) { 102 const StorageIndex peeled_k = (rows / packet_size) * packet_size; 132 eigen_assert((max_depth - start_depth) % packet_size == 0); 135 for (; d < max_depth; d += packet_size) { 138 block += packet_size; 139 k += packet_size; 144 const StorageIndex vectorized_depth = max_depth - packet_size; [all …]
|
D | eigen_spatial_convolutions-inl.h | 57 typename nocontract_t, typename contract_t, int Side, int packet_size, 65 nocontract_t, contract_t, packet_size, inner_dim_contiguous, 76 nocontract_t, contract_t, packet_size, inner_dim_contiguous, 86 nocontract_t, contract_t, packet_size, inner_dim_contiguous, 277 nocontract_t, contract_t, packet_size, inner_dim_contiguous, 512 typename nocontract_t, typename contract_t, int Side, int packet_size, 520 nocontract_t, contract_t, packet_size, inner_dim_contiguous, 532 nocontract_t, contract_t, packet_size, inner_dim_contiguous, 542 nocontract_t, contract_t, packet_size, inner_dim_contiguous, 804 typename nocontract_t, typename contract_t, int packet_size, [all …]
|
D | eigen_cuboid_convolution.h | 60 typename nocontract_t, typename contract_t, int Side, int packet_size, 68 nocontract_t, contract_t, packet_size, inner_dim_contiguous, 78 nocontract_t, contract_t, packet_size, inner_dim_contiguous, 87 nocontract_t, contract_t, packet_size, inner_dim_contiguous, 345 nocontract_t, contract_t, packet_size, inner_dim_contiguous, 682 typename nocontract_t, typename contract_t, int Side, int packet_size, 690 nocontract_t, contract_t, packet_size, inner_dim_contiguous, 702 nocontract_t, contract_t, packet_size, inner_dim_contiguous, 711 nocontract_t, contract_t, packet_size, inner_dim_contiguous, 1002 typename nocontract_t, typename contract_t, int packet_size, [all …]
|
D | eigen_contraction_kernel.h | 221 StorageIndex packet_size = internal::packet_traits<Scalar>::size; 222 if (packet_size < 8) packet_size = 8; 224 Eigen::divup(k / target_k_slices, packet_size) * packet_size;
|
/external/adhd/cras/src/server/ |
D | cras_hfp_info.c | 47 unsigned int packet_size; member 152 if (to_send < info->packet_size) in hfp_write() 154 to_send = info->packet_size; in hfp_write() 165 if (err != (int)info->packet_size) { in hfp_write() 168 err, info->packet_size); in hfp_write() 179 unsigned int packet_size) in hfp_info_set_packet_size() argument 183 MAX_HFP_BUF_SIZE_BYTES / packet_size * packet_size; in hfp_info_set_packet_size() 184 info->packet_size = packet_size; in hfp_info_set_packet_size() 224 if (to_read < info->packet_size) in hfp_read() 226 to_read = info->packet_size; in hfp_read() [all …]
|
/external/ImageMagick/coders/ |
D | map.c | 125 packet_size, in ReadMAPImage() local 164 packet_size=(size_t) (depth/8); in ReadMAPImage() 165 pixels=(unsigned char *) AcquireQuantumMemory(image->columns,packet_size* in ReadMAPImage() 167 packet_size=(size_t) (image->colors > 256 ? 6UL : 3UL); in ReadMAPImage() 168 colormap=(unsigned char *) AcquireQuantumMemory(image->colors,packet_size* in ReadMAPImage() 180 count=ReadBlob(image,packet_size*image->colors,colormap); in ReadMAPImage() 181 if (count != (ssize_t) (packet_size*image->colors)) in ReadMAPImage() 224 packet_size=(size_t) (depth/8); in ReadMAPImage() 231 count=ReadBlob(image,(size_t) packet_size*image->columns,pixels); in ReadMAPImage() 232 if (count != (ssize_t) (packet_size*image->columns)) in ReadMAPImage() [all …]
|
D | miff.c | 498 packet_size; in ReadMIFFImage() local 1213 packet_size=(size_t) (3UL*image->depth/8UL); in ReadMIFFImage() 1216 if (((MagickSizeType) packet_size*colors) > GetBlobSize(image)) in ReadMIFFImage() 1230 packet_size*sizeof(*colormap)); in ReadMIFFImage() 1233 count=ReadBlob(image,packet_size*image->colors,colormap); in ReadMIFFImage() 1325 packet_size=(size_t) (quantum_info->depth/8); in ReadMIFFImage() 1327 packet_size=(size_t) (3*quantum_info->depth/8); in ReadMIFFImage() 1329 packet_size=quantum_info->depth/8; in ReadMIFFImage() 1331 packet_size+=quantum_info->depth/8; in ReadMIFFImage() 1333 packet_size+=quantum_info->depth/8; in ReadMIFFImage() [all …]
|
/external/ImageMagick/MagickCore/ |
D | quantum.c | 310 packet_size; in GetQuantumExtent() local 314 packet_size=1; in GetQuantumExtent() 317 case GrayAlphaQuantum: packet_size=2; break; in GetQuantumExtent() 318 case IndexAlphaQuantum: packet_size=2; break; in GetQuantumExtent() 319 case RGBQuantum: packet_size=3; break; in GetQuantumExtent() 320 case BGRQuantum: packet_size=3; break; in GetQuantumExtent() 321 case RGBAQuantum: packet_size=4; break; in GetQuantumExtent() 322 case RGBOQuantum: packet_size=4; break; in GetQuantumExtent() 323 case BGRAQuantum: packet_size=4; break; in GetQuantumExtent() 324 case CMYKQuantum: packet_size=4; break; in GetQuantumExtent() [all …]
|
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/ |
D | TensorContractionMapper.h | 76 int packet_size, bool inner_dim_contiguous, int Alignment> 220 int packet_size, bool inner_dim_contiguous, 222 …ntractionMapper<Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_cont… 225 …ntractionMapper<Scalar, Index, side, Tensor, nocontract_t, contract_t, packet_size, inner_dim_cont… 245 EIGEN_STATIC_ASSERT(packet_size % 2 == 0, YOU_MADE_A_PROGRAMMING_MISTAKE); 249 eigen_assert(this->computeIndex(i+packet_size-1, j) == index + packet_size-1); 253 const IndexPair<Index> indexPair = this->computeIndexPair(i, j, packet_size - 1); 263 (last - first) == (packet_size - 1)) { 268 EIGEN_ALIGN_MAX Scalar data[packet_size]; 271 for (Index k = 1; k < packet_size - 1; k += 2) { [all …]
|
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/ |
D | codec_test.cc | 35 static void SetRateIfILBC(webrtc::CodecInst* codec_instance, int packet_size) { in SetRateIfILBC() argument 37 if (packet_size == 160 || packet_size == 320) { in SetRateIfILBC() 223 for (int packet_size = 80; packet_size < 1000; packet_size += 80) { in TEST_F() local 224 SetRateIfILBC(&codec_instance_, packet_size); in TEST_F() 225 codec_instance_.pacsize = packet_size; in TEST_F() 230 TEST_LOG("%d ", packet_size); in TEST_F()
|
/external/webrtc/webrtc/modules/pacing/ |
D | bitrate_prober.cc | 24 int ComputeDeltaFromBitrate(size_t packet_size, int bitrate_bps) { in ComputeDeltaFromBitrate() argument 28 return static_cast<int>(1000ll * static_cast<int64_t>(packet_size) * 8ll / in ComputeDeltaFromBitrate() 120 void BitrateProber::PacketSent(int64_t now_ms, size_t packet_size) { in PacketSent() argument 121 assert(packet_size > 0); in PacketSent() 122 packet_size_last_send_ = packet_size; in PacketSent()
|
/external/u-boot/drivers/usb/gadget/ |
D | designware_udc.c | 594 int packet_size; in udc_setup_ep() local 612 packet_size = endpoint->tx_packetSize; in udc_setup_ep() 613 buffer_size = packet_size * 2; in udc_setup_ep() 617 packet_size = endpoint->rcv_packetSize; in udc_setup_ep() 618 buffer_size = packet_size * 2; in udc_setup_ep() 643 buffer_size = packet_size; in udc_setup_ep() 655 writel(packet_size, &in_p->endp_maxpacksize); in udc_setup_ep() 659 writel(packet_size | ((buffer_size / sizeof(int)) << 16), in udc_setup_ep() 667 writel(packet_size, &in_p->endp_maxpacksize); in udc_setup_ep() 672 writel((packet_size << 19) | in udc_setup_ep() [all …]
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/ |
D | isacfix.c | 618 size_t packet_size, in WebRtcIsacfix_UpdateBwEstimate1() argument 631 if (packet_size == 0) { in WebRtcIsacfix_UpdateBwEstimate1() 635 } else if (packet_size > (STREAM_MAXW16<<1)) { in WebRtcIsacfix_UpdateBwEstimate1() 647 InitializeDecoderBitstream(packet_size, &streamdata); in WebRtcIsacfix_UpdateBwEstimate1() 653 packet_size, in WebRtcIsacfix_UpdateBwEstimate1() 690 size_t packet_size, in WebRtcIsacfix_UpdateBwEstimate() argument 704 if (packet_size == 0) { in WebRtcIsacfix_UpdateBwEstimate() 708 } else if (packet_size < kRequiredEncodedLenBytes) { in WebRtcIsacfix_UpdateBwEstimate() 711 } else if (packet_size > (STREAM_MAXW16<<1)) { in WebRtcIsacfix_UpdateBwEstimate() 723 InitializeDecoderBitstream(packet_size, &streamdata); in WebRtcIsacfix_UpdateBwEstimate() [all …]
|
D | decode_bwe.c | 29 size_t packet_size, in WebRtcIsacfix_EstimateBandwidth() argument 59 packet_size, /* in bytes */ in WebRtcIsacfix_EstimateBandwidth()
|
/external/mesa3d/src/gallium/drivers/vc4/kernel/ |
D | vc4_validate.c | 745 uint32_t nr_attributes, nr_relocs, packet_size; in validate_gl_shader_rec() local 751 packet_size = gl_shader_rec_size(state->addr); in validate_gl_shader_rec() 764 if (packet_size > exec->shader_rec_size) { in validate_gl_shader_rec() 767 packet_size, exec->shader_rec_size); in validate_gl_shader_rec() 772 memcpy(pkt_v, pkt_u, packet_size); in validate_gl_shader_rec() 773 exec->shader_rec_u += packet_size; in validate_gl_shader_rec() 779 BUG_ON(roundup(packet_size, 16) - packet_size > nr_relocs * 4); in validate_gl_shader_rec() 780 exec->shader_rec_v += roundup(packet_size, 16); in validate_gl_shader_rec() 781 exec->shader_rec_size -= packet_size; in validate_gl_shader_rec()
|
/external/webrtc/webrtc/modules/audio_coding/test/ |
D | TestAllCodecs.cc | 359 int packet_size, size_t extra_byte) { in RegisterSendCodec() argument 363 sampling_freq_hz, rate, packet_size); in RegisterSendCodec() 372 packet_size_samples_ = packet_size / 2; in RegisterSendCodec() 376 packet_size_samples_ = packet_size; in RegisterSendCodec() 384 static_cast<float>(packet_size * rate) / in RegisterSendCodec() 413 my_codec_param.pacsize = packet_size; in RegisterSendCodec()
|
/external/python/cpython2/Tools/ccbench/ |
D | ccbench.py | 403 def bandwidth_client(addr, packet_size, duration): argument 410 _sendto(sock, ("%r#%s\n" % (local_addr, msg)).rjust(packet_size), addr) 419 s = _recv(sock, packet_size) 420 assert len(s) == packet_size 440 packet_size = BANDWIDTH_PACKET_SIZE 478 packet_size=packet_size, 482 s = _recv(sock, packet_size) 494 s = _recv(sock, packet_size)
|
/external/python/cpython3/Tools/ccbench/ |
D | ccbench.py | 405 def bandwidth_client(addr, packet_size, duration): argument 412 _sendto(sock, ("%r#%s\n" % (local_addr, msg)).rjust(packet_size), addr) 421 s = _recv(sock, packet_size) 422 assert len(s) == packet_size 442 packet_size = BANDWIDTH_PACKET_SIZE 480 packet_size=packet_size, 484 s = _recv(sock, packet_size) 496 s = _recv(sock, packet_size)
|
/external/webrtc/webrtc/call/ |
D | rtc_event_log_unittest.cc | 302 size_t packet_size, in GenerateRtpPacket() argument 304 RTC_CHECK_GE(packet_size, 16 + 4 * csrcs_count + 4 * kNumExtensions); in GenerateRtpPacket() 344 for (size_t i = header_size; i < packet_size; i++) { in GenerateRtpPacket() 440 size_t packet_size = prng.Rand(1000, 1100); in LogSessionAndReadBack() local 441 rtp_packets.push_back(rtc::Buffer(packet_size)); in LogSessionAndReadBack() 444 rtp_packets[i].data(), packet_size, &prng); in LogSessionAndReadBack() 614 size_t packet_size = prng.Rand(1000, 1100); in DropOldEvents() local 615 old_rtp_packet.SetSize(packet_size); in DropOldEvents() 617 packet_size, &prng); in DropOldEvents() 618 packet_size = prng.Rand(1000, 1100); in DropOldEvents() [all …]
|
/external/webrtc/webrtc/modules/video_coding/codecs/h264/ |
D | h264_video_toolbox_nalu.cc | 127 uint32_t packet_size = CFSwapInt32BigToHost(*uint32_data_ptr); in H264CMSampleBufferToAnnexBBuffer() local 130 annexb_buffer->AppendData(data_ptr + nalu_header_size, packet_size); in H264CMSampleBufferToAnnexBBuffer() 133 frag_lengths.push_back(packet_size); in H264CMSampleBufferToAnnexBBuffer() 134 nalu_offset += sizeof(kAnnexBHeaderBytes) + packet_size; in H264CMSampleBufferToAnnexBBuffer() 136 size_t bytes_written = packet_size + nalu_header_size; in H264CMSampleBufferToAnnexBBuffer()
|
/external/eigen/test/ |
D | first_aligned.cpp | 15 const int packet_size = sizeof(Scalar) * internal::packet_traits<Scalar>::size; in test_first_aligned_helper() local 16 …ize_t(array) + sizeof(Scalar) * internal::first_default_aligned(array, size)) % packet_size) == 0); in test_first_aligned_helper()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/ |
D | decode_bwe.c | 21 size_t packet_size, in WebRtcIsac_EstimateBandwidth() argument 81 arrivalTimestampIn16kHz, packet_size); in WebRtcIsac_EstimateBandwidth()
|
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/ |
D | test_api_video.cc | 169 size_t packet_size = PaddingPacket(padding_packet, timestamp, seq_num, in TEST_F() local 174 EXPECT_TRUE(parser->Parse(padding_packet, packet_size, &header)); in TEST_F() 179 const size_t payload_length = packet_size - header.headerLength; in TEST_F()
|