Home
last modified time | relevance | path

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

123

/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/
DRTPFile.cc62 const uint8_t* payloadData, uint16_t payloadSize, in RTPPacket() argument
67 payloadSize(payloadSize), in RTPPacket()
69 if (payloadSize > 0) { in RTPPacket()
70 this->payloadData = new uint8_t[payloadSize]; in RTPPacket()
71 memcpy(this->payloadData, payloadData, payloadSize); in RTPPacket()
89 const uint16_t payloadSize, uint32_t frequency) { in Write() argument
91 payloadSize, frequency); in Write()
98 uint16_t payloadSize, uint32_t* offset) { in Read() argument
108 if (packet->payloadSize > 0 && payloadSize >= packet->payloadSize) { in Read()
109 memcpy(payloadData, packet->payloadData, packet->payloadSize); in Read()
[all …]
DRTPFile.h31 const uint16_t payloadSize, uint32_t frequency) = 0;
36 uint16_t payloadSize, uint32_t* offset) = 0;
49 const uint8_t* payloadData, uint16_t payloadSize,
58 uint16_t payloadSize; variable
70 const uint16_t payloadSize, uint32_t frequency);
73 uint16_t payloadSize, uint32_t* offset);
102 const uint16_t payloadSize, uint32_t frequency);
105 uint16_t payloadSize, uint32_t* offset);
DChannel.cc23 const uint16_t payloadSize, in SendData() argument
27 uint16_t payloadDataSize = payloadSize; in SendData()
99 CalcStatistics(rtpInfo, payloadSize); in SendData()
124 void Channel::CalcStatistics(WebRtcRTPHeader& rtpInfo, uint16_t payloadSize) { in CalcStatistics() argument
186 currentPayloadStr->lastPayloadLenByte = payloadSize; in CalcStatistics()
189 currentPayloadStr->lastPayloadLenByte = payloadSize; in CalcStatistics()
202 _payloadStats[n].lastPayloadLenByte = payloadSize; in CalcStatistics()
DChannel.h55 const uint16_t payloadSize,
95 void CalcStatistics(WebRtcRTPHeader& rtpInfo, uint16_t payloadSize);
/external/chromium_org/mojo/bindings/js/
Dcodec_unittests.js26 var payloadSize = sample.Bar.encodedSize;
28 var builder = new codec.MessageBuilder(messageName, payloadSize);
51 expect(reader.payloadSize).toBe(payloadSize);
92 var payloadSize = 304;
94 var builder = new codec.MessageBuilder(messageName, payloadSize);
120 expect(reader.payloadSize).toBe(payloadSize);
143 var payloadSize = encodedSize || cls.encodedSize;
145 var builder = new codec.MessageBuilder(messageName, payloadSize);
150 expect(reader.payloadSize).toBe(payloadSize);
199 var payloadSize = 24;
[all …]
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/H264/
Drtp_sender_h264.cc408 if (ptrH264Info->payloadSize[idxNALU] > maxPayloadLengthSTAP_A) in SendH264_STAP_A()
422 … payloadBytesToSend -= ptrH264Info->payloadSize[idxNALU] + ptrH264Info->startCodeSize[idxNALU]; in SendH264_STAP_A()
423 data += ptrH264Info->payloadSize[idxNALU] + ptrH264Info->startCodeSize[idxNALU]; in SendH264_STAP_A()
428 if(ptrH264Info->payloadSize[idxNALU] + payloadBytesInPacket <= maxPayloadLengthSTAP_A) in SendH264_STAP_A()
435 dataBuffer[dataOffset] = (uint8_t)(ptrH264Info->payloadSize[idxNALU] >> 8); in SendH264_STAP_A()
437 dataBuffer[dataOffset] = (uint8_t)(ptrH264Info->payloadSize[idxNALU] & 0xff); in SendH264_STAP_A()
440 …Buffer[dataOffset], &data[ptrH264Info->startCodeSize[idxNALU]], ptrH264Info->payloadSize[idxNALU]); in SendH264_STAP_A()
441 dataOffset += ptrH264Info->payloadSize[idxNALU]; in SendH264_STAP_A()
442 data += ptrH264Info->payloadSize[idxNALU] + ptrH264Info->startCodeSize[idxNALU]; in SendH264_STAP_A()
443 … payloadBytesInPacket += (uint16_t)(ptrH264Info->payloadSize[idxNALU] + H264_NALU_LENGTH); in SendH264_STAP_A()
[all …]
Dh264_information.cc50 memset(_info.payloadSize, 0, sizeof(_info.payloadSize)); in Reset()
237 _ptrData += (_info.startCodeSize[_info.numNALUs] + _info.payloadSize[_info.numNALUs]); in FindInfo()
238 _remLength -= (_info.startCodeSize[_info.numNALUs] + _info.payloadSize[_info.numNALUs]); in FindInfo()
316 _info.payloadSize[_info.numNALUs] = size - _info.startCodeSize[_info.numNALUs]; in FindNALU()
317 … _parsedLength += _info.startCodeSize[_info.numNALUs] + _info.payloadSize[_info.numNALUs]; in FindNALU()
323 _info.payloadSize[_info.numNALUs] = _remLength - _info.startCodeSize[_info.numNALUs]; in FindNALU()
324 if (_info.payloadSize[_info.numNALUs] > 0) in FindNALU()
326 _parsedLength += _info.startCodeSize[_info.numNALUs] + _info.payloadSize[_info.numNALUs]; in FindNALU()
453 … if(_info.payloadSize[_info.numNALUs] < _info.startCodeSize[_info.numNALUs] + seiPayloadSize) in ParseSVCNALUHeader()
664 …} while (_info.payloadSize[_info.numNALUs] > _info.startCodeSize[_info.numNALUs] + seiPayloadSize); in ParseSVCNALUHeader()
[all …]
Dh264_information.h116 memset(payloadSize, 0, sizeof(payloadSize)); in H264Info()
124 uint32_t payloadSize[KMaxNumberOfNALUs]; member
/external/chromium_org/third_party/webrtc/modules/utility/source/
Dvideo_coder.cc66 if(encodedData.payloadSize <= 0) in Decode()
82 videoEncodedData.payloadSize = 0; in Encode()
116 uint32_t payloadSize, in SendData() argument
122 _videoEncodedData->VerifyAndAllocate(payloadSize); in SendData()
128 sizeof(uint8_t) * payloadSize); in SendData()
129 _videoEncodedData->payloadSize = payloadSize; in SendData()
Dcoder.cc112 uint16_t payloadSize, in SendData() argument
115 memcpy(_encodedData,payloadData,sizeof(uint8_t) * payloadSize); in SendData()
116 _encodedLengthInBytes = payloadSize; in SendData()
/external/chromium_org/chrome/renderer/resources/extensions/
Dgcm_custom_bindings.js17 var payloadSize = 0;
30 payloadSize += property.length + value.length;
33 if (payloadSize > gcm.MAX_MESSAGE_SIZE)
35 + payloadSize);
37 if (payloadSize == 0)
/external/smack/src/org/xbill/DNS/
DOPTRecord.java51 OPTRecord(int payloadSize, int xrcode, int version, int flags, List options) { in OPTRecord() argument
52 super(Name.root, Type.OPT, payloadSize, 0); in OPTRecord()
53 checkU16("payloadSize", payloadSize); in OPTRecord()
76 OPTRecord(int payloadSize, int xrcode, int version, int flags) { in OPTRecord() argument
77 this(payloadSize, xrcode, version, flags, null); in OPTRecord()
85 OPTRecord(int payloadSize, int xrcode, int version) { in OPTRecord() argument
86 this(payloadSize, xrcode, version, 0, null); in OPTRecord()
DSimpleResolver.java141 setEDNS(int level, int payloadSize, int flags, List options) { in setEDNS() argument
145 if (payloadSize == 0) in setEDNS()
146 payloadSize = DEFAULT_EDNS_PAYLOADSIZE; in setEDNS()
147 queryOPT = new OPTRecord(payloadSize, 0, level, flags, options); in setEDNS()
/external/chromium_org/third_party/webrtc/modules/video_coding/main/test/
Dtest_callbacks.cc60 const uint32_t payloadSize, in SendData() argument
67 if (fwrite(payloadData, 1, payloadSize, _encodedFile) != payloadSize) { in SendData()
98 _encodedBytes += payloadSize; in SendData()
100 int ret = _VCMReceiver->IncomingPacket(payloadData, payloadSize, rtpInfo); in SendData()
152 const uint32_t payloadSize, in SendData() argument
157 _encodedBytes+= payloadSize; in SendData()
164 payloadSize, in SendData()
Dnormal_test.cc79 const uint32_t payloadSize, in SendData() argument
87 if (fwrite(payloadData, 1, payloadSize, _encodedFile) != payloadSize) { in SendData()
117 _encodedBytes += payloadSize; in SendData()
118 if (payloadSize < 20) in SendData()
122 _VCMReceiver->IncomingPacket(payloadData, payloadSize, rtpInfo); in SendData()
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api.h91 const uint16_t payloadSize, in OnReceivedPayloadData() argument
93 EXPECT_LE(payloadSize, sizeof(_payloadData)); in OnReceivedPayloadData()
94 memcpy(_payloadData, payloadData, payloadSize); in OnReceivedPayloadData()
96 _payloadSize = payloadSize; in OnReceivedPayloadData()
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Drtp_sender_audio.cc239 uint16_t payloadSize = static_cast<uint16_t>(dataSize); in SendAudio() local
334 if (payloadSize == 0 || payloadData == NULL) { in SendAudio()
366 if (maxPayloadLength < (rtpHeaderLength + payloadSize)) { in SendAudio()
407 payloadSize = static_cast<uint16_t>( in SendAudio()
417 payloadSize = static_cast<uint16_t>( in SendAudio()
428 payloadSize = static_cast<uint16_t>( in SendAudio()
431 memcpy(dataBuffer+rtpHeaderLength, payloadData, payloadSize); in SendAudio()
438 uint16_t packetSize = payloadSize + rtpHeaderLength; in SendAudio()
451 payloadSize, in SendAudio()
Drtp_sender_video.cc283 const uint32_t payloadSize, in SendVideo() argument
288 if( payloadSize == 0) in SendVideo()
310 capture_time_ms, payloadData, payloadSize); in SendVideo()
318 payloadSize, in SendVideo()
414 const uint32_t payloadSize, in SendVP8() argument
420 int32_t payloadBytesToSend = payloadSize; in SendVP8()
Drtp_sender_video.h54 const uint32_t payloadSize,
110 const uint32_t payloadSize,
/external/webrtc/src/modules/interface/
Dmodule_common_types.h309 payloadSize(0), in EncodedVideoData()
322 payloadSize = data.payloadSize; in EncodedVideoData()
326 if (data.payloadSize > 0) in EncodedVideoData()
328 payloadData = new WebRtc_UWord8[data.payloadSize]; in EncodedVideoData()
329 memcpy(payloadData, data.payloadData, data.payloadSize); in EncodedVideoData()
356 payloadSize = data.payloadSize;
360 if (data.payloadSize > 0)
363 payloadData = new WebRtc_UWord8[data.payloadSize];
364 memcpy(payloadData, data.payloadData, data.payloadSize);
365 bufferSize = data.payloadSize;
[all …]
/external/chromium_org/third_party/webrtc/modules/interface/
Dmodule_common_types.h306 payloadSize(0), in EncodedVideoData()
320 payloadSize = data.payloadSize; in EncodedVideoData()
324 if (data.payloadSize > 0) { in EncodedVideoData()
325 payloadData = new uint8_t[data.payloadSize]; in EncodedVideoData()
326 memcpy(payloadData, data.payloadData, data.payloadSize); in EncodedVideoData()
347 payloadSize = data.payloadSize;
351 if (data.payloadSize > 0) {
353 payloadData = new uint8_t[data.payloadSize];
354 memcpy(payloadData, data.payloadData, data.payloadSize);
355 bufferSize = data.payloadSize;
[all …]
/external/chromium_org/third_party/WebKit/Source/platform/heap/
DHeap.cpp205 static PageMemory* allocate(size_t payloadSize) in allocate() argument
207 ASSERT(payloadSize > 0); in allocate()
211 payloadSize = roundToOsPageSize(payloadSize); in allocate()
217 size_t allocationSize = payloadSize + 2 * osPageSize() + blinkPageSize; in allocate()
227 Address payloadEnd = payloadBase + payloadSize; in allocate()
244 …ory(MemoryRegion(alignedBase, blinkPageEnd - alignedBase), MemoryRegion(payloadBase, payloadSize)); in allocate()
260 …base = static_cast<Address>(VirtualAlloc(alignedBase, payloadSize + 2 * osPageSize(), MEM_RESERVE,… in allocate()
263 allocationSize = payloadSize + 2 * osPageSize(); in allocate()
281 …orage = new PageMemory(MemoryRegion(base, allocationSize), MemoryRegion(payloadBase, payloadSize)); in allocate()
424 HeapObjectHeader::finalize(m_gcInfo, payload(), payloadSize()); in finalize()
[all …]
/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/chromium_org/third_party/webrtc/modules/audio_coding/codecs/isac/main/test/ReleaseTest-API/
DReleaseTest-API.cc70 int16_t payloadSize = 0; in main() local
263 payloadSize = atoi(argv[i + 1]); in main()
264 printf("Maximum Payload Size: %d\n", payloadSize); in main()
582 if(payloadSize != 0) in main()
584 err = WebRtcIsac_SetMaxPayloadSize(ISAC_main_inst, payloadSize); in main()
667 if((payloadSize != 0) && (stream_len > payloadSize)) in main()
674 printf("\nError: Streamsize out of range %d\n", stream_len - payloadSize); in main()

123