Home
last modified time | relevance | path

Searched refs:DataBuffer (Results 1 – 25 of 29) sorted by relevance

12

/external/chromium_org/media/base/
Ddata_buffer.cc11 DataBuffer::DataBuffer(int buffer_size) in DataBuffer() function in media::DataBuffer
18 DataBuffer::DataBuffer(scoped_ptr<uint8[]> buffer, int buffer_size) in DataBuffer() function in media::DataBuffer
26 DataBuffer::DataBuffer(const uint8* data, int data_size) in DataBuffer() function in media::DataBuffer
39 DataBuffer::~DataBuffer() {} in ~DataBuffer()
42 scoped_refptr<DataBuffer> DataBuffer::CopyFrom(const uint8* data, int size) { in CopyFrom()
45 return make_scoped_refptr(new DataBuffer(data, size)); in CopyFrom()
49 scoped_refptr<DataBuffer> DataBuffer::CreateEOSBuffer() { in CreateEOSBuffer()
50 return make_scoped_refptr(new DataBuffer(NULL, 0)); in CreateEOSBuffer()
Ddata_buffer_unittest.cc14 scoped_refptr<DataBuffer> buffer = new DataBuffer(0); in TEST()
23 scoped_refptr<DataBuffer> buffer = new DataBuffer(10); in TEST()
36 scoped_refptr<DataBuffer> buffer = new DataBuffer(data.Pass(), kSize); in TEST()
48 scoped_refptr<DataBuffer> buffer = in TEST()
49 DataBuffer::CopyFrom(kTestData, kTestDataSize); in TEST()
60 scoped_refptr<DataBuffer> buffer = DataBuffer::CreateEOSBuffer(); in TEST()
69 scoped_refptr<DataBuffer> buffer = new DataBuffer(0); in TEST()
84 scoped_refptr<DataBuffer> buffer = new DataBuffer(0); in TEST()
101 scoped_refptr<DataBuffer> buffer(new DataBuffer(kDataSize)); in TEST()
113 scoped_refptr<DataBuffer> buffer2(new DataBuffer(kNewDataSize + 10)); in TEST()
Ddata_buffer.h23 class MEDIA_EXPORT DataBuffer : public base::RefCountedThreadSafe<DataBuffer> {
26 explicit DataBuffer(int buffer_size);
29 DataBuffer(scoped_ptr<uint8[]> buffer, int buffer_size);
34 static scoped_refptr<DataBuffer> CopyFrom(const uint8* data, int size);
40 static scoped_refptr<DataBuffer> CreateEOSBuffer();
90 friend class base::RefCountedThreadSafe<DataBuffer>;
96 DataBuffer(const uint8* data, int data_size);
98 virtual ~DataBuffer();
108 DISALLOW_COPY_AND_ASSIGN(DataBuffer);
Dseekable_buffer.h44 class DataBuffer; variable
80 bool Append(const scoped_refptr<DataBuffer>& buffer_in);
133 typedef std::list<scoped_refptr<DataBuffer> > BufferQueue;
Dseekable_buffer.cc62 bool SeekableBuffer::Append(const scoped_refptr<DataBuffer>& buffer_in) { in Append()
91 scoped_refptr<DataBuffer> data_buffer = DataBuffer::CopyFrom(data, size); in Append()
174 scoped_refptr<DataBuffer> buffer = *i; in EvictBackwardBuffers()
198 scoped_refptr<DataBuffer> buffer = *current_buffer; in InternalRead()
Dseekable_buffer_unittest.cc228 scoped_refptr<DataBuffer> buffer = DataBuffer::CopyFrom(data_, kWriteSize); in TEST_F()
331 scoped_refptr<DataBuffer> buffer = DataBuffer::CopyFrom(data_, kWriteSize); in TEST_F()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/
Ddatachannelinterface.h68 struct DataBuffer { struct
69 DataBuffer(const talk_base::Buffer& data, bool binary) in DataBuffer() argument
74 explicit DataBuffer(const std::string& text) in DataBuffer() argument
92 virtual void OnMessage(const DataBuffer& buffer) = 0; argument
131 virtual bool Send(const DataBuffer& buffer) = 0;
Ddatachannel.cc142 for (std::deque<DataBuffer*>::const_iterator it = queued_send_data_.begin(); in buffered_amount()
159 bool DataChannel::Send(const DataBuffer& buffer) { in Send()
258 talk_base::scoped_ptr<DataBuffer> buffer(new DataBuffer(payload, binary)); in OnDataReceived()
366 DataBuffer* buffer = queued_received_data_.front(); in DeliverQueuedReceivedData()
375 DataBuffer* buffer = queued_received_data_.front(); in ClearQueuedReceivedData()
390 DataBuffer* buffer = queued_send_data_.front(); in DeliverQueuedSendData()
421 DataBuffer* buffer = queued_send_data_.front(); in ClearQueuedSendData()
428 const DataBuffer& buffer, cricket::SendDataResult* send_result) { in InternalSendWithoutQueueing()
444 bool DataChannel::QueueSendData(const DataBuffer& buffer) { in QueueSendData()
449 queued_send_data_.push_back(new DataBuffer(buffer)); in QueueSendData()
Ddatachannel.h110 virtual bool Send(const DataBuffer& buffer);
171 bool InternalSendWithoutQueueing(const DataBuffer& buffer,
173 bool QueueSendData(const DataBuffer& buffer);
192 std::queue<DataBuffer*> queued_received_data_;
193 std::deque<DataBuffer*> queued_send_data_;
221 PROXY_METHOD1(bool, Send, const DataBuffer&)
Ddatachannel_unittest.cc38 MOCK_METHOD1(OnMessage, void(const webrtc::DataBuffer& buffer));
112 webrtc::DataBuffer buffer("abcd"); in TEST_F()
131 webrtc::DataBuffer buffer("abcd"); in TEST_F()
169 webrtc::DataBuffer buffer("data"); in TEST_F()
184 webrtc::DataBuffer buffer("abcd"); in TEST_F()
198 webrtc::DataBuffer buffer("abcd"); in TEST_F()
Dpeerconnectioninterface_unittest.cc72 using webrtc::DataBuffer;
793 EXPECT_FALSE(data1->Send(DataBuffer(data_to_send1)));
801 EXPECT_TRUE(data1->Send(DataBuffer(data_to_send1)));
802 EXPECT_TRUE(data2->Send(DataBuffer(data_to_send2)));
815 EXPECT_TRUE(data2->Send(DataBuffer(data_to_send2)));
853 EXPECT_FALSE(data1->Send(DataBuffer(buffer, true)));
912 EXPECT_FALSE(received_channel->Send(DataBuffer("something")));
Dpeerconnection_unittest.cc69 using webrtc::DataBuffer;
1274 initializing_client()->data_channel()->Send(DataBuffer(data)); in TEST_F()
1277 receiving_client()->data_channel()->Send(DataBuffer(data)); in TEST_F()
1312 initializing_client()->data_channel()->Send(DataBuffer(data)); in TEST_F()
/external/chromium_org/content/renderer/media/
Drtc_data_channel_handler.cc71 webrtc::DataBuffer data_buffer(buffer, false); in sendStringData()
77 webrtc::DataBuffer data_buffer(buffer, true); in sendRawData()
114 void RtcDataChannelHandler::OnMessage(const webrtc::DataBuffer& buffer) { in OnMessage()
Drtc_data_channel_handler.h49 virtual void OnMessage(const webrtc::DataBuffer& buffer) OVERRIDE; in NON_EXPORTED_BASE()
Dmock_peer_connection_impl.cc146 virtual bool Send(const webrtc::DataBuffer& buffer) OVERRIDE { in Send()
/external/jmonkeyengine/engine/src/desktop/com/jme3/texture/plugins/
DAWTLoader.java64 DataBuffer.TYPE_BYTE);
67 DataBuffer buf = img.getRaster().getDataBuffer(); in extractImageData()
69 case DataBuffer.TYPE_BYTE: in extractImageData()
72 case DataBuffer.TYPE_USHORT: in extractImageData()
/external/chromium_org/media/audio/mac/
Daudio_low_latency_input_mac.h53 class DataBuffer; variable
159 scoped_refptr<media::DataBuffer> data_;
Daudio_low_latency_input_mac.cc118 data_ = new media::DataBuffer(requested_size_bytes_); in AUAudioInputStream()
/external/chromium_org/third_party/sqlite/src/ext/fts2/
Dfts2.c499 typedef struct DataBuffer { struct
503 } DataBuffer; argument
505 static void dataBufferInit(DataBuffer *pBuffer, int nCapacity){ in dataBufferInit()
511 static void dataBufferReset(DataBuffer *pBuffer){ in dataBufferReset()
514 static void dataBufferDestroy(DataBuffer *pBuffer){ in dataBufferDestroy()
518 static void dataBufferSwap(DataBuffer *pBuffer1, DataBuffer *pBuffer2){ in dataBufferSwap()
519 DataBuffer tmp = *pBuffer1; in dataBufferSwap()
523 static void dataBufferExpand(DataBuffer *pBuffer, int nAddCapacity){ in dataBufferExpand()
534 static void dataBufferAppend(DataBuffer *pBuffer, in dataBufferAppend()
541 static void dataBufferAppend2(DataBuffer *pBuffer, in dataBufferAppend2()
[all …]
/external/chromium_org/media/audio/alsa/
Dalsa_output.cc309 scoped_refptr<DataBuffer> silent_packet = new DataBuffer(buffer_size); in Start()
361 scoped_refptr<media::DataBuffer> packet = in BufferPacket()
362 new media::DataBuffer(packet_size_); in BufferPacket()
/external/chromium_org/sandbox/win/tests/common/
Dtest_utils.cc30 UCHAR DataBuffer[1]; member
/external/chromium_org/third_party/sqlite/
Dfts2.patch103 /* DataBuffer is used to collect data into a buffer in piecemeal
344 - int iColumn, DocListType iOutType, DataBuffer *out){
346 + int iColumn, DocListType iOutType, DataBuffer *out){
401 -static void docListMerge(DataBuffer *out,
403 +static int docListMerge(DataBuffer *out,
524 DataBuffer *pOut /* Write the combined doclist here */
734 DataBuffer *pOut /* Write the combined doclist here */
788 DataBuffer *pOut /* Write the combined doclist here */
862 DataBuffer *pOut /* Write the combined doclist here */
1456 -static void docListAccumulateUnion(DataBuffer *acc,
[all …]
/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/noise/
DShaderUtils.java35 import java.awt.image.DataBuffer;
257 DataBuffer db; in getImageDataFromImage()
/external/chromium_org/third_party/libjingle/source/talk/app/webrtc/test/
Dmockpeerconnectionobservers.h102 virtual void OnMessage(const DataBuffer& buffer) { in OnMessage()
/external/jmonkeyengine/engine/src/desktop/jme3tools/converters/
DImageToAwt.java414 DataBuffer.TYPE_BYTE); in convert()
415 WritableRaster raster = Raster.createInterleavedRaster(DataBuffer.TYPE_BYTE, in convert()

12