Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Drtp_receiver_video.cc124 uint8_t* data_buffer) const { in BuildRTPheader()
125 data_buffer[0] = static_cast<uint8_t>(0x80); // version 2 in BuildRTPheader()
126 data_buffer[1] = static_cast<uint8_t>(rtp_header->header.payloadType); in BuildRTPheader()
128 data_buffer[1] |= kRtpMarkerBitMask; // MarkerBit is 1 in BuildRTPheader()
130 ModuleRTPUtility::AssignUWord16ToBuffer(data_buffer + 2, in BuildRTPheader()
132 ModuleRTPUtility::AssignUWord32ToBuffer(data_buffer + 4, in BuildRTPheader()
134 ModuleRTPUtility::AssignUWord32ToBuffer(data_buffer + 8, in BuildRTPheader()
145 uint8_t* ptr = &data_buffer[rtp_header_length]; in BuildRTPheader()
151 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.cc597 uint8_t data_buffer[IP_PACKET_SIZE]; in ReSendPacket() local
600 data_buffer, &length, in ReSendPacket()
607 ModuleRTPUtility::RTPHeaderParser rtp_parser(data_buffer, length); in ReSendPacket()
625 return PrepareAndSendPacket(data_buffer, length, capture_time_ms, in ReSendPacket()
767 uint8_t data_buffer[IP_PACKET_SIZE]; in TimeToSendPacket() local
773 data_buffer, in TimeToSendPacket()
782 return PrepareAndSendPacket(data_buffer, length, capture_time_ms, in TimeToSendPacket()
1045 uint8_t *data_buffer, const int8_t payload_type, in BuildRTPheader() argument
1067 return CreateRTPHeader(data_buffer, payload_type, ssrc_, marker_bit, in BuildRTPheader()
1071 uint16_t RTPSender::BuildRTPHeaderExtension(uint8_t* data_buffer) const { in BuildRTPHeaderExtension()
[all …]
Drtp_sender.h47 uint8_t *data_buffer, const int8_t payload_type,
62 uint8_t *data_buffer, int payload_length, int rtp_header_length,
156 uint16_t BuildRTPHeaderExtension(uint8_t* data_buffer) const;
158 uint8_t BuildTransmissionTimeOffsetExtension(uint8_t *data_buffer) const;
159 uint8_t BuildAudioLevelExtension(uint8_t* data_buffer) const;
160 uint8_t BuildAbsoluteSendTimeExtension(uint8_t* data_buffer) const;
198 uint8_t *data_buffer, const int8_t payload_type,
214 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.cc108 RTPSenderVideo::SendVideoPacket(uint8_t* data_buffer, in SendVideoPacket() argument
120 RedPacket* red_packet = producer_fec_.BuildRedPacket(data_buffer, in SendVideoPacket()
145 ret = producer_fec_.AddRtpPacketAndGenerateFec(data_buffer, in SendVideoPacket()
189 int ret = _rtpSender.SendToNetwork(data_buffer, in SendVideoPacket()
Drtp_receiver_video.h73 uint8_t* data_buffer) const;
/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) in AddToIncompleteControlFrameBody()
404 incomplete_control_frame_body_->offset() + data_buffer->size(); in AddToIncompleteControlFrameBody()
409 data_buffer->data(), in AddToIncompleteControlFrameBody()
[all …]
Dwebsocket_channel.cc793 const scoped_refptr<IOBuffer>& data_buffer, in HandleFrameByState() argument
811 return HandleDataFrame(opcode, final, data_buffer, size); in HandleFrameByState()
817 true, WebSocketFrameHeader::kOpCodePong, data_buffer, size); in HandleFrameByState()
834 if (!ParseClose(data_buffer, size, &code, &reason, &message)) { in HandleFrameByState()
881 const scoped_refptr<IOBuffer>& data_buffer, in HandleDataFrame() argument
915 size ? data_buffer->data() : NULL, size); in HandleDataFrame()
938 final, opcode_to_queue, data_buffer, current_receive_quota_, size)); in HandleDataFrame()
946 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/chrome/browser/extensions/api/image_writer_private/
Dwrite_from_url_operation_unittest.cc175 scoped_ptr<char[]> data_buffer(new char[kTestFileSize]); in TEST_F() local
176 base::ReadFile(test_image_path_, data_buffer.get(), kTestFileSize); in TEST_F()
178 base::MD5Sum(data_buffer.get(), kTestFileSize, &expected_digest); in TEST_F()
/external/chromium_org/chrome/utility/image_writer/
Dimage_writer_mac.cc116 char data_buffer[kDataBufferSize]; in OpenDevice() local
119 io_vec[0].iov_base = data_buffer; in OpenDevice()
/external/chromium_org/net/spdy/
Dspdy_stream.cc802 scoped_ptr<SpdyBuffer> data_buffer( in QueueNextDataFrame() local
808 if (!data_buffer) in QueueNextDataFrame()
812 DCHECK_GE(data_buffer->GetRemainingSize(), in QueueNextDataFrame()
815 data_buffer->GetRemainingSize() - session_->GetDataFrameMinimumSize(); in QueueNextDataFrame()
821 data_buffer->AddConsumeCallback( in QueueNextDataFrame()
829 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()
/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.cc944 const uint8* data_buffer = NULL; in OnDataMethod() local
947 if (!reader.PopArrayOfBytes(&data_buffer, &data_length) || in OnDataMethod()
952 std::string data(reinterpret_cast<const char*>(data_buffer), data_length); in OnDataMethod()
/external/chromium_org/tools/gyp/tools/emacs/testdata/
Dmedia.gyp147 'base/data_buffer.cc',
148 'base/data_buffer.h',
/external/chromium_org/media/
Dmedia.target.linux-mips.mk91 media/base/data_buffer.cc \
Dmedia.target.darwin-mips.mk91 media/base/data_buffer.cc \
Dmedia.target.linux-x86.mk91 media/base/data_buffer.cc \
Dmedia.target.darwin-x86.mk91 media/base/data_buffer.cc \

12