/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/ |
D | RTPFile.cc | 62 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 …]
|
D | RTPFile.h | 31 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);
|
D | Channel.cc | 23 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()
|
D | Channel.h | 55 const uint16_t payloadSize, 95 void CalcStatistics(WebRtcRTPHeader& rtpInfo, uint16_t payloadSize);
|
/external/chromium_org/mojo/bindings/js/ |
D | codec_unittests.js | 26 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/ |
D | rtp_sender_h264.cc | 408 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 …]
|
D | h264_information.cc | 50 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 …]
|
D | h264_information.h | 116 memset(payloadSize, 0, sizeof(payloadSize)); in H264Info() 124 uint32_t payloadSize[KMaxNumberOfNALUs]; member
|
/external/chromium_org/third_party/webrtc/modules/utility/source/ |
D | video_coder.cc | 66 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()
|
D | coder.cc | 112 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/ |
D | gcm_custom_bindings.js | 17 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/ |
D | OPTRecord.java | 51 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()
|
D | SimpleResolver.java | 141 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/ |
D | test_callbacks.cc | 60 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()
|
D | normal_test.cc | 79 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/ |
D | test_api.h | 91 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/ |
D | rtp_sender_audio.cc | 239 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()
|
D | rtp_sender_video.cc | 283 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()
|
D | rtp_sender_video.h | 54 const uint32_t payloadSize, 110 const uint32_t payloadSize,
|
/external/webrtc/src/modules/interface/ |
D | module_common_types.h | 309 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/ |
D | module_common_types.h | 306 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/ |
D | Heap.cpp | 205 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/ |
D | H264TrackImpl.java | 564 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/ |
D | CAVLCReader.java | 106 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/ |
D | ReleaseTest-API.cc | 70 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()
|