Home
last modified time | relevance | path

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

12

/external/webrtc/modules/audio_coding/test/
DRTPFile.cc66 size_t payloadSize, in RTPPacket() argument
71 payloadSize(payloadSize), in RTPPacket()
73 if (payloadSize > 0) { in RTPPacket()
74 this->payloadData = new uint8_t[payloadSize]; in RTPPacket()
75 memcpy(this->payloadData, payloadData, payloadSize); in RTPPacket()
95 const size_t payloadSize, in Write() argument
98 payloadSize, frequency); in Write()
106 size_t payloadSize, in Read() argument
117 if (packet->payloadSize > 0 && payloadSize >= packet->payloadSize) { in Read()
118 memcpy(payloadData, packet->payloadData, packet->payloadSize); in Read()
[all …]
DRTPFile.h31 const size_t payloadSize,
38 size_t payloadSize,
58 size_t payloadSize,
67 size_t payloadSize; variable
81 const size_t payloadSize,
86 size_t payloadSize,
114 const size_t payloadSize,
119 size_t payloadSize,
DChannel.cc26 size_t payloadSize, in SendData() argument
30 size_t payloadDataSize = payloadSize; in SendData()
67 CalcStatistics(rtp_header, payloadSize); in SendData()
94 void Channel::CalcStatistics(const RTPHeader& rtp_header, size_t payloadSize) { in CalcStatistics() argument
166 currentPayloadStr->lastPayloadLenByte = payloadSize; in CalcStatistics()
169 currentPayloadStr->lastPayloadLenByte = payloadSize; in CalcStatistics()
182 _payloadStats[n].lastPayloadLenByte = payloadSize; in CalcStatistics()
DChannel.h54 size_t payloadSize,
84 void CalcStatistics(const RTPHeader& rtp_header, size_t payloadSize);
DEncodeDecodeTest.cc42 const size_t payloadSize, in SendData() argument
44 _rtpStream->Write(payloadType, timeStamp, _seqNo++, payloadData, payloadSize, in SendData()
DEncodeDecodeTest.h35 const size_t payloadSize,
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/
DPesReader.java57 private int payloadSize; field in PesReader
102 if (payloadSize != -1) { in consume()
103 Log.w(TAG, "Unexpected start indicator: expected " + payloadSize + " more bytes"); in consume()
137 int padding = payloadSize == -1 ? 0 : readLength - payloadSize; in consume()
143 if (payloadSize != -1) { in consume()
144 payloadSize -= readLength; in consume()
145 if (payloadSize == 0) { in consume()
192 payloadSize = -1; in parseHeader()
209 payloadSize = -1; in parseHeader()
211 payloadSize = packetLength + 6 /* packetLength does not include the first 6 bytes */ in parseHeader()
/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/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/
DCeaUtil.java47 int payloadSize = readNon255TerminatedValue(seiBuffer); in consume() local
48 int nextPayloadPosition = seiBuffer.getPosition() + payloadSize; in consume()
50 if (payloadSize == -1 || payloadSize > seiBuffer.bytesLeft()) { in consume()
54 } else if (payloadType == PAYLOAD_TYPE_CC && payloadSize >= 8) { in consume()
/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/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/webrtc/modules/audio_coding/codecs/isac/main/test/ReleaseTest-API/
DReleaseTest-API.cc72 int16_t payloadSize = 0; in main() local
262 payloadSize = atoi(argv[i + 1]); in main()
263 printf("Maximum Payload Size: %d\n", payloadSize); in main()
522 if (payloadSize != 0) { in main()
523 err = WebRtcIsac_SetMaxPayloadSize(ISAC_main_inst, payloadSize); in main()
589 if ((payloadSize != 0) && (stream_len_int > payloadSize)) { in main()
595 stream_len_int - payloadSize); in main()
/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/llvm-project/lld/wasm/
DOutputSections.cpp243 section->outputOffset = payloadSize; in finalizeContents()
244 payloadSize += section->getSize(); in finalizeContents()
247 createHeader(payloadSize + nameData.size()); in finalizeContents()
DOutputSections.h123 return header.size() + nameData.size() + payloadSize; in getSize()
131 size_t payloadSize = 0;
/external/webrtc/modules/audio_coding/codecs/isac/fix/test/
Dkenny.cc131 int16_t payloadSize = 0; in TEST() local
329 payloadSize = atoi(argv[i + 1]); in TEST()
330 printf("Maximum Payload Size: %d\n", payloadSize); in TEST()
583 if (payloadSize != 0) { in TEST()
584 err = WebRtcIsacfix_SetMaxPayloadSize(ISAC_main_inst, payloadSize); in TEST()
/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/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DHttp2Client.java205 private final int payloadSize = 271828; field in Http2Client.Tester
209 .setPayload(Payload.newBuilder().setBody(ByteString.copyFrom(new byte[payloadSize])))
/external/webrtc/audio/
Dchannel_send.cc160 size_t payloadSize,
348 size_t payloadSize, in SendData() argument
351 rtc::ArrayView<const uint8_t> payload(payloadData, payloadSize); in SendData()
357 payloadData, payloadSize, absolute_capture_timestamp_ms, in SendData()
/external/protobuf/javanano/src/main/java/com/google/protobuf/nano/
DExtension.java637 int payloadSize = in computeRepeatedSerializedSize() local
639 return payloadSize + CodedOutputByteBufferNano.computeRawVarint32Size(tag); in computeRepeatedSerializedSize()

12