Home
last modified time | relevance | path

Searched refs:packet_size (Results 1 – 25 of 57) 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/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/lldb/source/Utility/
DStringExtractorGDBRemote.cpp56 #define PACKET_MATCHES(s) ((packet_size == (sizeof(s)-1)) && (strcmp((packet_cstr),(s)) == 0)) in GetServerPacketType()
57 #define PACKET_STARTS_WITH(s) ((packet_size >= (sizeof(s)-1)) && ::strncmp(packet_cstr, s, (sizeof(… in GetServerPacketType()
63 const size_t packet_size = m_packet.size(); in GetServerPacketType() local
68 if (packet_size == 1) return eServerPacketType_interrupt; in GetServerPacketType()
72 if (packet_size == 1) return eServerPacketType_nack; in GetServerPacketType()
76 if (packet_size == 1) return eServerPacketType_ack; in GetServerPacketType()
112 if (packet_size == 2) return eServerPacketType_qC; in GetServerPacketType()
/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/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/
Ddecode_bwe.c29 size_t packet_size, in WebRtcIsacfix_EstimateBandwidth() argument
59 packet_size, /* in bytes */ in WebRtcIsacfix_EstimateBandwidth()
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 …]
/external/lldb/test/pexpect-2.4/examples/
Dbd_client.py17 packet_size = cols * rows * 2 # double it for good measure
18 return s.recv(packet_size)
/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/mesa3d/src/mapi/glapi/gen/
DglX_doc.py63 def packet_size(self): member in glx_doc_parameter
107 [s, pad] = p.packet_size()
208 [s, pad] = output.packet_size()
223 [s, pad] = p.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/eigen/test/eigen2/
Deigen2_first_aligned.cpp15 const int packet_size = sizeof(Scalar) * ei_packet_traits<Scalar>::size; in test_eigen2_first_aligned_helper() local
16 …VERIFY(((std::size_t(array) + sizeof(Scalar) * ei_alignmentOffset(array, size)) % packet_size) == … in test_eigen2_first_aligned_helper()
/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 …VERIFY(((size_t(array) + sizeof(Scalar) * internal::first_aligned(array, size)) % packet_size) == … 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()
Disac_float_type.h100 size_t packet_size, in UpdateBwEstimate()
104 return WebRtcIsac_UpdateBwEstimate(inst, encoded, packet_size, in UpdateBwEstimate()
/external/autotest/client/virt/tests/
Dping.py30 packet_size = [0, 1, 4, 48, 512, 1440, 1500, 1505, 4054, 4055, 4096, 4192,
41 for size in packet_size:
Dnetperf.py66 packet_size = params.get("packet_size", "1500")
67 for size in packet_size.split():
/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