Home
last modified time | relevance | path

Searched refs:data_buffer (Results 1 – 25 of 41) sorted by relevance

12

/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Drtp_receiver_video.cc111 uint8_t* data_buffer) const { in BuildRTPheader()
112 data_buffer[0] = static_cast<uint8_t>(0x80); // version 2 in BuildRTPheader()
113 data_buffer[1] = static_cast<uint8_t>(rtp_header->header.payloadType); in BuildRTPheader()
115 data_buffer[1] |= kRtpMarkerBitMask; // MarkerBit is 1 in BuildRTPheader()
117 RtpUtility::AssignUWord16ToBuffer(data_buffer + 2, in BuildRTPheader()
119 RtpUtility::AssignUWord32ToBuffer(data_buffer + 4, in BuildRTPheader()
121 RtpUtility::AssignUWord32ToBuffer(data_buffer + 8, rtp_header->header.ssrc); in BuildRTPheader()
131 uint8_t* ptr = &data_buffer[rtp_header_length]; in BuildRTPheader()
136 data_buffer[0] = (data_buffer[0] & 0xf0) | rtp_header->header.numCSRCs; in BuildRTPheader()
Dproducer_fec.cc122 RedPacket* ProducerFec::BuildRedPacket(const uint8_t* data_buffer, in BuildRedPacket() argument
129 int pl_type = data_buffer[1] & 0x7f; in BuildRedPacket()
130 red_packet->CreateHeader(data_buffer, rtp_header_length, in BuildRedPacket()
132 red_packet->AssignPayload(data_buffer + rtp_header_length, payload_length); in BuildRedPacket()
136 int ProducerFec::AddRtpPacketAndGenerateFec(const uint8_t* data_buffer, in AddRtpPacketAndGenerateFec() argument
144 const bool marker_bit = (data_buffer[1] & kRtpMarkerBitMask) ? true : false; in AddRtpPacketAndGenerateFec()
149 memcpy(packet->data, data_buffer, packet->length); in AddRtpPacketAndGenerateFec()
Drtp_sender.cc607 uint8_t data_buffer[IP_PACKET_SIZE]; in ReSendPacket() local
610 data_buffer, &length, in ReSendPacket()
617 RtpUtility::RtpHeaderParser rtp_parser(data_buffer, length); in ReSendPacket()
644 return PrepareAndSendPacket(data_buffer, length, capture_time_ms, in ReSendPacket()
785 uint8_t data_buffer[IP_PACKET_SIZE]; in TimeToSendPacket() local
791 data_buffer, in TimeToSendPacket()
805 return PrepareAndSendPacket(data_buffer, in TimeToSendPacket()
1078 int32_t RTPSender::BuildRTPheader(uint8_t* data_buffer, in BuildRTPheader() argument
1103 return CreateRTPHeader(data_buffer, payload_type, ssrc_, marker_bit, in BuildRTPheader()
1107 uint16_t RTPSender::BuildRTPHeaderExtension(uint8_t* data_buffer) const { in BuildRTPHeaderExtension()
[all …]
Drtp_sender.h46 virtual int32_t BuildRTPheader(uint8_t* data_buffer,
63 uint8_t *data_buffer, int payload_length, int rtp_header_length,
161 uint16_t BuildRTPHeaderExtension(uint8_t* data_buffer) const;
163 uint8_t BuildTransmissionTimeOffsetExtension(uint8_t *data_buffer) const;
164 uint8_t BuildAudioLevelExtension(uint8_t* data_buffer) const;
165 uint8_t BuildAbsoluteSendTimeExtension(uint8_t* data_buffer) const;
204 uint8_t* data_buffer,
222 uint8_t *data_buffer, int payload_length, int rtp_header_length,
Dproducer_fec.h48 RedPacket* BuildRedPacket(const uint8_t* data_buffer,
53 int AddRtpPacketAndGenerateFec(const uint8_t* data_buffer,
Drtp_sender_video.cc102 int32_t RTPSenderVideo::SendVideoPacket(uint8_t* data_buffer, in SendVideoPacket() argument
115 data_buffer, payload_length, rtp_header_length, _payloadTypeRED); in SendVideoPacket()
141 data_buffer, payload_length, rtp_header_length); in SendVideoPacket()
189 int ret = _rtpSender.SendToNetwork(data_buffer, in SendVideoPacket()
Drtp_receiver_video.h62 uint8_t* data_buffer) const;
/external/chromium_org/ipc/mojo/
Dipc_channel_mojo_readers.cc101 Message message(data_buffer().empty() ? "" : &data_buffer()[0], in OnMessageReceived()
102 static_cast<uint32>(data_buffer().size())); in OnMessageReceived()
241 Pickle request(data_buffer().empty() ? "" : &data_buffer()[0], in RespondHelloResponse()
242 static_cast<uint32>(data_buffer().size())); in RespondHelloResponse()
277 Pickle request(data_buffer().empty() ? "" : &data_buffer()[0], in RespondHelloRequest()
278 static_cast<uint32>(data_buffer().size())); in RespondHelloRequest()
Dipc_message_pipe_reader.h54 const std::vector<char>& data_buffer() const { in data_buffer() function
/external/chromium_org/content/renderer/media/
Drtc_data_channel_handler.cc107 webrtc::DataBuffer data_buffer(buffer, false); in sendStringData() local
108 RecordMessageSent(data_buffer.size()); in sendStringData()
109 return channel_->Send(data_buffer); in sendStringData()
114 webrtc::DataBuffer data_buffer(buffer, true); in sendRawData() local
115 RecordMessageSent(data_buffer.size()); in sendRawData()
116 return channel_->Send(data_buffer); in sendRawData()
/external/e2fsprogs/tests/progs/
Drandom_exercise.c38 char data_buffer[DATA_SIZE]; variable
89 write(fd, data_buffer, size); in create_random_file()
146 memset(data_buffer, 0, sizeof(data_buffer)); in main()
147 sprintf(data_buffer, "This is a test file created by the " in main()
/external/chromium_org/net/websockets/
Dwebsocket_basic_stream.cc293 scoped_refptr<IOBufferWithSize> data_buffer; in ConvertChunkToFrame() local
294 data_buffer.swap(chunk->data); in ConvertChunkToFrame()
318 AddToIncompleteControlFrameBody(data_buffer); in ConvertChunkToFrame()
327 AddToIncompleteControlFrameBody(data_buffer); in ConvertChunkToFrame()
333 AddToIncompleteControlFrameBody(data_buffer); in ConvertChunkToFrame()
358 *frame = CreateFrame(is_final_chunk, data_buffer); in ConvertChunkToFrame()
400 const scoped_refptr<IOBufferWithSize>& data_buffer) { in AddToIncompleteControlFrameBody() argument
401 if (!data_buffer.get()) in AddToIncompleteControlFrameBody()
404 incomplete_control_frame_body_->offset() + data_buffer->size(); in AddToIncompleteControlFrameBody()
409 data_buffer->data(), in AddToIncompleteControlFrameBody()
[all …]
Dwebsocket_channel.cc795 const scoped_refptr<IOBuffer>& data_buffer, in HandleFrameByState() argument
813 return HandleDataFrame(opcode, final, data_buffer, size); in HandleFrameByState()
819 true, WebSocketFrameHeader::kOpCodePong, data_buffer, size); in HandleFrameByState()
836 if (!ParseClose(data_buffer, size, &code, &reason, &message)) { in HandleFrameByState()
883 const scoped_refptr<IOBuffer>& data_buffer, in HandleDataFrame() argument
917 size ? data_buffer->data() : NULL, size); in HandleDataFrame()
940 final, opcode_to_queue, data_buffer, current_receive_quota_, size)); in HandleDataFrame()
948 const char* const data_begin = size ? data_buffer->data() : NULL; in HandleDataFrame()
Dwebsocket_channel.h261 const scoped_refptr<IOBuffer>& data_buffer,
269 const scoped_refptr<IOBuffer>& data_buffer,
Dwebsocket_basic_stream.h112 const scoped_refptr<IOBufferWithSize>& data_buffer);
/external/chromium_org/ppapi/tests/
Dtest_media_stream_audio_track.cc439 int16_t* data_buffer = static_cast<int16_t*>(buffer.GetDataBuffer()); in TestVerifyWaveform() local
440 ASSERT_TRUE(data_buffer != NULL); in TestVerifyWaveform()
445 left_start = CalculateWaveStartingTime(data_buffer[0], data_buffer[2], in TestVerifyWaveform()
447 right_start = CalculateWaveStartingTime(data_buffer[1], data_buffer[3], in TestVerifyWaveform()
453 int16_t left = data_buffer[sample]; in TestVerifyWaveform()
454 int16_t right = data_buffer[sample + 1]; in TestVerifyWaveform()
/external/chromium_org/chrome/browser/extensions/api/image_writer_private/
Dwrite_from_url_operation_unittest.cc182 scoped_ptr<char[]> data_buffer(new char[kTestFileSize]); in TEST_F() local
183 base::ReadFile(test_utils_.GetImagePath(), data_buffer.get(), kTestFileSize); in TEST_F()
185 base::MD5Sum(data_buffer.get(), kTestFileSize, &expected_digest); in TEST_F()
/external/chromium_org/mojo/bindings/js/
Ddrain_data.cc75 DataBuffer* data_buffer = new DataBuffer(p, p + num_bytes); in ReadData() local
76 data_buffers_.push_back(data_buffer); in ReadData()
/external/chromium_org/chrome/utility/image_writer/
Dimage_writer_mac.cc130 char data_buffer[kDataBufferSize]; in OpenDevice() local
133 io_vec[0].iov_base = data_buffer; in OpenDevice()
/external/chromium_org/net/spdy/
Dspdy_stream.cc807 scoped_ptr<SpdyBuffer> data_buffer( in QueueNextDataFrame() local
813 if (!data_buffer) in QueueNextDataFrame()
817 DCHECK_GE(data_buffer->GetRemainingSize(), in QueueNextDataFrame()
820 data_buffer->GetRemainingSize() - session_->GetDataFrameMinimumSize(); in QueueNextDataFrame()
830 data_buffer->AddConsumeCallback( in QueueNextDataFrame()
839 new SimpleBufferProducer(data_buffer.Pass()))); in QueueNextDataFrame()
/external/chromium_org/media/base/
Dseekable_buffer.cc91 scoped_refptr<DataBuffer> data_buffer = DataBuffer::CopyFrom(data, size); in Append() local
92 return Append(data_buffer); in Append()
DBUILD.gn64 "data_buffer.cc",
65 "data_buffer.h",
/external/chromium_org/third_party/jinja2/
Dparser.py845 data_buffer = []
846 add_data = data_buffer.append
852 if data_buffer:
853 lineno = data_buffer[0].lineno
854 body.append(nodes.Output(data_buffer[:], lineno=lineno))
855 del data_buffer[:]
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/
Dfake_pepper_interface_html5_fs.cc600 void* data_buffer = in ReadDirectoryEntries() local
603 if (data_buffer == NULL) in ReadDirectoryEntries()
606 PP_DirectoryEntry* dir_entries = static_cast<PP_DirectoryEntry*>(data_buffer); in ReadDirectoryEntries()
/external/chromium_org/chromeos/dbus/
Dcryptohome_client.cc1011 const uint8* data_buffer = NULL; in OnDataMethod() local
1014 if (!reader.PopArrayOfBytes(&data_buffer, &data_length) || in OnDataMethod()
1019 std::string data(reinterpret_cast<const char*>(data_buffer), data_length); in OnDataMethod()

12