Home
last modified time | relevance | path

Searched refs:RingBuffer (Results 1 – 25 of 28) sorted by relevance

12

/external/chromium_org/third_party/webrtc/modules/audio_processing/utility/
Dring_buffer.h19 typedef struct RingBuffer RingBuffer; typedef
22 RingBuffer* WebRtc_CreateBuffer(size_t element_count, size_t element_size);
23 int WebRtc_InitBuffer(RingBuffer* handle);
36 size_t WebRtc_ReadBuffer(RingBuffer* handle,
42 size_t WebRtc_WriteBuffer(RingBuffer* handle, const void* data,
50 int WebRtc_MoveReadPtr(RingBuffer* handle, int element_count);
53 size_t WebRtc_available_read(const RingBuffer* handle);
56 size_t WebRtc_available_write(const RingBuffer* handle);
Dring_buffer.c25 struct RingBuffer { struct
39 static size_t GetBufferReadRegions(RingBuffer* buf, in GetBufferReadRegions() argument
68 RingBuffer* WebRtc_CreateBuffer(size_t element_count, size_t element_size) { in WebRtc_CreateBuffer()
69 RingBuffer* self = NULL; in WebRtc_CreateBuffer()
74 self = malloc(sizeof(RingBuffer)); in WebRtc_CreateBuffer()
92 int WebRtc_InitBuffer(RingBuffer* self) { in WebRtc_InitBuffer()
108 RingBuffer* self = (RingBuffer*)handle; in WebRtc_FreeBuffer()
117 size_t WebRtc_ReadBuffer(RingBuffer* self, in WebRtc_ReadBuffer()
163 size_t WebRtc_WriteBuffer(RingBuffer* self, in WebRtc_WriteBuffer()
197 int WebRtc_MoveReadPtr(RingBuffer* self, int element_count) { in WebRtc_MoveReadPtr()
[all …]
Dring_buffer_unittest.cc30 typedef scoped_ptr<RingBuffer, FreeBufferDeleter> scoped_ring_buffer;
147 RingBuffer* buffer = WebRtc_CreateBuffer(1, 1); in TEST()
/external/deqp/framework/delibs/decpp/
DdeRingBuffer.hpp35 class RingBuffer class
38 RingBuffer (int size);
39 ~RingBuffer (void);
70 RingBuffer<T>::RingBuffer (int size) in RingBuffer() function in de::RingBuffer
81 RingBuffer<T>::~RingBuffer () in ~RingBuffer()
87 void RingBuffer<T>::clear (void) in clear()
95 void RingBuffer<T>::resize (int newSize) in resize()
122 inline void RingBuffer<T>::pushFront (const T& elem) in pushFront()
131 void RingBuffer<T>::pushFront (const T* elemBuf, int count) in pushFront()
141 inline T RingBuffer<T>::popBack () in popBack()
[all …]
DdeRingBuffer.cpp43 RingBuffer<int> buffer (bufSize); in RingBuffer_selfTest()
/external/chromium_org/net/tools/flip_server/
Dring_buffer.cc10 RingBuffer::RingBuffer(int buffer_size) in RingBuffer() function in net::RingBuffer
17 RingBuffer::~RingBuffer() {} in ~RingBuffer()
19 int RingBuffer::ReadableBytes() const { return bytes_used_; } in ReadableBytes()
21 int RingBuffer::BufferSize() const { return buffer_size_; } in BufferSize()
23 int RingBuffer::BytesFree() const { return BufferSize() - ReadableBytes(); } in BytesFree()
25 bool RingBuffer::Empty() const { return ReadableBytes() == 0; } in Empty()
27 bool RingBuffer::Full() const { return ReadableBytes() == BufferSize(); } in Full()
31 int RingBuffer::Write(const char* bytes, int size) { in Write()
76 void RingBuffer::GetWritablePtr(char** ptr, int* size) const { in GetWritablePtr()
90 void RingBuffer::GetReadablePtr(char** ptr, int* size) const { in GetReadablePtr()
[all …]
Dring_buffer.h26 class RingBuffer : public BufferInterface {
28 explicit RingBuffer(int buffer_size);
29 virtual ~RingBuffer();
106 RingBuffer(const RingBuffer&);
107 void operator=(const RingBuffer&);
Dsm_connection.h147 RingBuffer read_buffer_;
/external/chromium_org/gpu/command_buffer/client/
Dring_buffer.cc16 RingBuffer::RingBuffer(unsigned int alignment, Offset base_offset, in RingBuffer() function in gpu::RingBuffer
28 RingBuffer::~RingBuffer() { in ~RingBuffer()
35 void RingBuffer::FreeOldestBlock() { in FreeOldestBlock()
55 void* RingBuffer::Alloc(unsigned int size) { in Alloc()
86 void RingBuffer::FreePendingToken(void* pointer, in FreePendingToken()
106 unsigned int RingBuffer::GetLargestFreeSizeNoWaiting() { in GetLargestFreeSizeNoWaiting()
Dring_buffer.h22 class GPU_EXPORT RingBuffer {
33 RingBuffer(unsigned int alignment, Offset base_offset,
36 ~RingBuffer();
68 void* GetPointer(RingBuffer::Offset offset) const { in GetPointer()
73 RingBuffer::Offset GetOffset(void* pointer) const { in GetOffset()
132 DISALLOW_IMPLICIT_CONSTRUCTORS(RingBuffer);
Dtransfer_buffer.h48 virtual RingBuffer::Offset GetOffset(void* pointer) const = 0;
75 virtual RingBuffer::Offset GetOffset(void* pointer) const OVERRIDE;
89 scoped_ptr<RingBuffer> ring_buffer_;
158 RingBuffer::Offset offset() const { in offset()
Dtransfer_buffer.cc72 RingBuffer::Offset TransferBuffer::GetOffset(void* pointer) const { in GetOffset()
92 ring_buffer_.reset(new RingBuffer( in AllocateRingBuffer()
Dring_buffer_test.cc131 allocator_.reset(new RingBuffer(kAlignment, kBaseOffset, kBufferSize, in SetUp()
142 scoped_ptr<RingBuffer> allocator_;
/external/chromium_org/third_party/webrtc/modules/audio_processing/aec/
Daec_core_internal.h62 RingBuffer* nearFrBuf;
63 RingBuffer* outFrBuf;
65 RingBuffer* nearFrBufH;
66 RingBuffer* outFrBufH;
101 RingBuffer* far_buf;
102 RingBuffer* far_buf_windowed;
143 RingBuffer* far_time_buf;
Decho_cancellation_internal.h45 RingBuffer* far_pre_buf_s16; // Time domain far-end pre-buffer in int16_t.
59 RingBuffer* far_pre_buf; // Time domain far-end pre-buffer.
/external/chromium_org/cc/debug/
Dring_buffer.h13 class RingBuffer {
15 explicit RingBuffer() in RingBuffer() function
80 Iterator(const RingBuffer<T, kSize>& buffer, size_t index) in Iterator()
86 const RingBuffer<T, kSize>& buffer_;
90 friend class RingBuffer<T, kSize>; variable
117 DISALLOW_COPY_AND_ASSIGN(RingBuffer);
Dpaint_time_counter.h31 typedef RingBuffer<base::TimeDelta, 200> RingBufferType;
Dframe_rate_counter.h40 typedef RingBuffer<base::TimeTicks, 136> RingBufferType;
/external/chromium_org/third_party/brotli/src/brotli/enc/
Dringbuffer.h25 class RingBuffer {
27 RingBuffer(int window_bits, int tail_bits) in RingBuffer() function
36 ~RingBuffer() { in ~RingBuffer()
Dencode.h74 RingBuffer ringbuffer_;
/external/chromium_org/third_party/webrtc/modules/audio_processing/aecm/
Daecm_core.h41 RingBuffer* farFrameBuf;
42 RingBuffer* nearNoisyFrameBuf;
43 RingBuffer* nearCleanFrameBuf;
44 RingBuffer* outFrameBuf;
/external/chromium_org/cc/resources/
Dmemory_history.h41 typedef RingBuffer<Entry, 80> RingBufferType;
/external/deqp/executor/
DxeContainerFormatParser.hpp111 de::RingBuffer<deUint8> m_buf;
DxeCallQueue.hpp122 de::RingBuffer<Call*> m_callQueue;
/external/deqp/execserver/
DxsDefs.hpp61 typedef de::RingBuffer<deUint8> ByteBuffer;

12