Home
last modified time | relevance | path

Searched refs:payloadSize (Results 1 – 25 of 35) sorted by relevance

12

/external/webrtc/webrtc/modules/audio_coding/test/
DRTPFile.cc61 const uint8_t* payloadData, size_t payloadSize, in RTPPacket() argument
66 payloadSize(payloadSize), in RTPPacket()
68 if (payloadSize > 0) { in RTPPacket()
69 this->payloadData = new uint8_t[payloadSize]; in RTPPacket()
70 memcpy(this->payloadData, payloadData, payloadSize); in RTPPacket()
88 const size_t payloadSize, uint32_t frequency) { in Write() argument
90 payloadSize, frequency); in Write()
97 size_t payloadSize, uint32_t* offset) { in Read() argument
107 if (packet->payloadSize > 0 && payloadSize >= packet->payloadSize) { in Read()
108 memcpy(payloadData, packet->payloadData, packet->payloadSize); in Read()
[all …]
DRTPFile.h31 const size_t payloadSize, uint32_t frequency) = 0;
36 size_t payloadSize, uint32_t* offset) = 0;
49 const uint8_t* payloadData, size_t payloadSize,
58 size_t payloadSize; variable
72 const size_t payloadSize,
77 size_t payloadSize,
109 const size_t payloadSize,
114 size_t payloadSize,
DChannel.cc26 size_t payloadSize, in SendData() argument
30 size_t payloadDataSize = payloadSize; in SendData()
104 CalcStatistics(rtpInfo, payloadSize); in SendData()
130 void Channel::CalcStatistics(WebRtcRTPHeader& rtpInfo, size_t payloadSize) { in CalcStatistics() argument
201 currentPayloadStr->lastPayloadLenByte = payloadSize; in CalcStatistics()
204 currentPayloadStr->lastPayloadLenByte = payloadSize; in CalcStatistics()
217 _payloadStats[n].lastPayloadLenByte = payloadSize; in CalcStatistics()
DChannel.h57 size_t payloadSize,
97 void CalcStatistics(WebRtcRTPHeader& rtpInfo, size_t payloadSize);
DEncodeDecodeTest.cc40 const size_t payloadSize, in SendData() argument
42 _rtpStream->Write(payloadType, timeStamp, _seqNo++, payloadData, payloadSize, in SendData()
DEncodeDecodeTest.h36 const size_t payloadSize,
/external/grpc-grpc/src/csharp/Grpc.Microbenchmarks/
DPInvokeByteArrayBenchmark.cs41 public void Run(int threadCount, int iterations, int payloadSize) in Run() argument
43 …ayBenchmark: threads={0}, iterations={1}, payloadSize={2}", threadCount, iterations, payloadSize)); in Run()
44 … threadedBenchmark = new ThreadedBenchmark(threadCount, () => ThreadBody(iterations, payloadSize)); in Run()
48 private void ThreadBody(int iterations, int payloadSize) in ThreadBody() argument
50 var payload = new byte[payloadSize]; in ThreadBody()
DSendMessageBenchmark.cs46 public void Run(int threadCount, int iterations, int payloadSize) in Run() argument
48 …geBenchmark: threads={0}, iterations={1}, payloadSize={2}", threadCount, iterations, payloadSize)); in Run()
49 … threadedBenchmark = new ThreadedBenchmark(threadCount, () => ThreadBody(iterations, payloadSize)); in Run()
53 private void ThreadBody(int iterations, int payloadSize) in ThreadBody() argument
60 var payload = new byte[payloadSize]; in ThreadBody()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_sender_audio.cc159 size_t payloadSize = dataSize; in SendAudio() local
251 if (payloadSize == 0 || payloadData == NULL) { in SendAudio()
283 if (maxPayloadLength < (rtpHeaderLength + payloadSize)) { in SendAudio()
321 payloadSize = fragmentation->fragmentationLength[0] + in SendAudio()
330 payloadSize = fragmentation->fragmentationLength[0]; in SendAudio()
340 payloadSize = fragmentation->fragmentationLength[0]; in SendAudio()
342 memcpy(dataBuffer + rtpHeaderLength, payloadData, payloadSize); in SendAudio()
350 size_t packetSize = payloadSize + rtpHeaderLength; in SendAudio()
360 return _rtpSender->SendToNetwork(dataBuffer, payloadSize, rtpHeaderLength, in SendAudio()
Drtp_sender_video.cc231 const size_t payloadSize, in SendVideo() argument
234 if (payloadSize == 0) { in SendVideo()
261 size_t payload_bytes_to_send = payloadSize; in SendVideo()
304 size_t packetSize = payloadSize + rtp_header_length; in SendVideo()
/external/libchrome/mojo/public/js/lib/
Dcontrol_message_proxy.js14 var payloadSize =
16 var builder = new internal.MessageV0Builder(messageName, payloadSize);
63 var payloadSize = mojo.interfaceControl.RunMessageParams.encodedSize;
66 payloadSize, internal.kMessageExpectsResponse, 0);
Dpipe_control_message_proxy.js14 var payloadSize =
17 var builder = new internal.MessageV0Builder(messageName, payloadSize);
Dcontrol_message_handler.js72 var payloadSize =
76 payloadSize, internal.kMessageIsResponse, requestID);
Dcodec.js573 function MessageV0Builder(messageName, payloadSize) { argument
576 var numberOfBytes = kMessageV0HeaderSize + payloadSize;
610 function MessageV1Builder(messageName, payloadSize, flags, argument
614 var numberOfBytes = kMessageV1HeaderSize + payloadSize;
635 function MessageV2Builder(messageName, payloadSize, flags, requestID) { argument
638 var numberOfBytes = kMessageV2HeaderSize + payloadSize;
693 this.payloadSize = message.buffer.byteLength - messageHeaderSize;
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
DH264TrackImpl.java564 int payloadSize = 0; field in H264TrackImpl.SEIMessage
594 payloadSize = 0; in SEIMessage()
607 payloadSize += last_payload_size_bytes; in SEIMessage()
611 payloadSize += last_payload_size_bytes; in SEIMessage()
612 if (datasize - read >= payloadSize) { in SEIMessage()
615 byte[] data = new byte[payloadSize]; in SEIMessage()
617 read += payloadSize; in SEIMessage()
689 for (int i = 0; i < payloadSize; i++) { in SEIMessage()
695 for (int i = 0; i < payloadSize; i++) { in SEIMessage()
711 ", payloadSize=" + payloadSize; in toString()
/external/webrtc/webrtc/modules/utility/source/
Dcoder.cc105 size_t payloadSize, in SendData() argument
108 memcpy(_encodedData,payloadData,sizeof(uint8_t) * payloadSize); in SendData()
109 _encodedLengthInBytes = payloadSize; in SendData()
Dcoder.h45 size_t payloadSize,
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/test/ReleaseTest-API/
DReleaseTest-API.cc68 int16_t payloadSize = 0; in main() local
261 payloadSize = atoi(argv[i + 1]); in main()
262 printf("Maximum Payload Size: %d\n", payloadSize); in main()
529 if (payloadSize != 0) { in main()
530 err = WebRtcIsac_SetMaxPayloadSize(ISAC_main_inst, payloadSize); in main()
596 if ((payloadSize != 0) && (stream_len_int > payloadSize)) { in main()
602 stream_len_int - payloadSize); in main()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/read/
DCAVLCReader.java106 public byte[] read(int payloadSize) throws IOException { in read() argument
107 byte[] result = new byte[payloadSize]; in read()
108 for (int i = 0; i < payloadSize; i++) { in read()
/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DAltsTsiFrameProtector.java318 int payloadSize = frameSize - HEADER_TYPE_FIELD_BYTES - suffixBytes; in handlePayload() local
327 ciphertextsAndTags.add(lastBuf.readSlice(payloadSize + suffixBytes)); in handlePayload()
329 requiredUnprotectedBytesCompleteFrames += payloadSize; in handlePayload()
330 unprotectedLens.add(payloadSize); in handlePayload()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/test/
Dkenny.cc123 int16_t payloadSize = 0; in main() local
279 payloadSize = atoi(argv[i + 1]); in main()
280 printf("Maximum Payload Size: %d\n", payloadSize); in main()
510 if (payloadSize != 0) { in main()
511 err = WebRtcIsacfix_SetMaxPayloadSize(ISAC_main_inst, payloadSize); in main()
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api_audio.cc30 const size_t payloadSize, in OnReceivedPayloadData() argument
34 EXPECT_EQ(4u, payloadSize); in OnReceivedPayloadData()
36 memcpy(str, payloadData, payloadSize); in OnReceivedPayloadData()
/external/grpc-grpc/src/objective-c/tests/
DInteropTests.m44 + (instancetype)messageWithPayloadSize:(NSNumber *)payloadSize
49 + (instancetype)messageWithPayloadSize:(NSNumber *)payloadSize
55 request.payload.body = [NSMutableData dataWithLength:payloadSize.unsignedIntegerValue];
61 + (instancetype)messageWithPayloadSize:(NSNumber *)payloadSize;
65 + (instancetype)messageWithPayloadSize:(NSNumber *)payloadSize {
68 response.payload.body = [NSMutableData dataWithLength:payloadSize.unsignedIntegerValue];
/external/webrtc/webrtc/modules/rtp_rtcp/include/
Drtp_rtcp_defines.h194 const size_t payloadSize,
351 const size_t payloadSize, in OnReceivedPayloadData() argument
/external/webrtc/webrtc/modules/rtp_rtcp/mocks/
Dmock_rtp_rtcp.h31 const size_t payloadSize,
129 const size_t payloadSize,

12