Home
last modified time | relevance | path

Searched refs:dataBuffer (Results 1 – 25 of 32) sorted by relevance

12

/external/webrtc/webrtc/modules/rtp_rtcp/source/
Drtp_sender_audio.cc259 uint8_t dataBuffer[IP_PACKET_SIZE]; in SendAudio() local
270 rtpHeaderLength = _rtpSender->BuildRTPheader(dataBuffer, red_payload_type, in SendAudio()
276 rtpHeaderLength = _rtpSender->BuildRTPheader(dataBuffer, payloadType, in SendAudio()
296 dataBuffer[rtpHeaderLength++] = in SendAudio()
305 ByteWriter<uint32_t>::WriteBigEndian(dataBuffer + rtpHeaderLength, in SendAudio()
309 dataBuffer[rtpHeaderLength++] = fragmentation->fragmentationPlType[0]; in SendAudio()
311 memcpy(dataBuffer + rtpHeaderLength, in SendAudio()
317 dataBuffer + rtpHeaderLength + fragmentation->fragmentationLength[1], in SendAudio()
325 dataBuffer[rtpHeaderLength++] = fragmentation->fragmentationPlType[0]; in SendAudio()
326 memcpy(dataBuffer + rtpHeaderLength, in SendAudio()
[all …]
Drtp_sender_video.cc274 uint8_t dataBuffer[IP_PACKET_SIZE] = {0}; in SendVideo() local
276 if (!packetizer->NextPacket(&dataBuffer[rtp_header_length], in SendVideo()
283 dataBuffer, payloadType, last, captureTimeStamp, capture_time_ms); in SendVideo()
305 RtpUtility::RtpHeaderParser rtp_parser(dataBuffer, packetSize); in SendVideo()
308 _rtpSender.UpdateVideoRotation(dataBuffer, packetSize, rtp_header, in SendVideo()
312 SendVideoPacketAsRed(dataBuffer, payload_bytes_in_packet, in SendVideo()
317 SendVideoPacket(dataBuffer, payload_bytes_in_packet, rtp_header_length, in SendVideo()
Drtp_sender_video.h86 void SendVideoPacket(uint8_t* dataBuffer,
94 void SendVideoPacketAsRed(uint8_t* dataBuffer,
/external/syzkaller/vendor/golang.org/x/net/http2/
Ddatabuffer.go65 type dataBuffer struct { struct
77 func (b *dataBuffer) Read(p []byte) (int, error) { argument
102 func (b *dataBuffer) bytesFromFirstChunk() []byte { argument
110 func (b *dataBuffer) Len() int { argument
115 func (b *dataBuffer) Write(p []byte) (int, error) { argument
135 func (b *dataBuffer) lastChunkOrAlloc(want int64) []byte { argument
/external/flatbuffers/tests/
DJavaTest.java62 TestExtendedBuffer(fbb.dataBuffer().asReadOnlyBuffer()); in main()
190 Monster mons = Monster.getRootAsMonster(fbb2.dataBuffer()); in TestNestedFlatBuffer()
208 Monster monsterObject = Monster.getRootAsMonster(fbb.dataBuffer()); in TestCreateByteVector()
229 Monster monsterObject = Monster.getRootAsMonster(fbb.dataBuffer()); in TestCreateUninitializedVector()
344 fc.write(fbb.dataBuffer().duplicate()); in TestBuilderBasics()
352 ByteBuffer dataBuffer = fbb.dataBuffer(); in TestBuilderBasics() local
354 TestEq(ByteBufferUtil.getSizePrefix(dataBuffer) + SIZE_PREFIX_LENGTH, in TestBuilderBasics()
355 dataBuffer.remaining()); in TestBuilderBasics()
356 dataBuffer = ByteBufferUtil.removeSizePrefix(dataBuffer); in TestBuilderBasics()
358 TestExtendedBuffer(dataBuffer); in TestBuilderBasics()
[all …]
DphpUnionVectorTest.php78 $buf = Google\FlatBuffers\ByteBuffer::wrap($fbb->dataBuffer()->data());
DJavaScriptTest.js92 testMutation(fbb.dataBuffer());
94 testBuffer(fbb.dataBuffer());
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api_video.cc84 size_t BuildRTPheader(uint8_t* dataBuffer, in BuildRTPheader() argument
87 dataBuffer[0] = static_cast<uint8_t>(0x80); // version 2 in BuildRTPheader()
88 dataBuffer[1] = static_cast<uint8_t>(kPayloadType); in BuildRTPheader()
89 ByteWriter<uint16_t>::WriteBigEndian(dataBuffer + 2, sequence_number); in BuildRTPheader()
90 ByteWriter<uint32_t>::WriteBigEndian(dataBuffer + 4, timestamp); in BuildRTPheader()
91 ByteWriter<uint32_t>::WriteBigEndian(dataBuffer + 8, 0x1234); // SSRC. in BuildRTPheader()
/external/flatbuffers/tests/FlatBuffers.Test/
DFlatBuffersExampleTests.cs128 ByteBuffer dataBuffer = fbb.DataBuffer; in CanCreateNewFlatBufferFromScratch()
131 … Assert.AreEqual(ByteBufferUtil.GetSizePrefix(dataBuffer) + FlatBufferConstants.SizePrefixLength, in CanCreateNewFlatBufferFromScratch()
132 dataBuffer.Length - dataBuffer.Position); in CanCreateNewFlatBufferFromScratch()
133 dataBuffer = ByteBufferUtil.RemoveSizePrefix(dataBuffer); in CanCreateNewFlatBufferFromScratch()
137 TestBuffer(dataBuffer); in CanCreateNewFlatBufferFromScratch()
141 Monster monster = Monster.GetRootAsMonster(dataBuffer); in CanCreateNewFlatBufferFromScratch()
193 TestBuffer(dataBuffer); in CanCreateNewFlatBufferFromScratch()
/external/flatbuffers/grpc/tests/
DGameFactory.java18 ByteBuffer buffer = builder.dataBuffer(); in createMonster()
30 Monster monster = Monster.getRootAsMonster(builder.dataBuffer()); in createMonsterFromStat()
38 Stat stat = Stat.getRootAsStat(builder.dataBuffer()); in createStat()
/external/grpc-grpc-java/interop-testing/src/main/java/io/grpc/testing/integration/
DTestServiceImpl.java107 ByteString dataBuffer = compressable ? compressableBuffer : uncompressableBuffer; in unaryCall() local
112 ByteString payload = generatePayload(dataBuffer, offset, req.getResponseSize()); in unaryCall()
424 ByteString dataBuffer = compressable ? compressableBuffer : uncompressableBuffer;
425 ByteString payload = generatePayload(dataBuffer, offset, length);
479 private ByteString generatePayload(ByteString dataBuffer, int offset, int size) {
486 end = Math.min(begin + bytesLeft, dataBuffer.size());
488 payload = payload.concat(dataBuffer.substring(begin, end));
490 begin = end % dataBuffer.size();
/external/deqp/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferParamValueIntToFloatConversion.cpp87 glw::GLubyte* dataBuffer = new glw::GLubyte[m_texture_buffer_size]; in initTest() local
91 dataBuffer[i] = (glw::GLubyte)i; in initTest()
99 …ferData(m_glExtTokens.TEXTURE_BUFFER, m_texture_buffer_size * sizeof(glw::GLubyte), &dataBuffer[0], in initTest()
103 delete[] dataBuffer; in initTest()
/external/webrtc/talk/app/webrtc/objc/
DRTCDataChannel.mm59 RTCDataBuffer* dataBuffer =
61 [_channel.delegate channel:_channel didReceiveMessageWithBuffer:dataBuffer];
181 - (const webrtc::DataBuffer*)dataBuffer { method in Internal
268 return _dataChannel->Send(*data.dataBuffer);
DRTCDataChannel+Internal.h35 @property(nonatomic, readonly) const webrtc::DataBuffer* dataBuffer;
/external/aac/libMpegTPEnc/src/
Dtpenc_lib.cpp607 FDK_BITSTREAM *dataBuffer, in transportEnc_GetConf() argument
620 CreateStreamMuxConfig(hLatmConfig, dataBuffer, 0, &hTpEnc->callbacks); in transportEnc_GetConf()
624 if (transportEnc_writeASC(dataBuffer, cc, &hTpEnc->callbacks) != 0) { in transportEnc_GetConf()
/external/aac/libMpegTPEnc/include/
Dtpenc_lib.h328 FDK_BITSTREAM *dataBuffer,
/external/webrtc/webrtc/modules/video_coding/
Dsession_info.cc20 uint16_t BufferToUWord16(const uint8_t* dataBuffer) { in BufferToUWord16() argument
21 return (dataBuffer[0] << 8) | dataBuffer[1]; in BufferToUWord16()
/external/flatbuffers/samples/
DSampleBinary.java71 ByteBuffer buf = builder.dataBuffer(); in main()
Dsamplebinary.js71 var buf = builder.dataBuffer();
DSampleBinary.php75 $buf = $builder->dataBuffer();
/external/webrtc/webrtc/modules/audio_device/test/
Dfunc_test_manager.h49 uint8_t dataBuffer[4 * 960]; member
Dfunc_test_manager.cc208 memcpy(packet->dataBuffer, audioSamples, nSamples * nBytesPerSample); in RecordedDataIsAvailable()
390 (const int16_t*) packet->dataBuffer, in NeedMorePlayData()
396 (const int16_t*) packet->dataBuffer, in NeedMorePlayData()
430 (const int16_t*) packet->dataBuffer, nSamplesIn, in NeedMorePlayData()
435 (const int16_t*) packet->dataBuffer, nSamplesIn, in NeedMorePlayData()
/external/aac/libAACenc/src/
Dbitenc.cpp727 UCHAR *dataBuffer, in FDKaacEnc_writeDataStreamElement() argument
791 FDKwriteBits(hBitStream, dataBuffer[i], 8); in FDKaacEnc_writeDataStreamElement()
/external/flatbuffers/java/com/google/flatbuffers/
DFlatBufferBuilder.java931 public ByteBuffer dataBuffer() { in dataBuffer() method in FlatBufferBuilder
/external/flatbuffers/php/
DFlatbufferBuilder.php943 public function dataBuffer() function in Google\\FlatBuffers\\FlatbufferBuilder

12