Home
last modified time | relevance | path

Searched refs:packet_size (Results 1 – 25 of 62) sorted by relevance

123

/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Doveruse_detector_unittest.cc49 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 …]
Dinter_arrival_unittest.cc49 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()
Dinter_arrival.cc34 size_t packet_size, in ComputeDeltas() argument
79 current_timestamp_group_.size += packet_size; in ComputeDeltas()
/external/adhd/cras/src/server/
Dcras_hfp_info.c47 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/
Dmap.c125 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()
176 count=ReadBlob(image,packet_size*image->colors,colormap); in ReadMAPImage()
177 if (count != (ssize_t) (packet_size*image->colors)) in ReadMAPImage()
212 packet_size=(size_t) (depth/8); in ReadMAPImage()
219 count=ReadBlob(image,(size_t) packet_size*image->columns,pixels); in ReadMAPImage()
220 if (count != (ssize_t) (packet_size*image->columns)) in ReadMAPImage()
[all …]
Dmiff.c457 packet_size; in ReadMIFFImage() local
1166 packet_size; in ReadMIFFImage() local
1174 packet_size=(size_t) (3UL*image->depth/8UL); in ReadMIFFImage()
1176 packet_size*sizeof(*colormap)); in ReadMIFFImage()
1179 count=ReadBlob(image,packet_size*image->colors,colormap); in ReadMIFFImage()
1256 packet_size=(size_t) (quantum_info->depth/8); in ReadMIFFImage()
1258 packet_size=(size_t) (3*quantum_info->depth/8); in ReadMIFFImage()
1260 packet_size=quantum_info->depth/8; in ReadMIFFImage()
1262 packet_size+=quantum_info->depth/8; in ReadMIFFImage()
1264 packet_size+=quantum_info->depth/8; in ReadMIFFImage()
[all …]
Dpsd.c768 const ssize_t type,const size_t packet_size,const Quantum pixel,Quantum *q, in SetPSDPixel() argument
773 if (packet_size == 1) in SetPSDPixel()
850 packet_size; in ReadPSDChannelPixels() local
859 packet_size=GetPSDPacketSize(image); in ReadPSDChannelPixels()
862 if (packet_size == 1) in ReadPSDChannelPixels()
871 SetPSDPixel(image,channels,type,packet_size,pixel,q,exception); in ReadPSDChannelPixels()
885 SetPSDPixel(image,channels,type,packet_size,(((unsigned char) pixel) in ReadPSDChannelPixels()
1054 packet_size, in ReadPSDChannelZip() local
1077 packet_size=GetPSDPacketSize(image); in ReadPSDChannelZip()
1078 row_size=image->columns*packet_size; in ReadPSDChannelZip()
[all …]
/external/ImageMagick/MagickCore/
Dquantum.c307 packet_size; in GetQuantumExtent() local
311 packet_size=1; in GetQuantumExtent()
314 case GrayAlphaQuantum: packet_size=2; break; in GetQuantumExtent()
315 case IndexAlphaQuantum: packet_size=2; break; in GetQuantumExtent()
316 case RGBQuantum: packet_size=3; break; in GetQuantumExtent()
317 case BGRQuantum: packet_size=3; break; in GetQuantumExtent()
318 case RGBAQuantum: packet_size=4; break; in GetQuantumExtent()
319 case RGBOQuantum: packet_size=4; break; in GetQuantumExtent()
320 case BGRAQuantum: packet_size=4; break; in GetQuantumExtent()
321 case CMYKQuantum: packet_size=4; break; in GetQuantumExtent()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Deigen_spatial_convolutions.h29 typename nocontract_t, typename contract_t, int Side, int packet_size,
37 nocontract_t, contract_t, packet_size, inner_dim_contiguous,
47 nocontract_t, contract_t, packet_size, inner_dim_contiguous,
56 nocontract_t, contract_t, packet_size, inner_dim_contiguous,
238 nocontract_t, contract_t, packet_size, inner_dim_contiguous,
458 typename nocontract_t, typename contract_t, int Side, int packet_size,
466 nocontract_t, contract_t, packet_size, inner_dim_contiguous,
478 nocontract_t, contract_t, packet_size, inner_dim_contiguous,
487 nocontract_t, contract_t, packet_size, inner_dim_contiguous,
628 typename nocontract_t, typename contract_t, int packet_size,
[all …]
/external/eigen/unsupported/Eigen/CXX11/src/Tensor/
DTensorContractionMapper.h76 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/
Dcodec_test.cc35 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/
Dbitrate_prober.cc24 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/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Disacfix.c618 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 …]
Ddecode_bwe.c29 size_t packet_size, in WebRtcIsacfix_EstimateBandwidth() argument
59 packet_size, /* in bytes */ in WebRtcIsacfix_EstimateBandwidth()
Disac_fix_type.h103 size_t packet_size, in UpdateBwEstimate() argument
107 return WebRtcIsacfix_UpdateBwEstimate(inst, encoded, packet_size, in UpdateBwEstimate()
/external/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_validate.c745 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/
DTestAllCodecs.cc359 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/
Dccbench.py403 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/
Dccbench.py405 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/
Drtc_event_log_unittest.cc302 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/
Dh264_video_toolbox_nalu.cc127 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/
Dfirst_aligned.cpp15 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/
Ddecode_bwe.c21 size_t packet_size, in WebRtcIsac_EstimateBandwidth() argument
81 arrivalTimestampIn16kHz, packet_size); in WebRtcIsac_EstimateBandwidth()
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api_video.cc169 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()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/util/
Dutility.c138 size_t packet_size, /* bytes */ in get_arrival_time() argument
158 travelTimeMs = (unsigned int)floor((double)((packet_size + headerSizeByte) * 8 * 1000) in get_arrival_time()

123