HomeSort by relevance Sort by last modified time
    Searched refs:RingBuffer (Results 1 - 25 of 57) sorted by null

1 2 3

  /external/webrtc/webrtc/common_audio/
ring_buffer.h 23 typedef struct RingBuffer RingBuffer;
26 RingBuffer* WebRtc_CreateBuffer(size_t element_count, size_t element_size);
27 void WebRtc_InitBuffer(RingBuffer* handle);
40 size_t WebRtc_ReadBuffer(RingBuffer* handle,
46 size_t WebRtc_WriteBuffer(RingBuffer* handle, const void* data,
54 int WebRtc_MoveReadPtr(RingBuffer* handle, int element_count);
57 size_t WebRtc_available_read(const RingBuffer* handle);
60 size_t WebRtc_available_write(const RingBuffer* handle);
audio_ring_buffer.h 16 struct RingBuffer;
51 std::vector<RingBuffer*> buffers_;
ring_buffer.c 25 struct RingBuffer {
39 static size_t GetBufferReadRegions(RingBuffer* buf,
68 RingBuffer* WebRtc_CreateBuffer(size_t element_count, size_t element_size) {
69 RingBuffer* self = NULL;
74 self = malloc(sizeof(RingBuffer));
93 void WebRtc_InitBuffer(RingBuffer* self) {
103 RingBuffer* self = (RingBuffer*)handle;
112 size_t WebRtc_ReadBuffer(RingBuffer* self,
158 size_t WebRtc_WriteBuffer(RingBuffer* self
    [all...]
  /hardware/libhardware/modules/sensors/dynamic_sensor/
RingBuffer.h 28 class RingBuffer {
30 explicit RingBuffer(size_t size);
31 ~RingBuffer();
44 DISALLOW_EVIL_CONSTRUCTORS(RingBuffer);
RingBuffer.cpp 17 #include "RingBuffer.h"
24 RingBuffer::RingBuffer(size_t size)
31 RingBuffer::~RingBuffer() {
36 ssize_t RingBuffer::write(const sensors_event_t *ev, size_t size) {
68 ssize_t RingBuffer::read(sensors_event_t *ev, size_t size) {
  /frameworks/native/libs/vr/libdvrcommon/include/private/dvr/
ring_buffer.h 19 class RingBuffer {
21 RingBuffer() { Reset(0); }
23 explicit RingBuffer(size_t capacity) { Reset(capacity); }
25 RingBuffer(const RingBuffer& other) = default;
26 RingBuffer(RingBuffer&& other) = default;
27 RingBuffer& operator=(const RingBuffer& other) = default;
28 RingBuffer& operator=(RingBuffer&& other) = default
    [all...]
  /frameworks/av/media/libmedia/include/media/
RingBuffer.h 31 * A RingBuffer class that maintains an array of objects that can grow up to a certain size.
32 * Elements added to the RingBuffer are inserted in the logical front of the buffer, and
33 * invalidate all current iterators for that RingBuffer object.
36 class RingBuffer final {
40 * Construct a RingBuffer that can grow up to the given length.
42 explicit RingBuffer(size_t length);
97 * Adds item to the front of this RingBuffer. If the RingBuffer is at its maximum length,
106 * Moves item to the front of this RingBuffer. Following a call to this, item should no
107 * longer be used. If the RingBuffer is at its maximum length, this will result in th
    [all...]
  /frameworks/native/services/sensorservice/
RingBuffer.h 31 * A RingBuffer class that maintains an array of objects that can grow up to a certain size.
32 * Elements added to the RingBuffer are inserted in the logical front of the buffer, and
33 * invalidate all current iterators for that RingBuffer object.
36 class RingBuffer final {
40 * Construct a RingBuffer that can grow up to the given length.
42 explicit RingBuffer(size_t length);
97 * Adds item to the front of this RingBuffer. If the RingBuffer is at its maximum length,
106 * Moves item to the front of this RingBuffer. Following a call to this, item should no
107 * longer be used. If the RingBuffer is at its maximum length, this will result in th
    [all...]
RecentEventLogger.h 20 #include "RingBuffer.h"
59 RingBuffer<SensorEventLog> mRecentEvents;
  /external/v8/src/compiler-dispatcher/
compiler-dispatcher-tracer.h 82 static double Average(const base::RingBuffer<double>& buffer);
84 const base::RingBuffer<std::pair<size_t, double>>& buffer, size_t num);
87 base::RingBuffer<double> prepare_parse_events_;
88 base::RingBuffer<std::pair<size_t, double>> parse_events_;
89 base::RingBuffer<double> finalize_parsing_events_;
90 base::RingBuffer<double> analyze_events_;
91 base::RingBuffer<double> prepare_compile_events_;
92 base::RingBuffer<std::pair<size_t, double>> compile_events_;
93 base::RingBuffer<double> finalize_compiling_events_;
  /device/google/contexthub/util/common/
ring.h 28 struct RingBuffer {
29 explicit RingBuffer(size_t size);
30 ~RingBuffer();
43 DISALLOW_EVIL_CONSTRUCTORS(RingBuffer);
ring.cpp 25 RingBuffer::RingBuffer(size_t size)
32 RingBuffer::~RingBuffer() {
37 ssize_t RingBuffer::write(const sensors_event_t *ev, size_t size) {
69 ssize_t RingBuffer::read(sensors_event_t *ev, size_t size) {
  /frameworks/base/libs/hwui/utils/
RingBuffer.h 27 class RingBuffer {
28 PREVENT_COPY_AND_ASSIGN(RingBuffer);
31 RingBuffer() {}
32 ~RingBuffer() {}
  /external/deqp/framework/delibs/decpp/
deRingBuffer.hpp 35 class RingBuffer
38 RingBuffer (int size);
39 ~RingBuffer (void);
67 // RingBuffer implementation.
70 RingBuffer<T>::RingBuffer (int size)
81 RingBuffer<T>::~RingBuffer ()
87 void RingBuffer<T>::clear (void)
95 void RingBuffer<T>::resize (int newSize
    [all...]
  /external/v8/src/base/
ring-buffer.h 14 class RingBuffer {
16 RingBuffer() { Reset(); }
48 DISALLOW_COPY_AND_ASSIGN(RingBuffer);
  /frameworks/base/tests/net/java/com/android/internal/util/
RingBufferTest.java 38 RingBuffer<String> buffer = new RingBuffer<>(String.class, 100);
46 RingBuffer<String> buffer = new RingBuffer<>(String.class, -10);
47 fail("Should not be able to create a negative capacity RingBuffer");
52 RingBuffer<String> buffer = new RingBuffer<>(String.class, 0);
53 fail("Should not be able to create a 0 capacity RingBuffer");
60 RingBuffer<String> buffer = new RingBuffer<>(String.class, 100)
    [all...]
  /external/brotli/c/enc/
ringbuffer.h 23 /* A RingBuffer(window_bits, tail_bits) contains `1 << window_bits' bytes of
26 For convenience, the RingBuffer array contains another copy of the
32 typedef struct RingBuffer {
47 } RingBuffer;
49 static BROTLI_INLINE void RingBufferInit(RingBuffer* rb) {
57 const BrotliEncoderParams* params, RingBuffer* rb) {
66 static BROTLI_INLINE void RingBufferFree(MemoryManager* m, RingBuffer* rb) {
73 MemoryManager* m, const uint32_t buflen, RingBuffer* rb) {
94 const uint8_t *bytes, size_t n, RingBuffer* rb) {
106 MemoryManager* m, const uint8_t *bytes, size_t n, RingBuffer* rb)
    [all...]
  /frameworks/base/libs/hwui/font/
FontCacheHistoryTracker.h 18 #include "../utils/RingBuffer.h"
59 RingBuffer<RenderEntry, 300> mRenderHistory;
60 RingBuffer<CachedGlyph, 120> mUploadHistory;
  /external/webrtc/webrtc/modules/audio_processing/aec/
echo_cancellation_internal.h 58 RingBuffer* far_pre_buf; // Time domain far-end pre-buffer.
  /external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
ringbuffer.h 25 * @brief RingBuffer
26 * The RingBuffer class manages all aspects of the ring buffer including
33 class RingBuffer
36 RingBuffer()
41 ~RingBuffer()
  /external/v8/src/heap/
gc-tracer.h 356 static double AverageSpeed(const base::RingBuffer<BytesAndDuration>& buffer);
357 static double AverageSpeed(const base::RingBuffer<BytesAndDuration>& buffer,
430 base::RingBuffer<BytesAndDuration> recorded_minor_gcs_total_;
431 base::RingBuffer<BytesAndDuration> recorded_minor_gcs_survived_;
432 base::RingBuffer<BytesAndDuration> recorded_compactions_;
433 base::RingBuffer<BytesAndDuration> recorded_incremental_mark_compacts_;
434 base::RingBuffer<BytesAndDuration> recorded_mark_compacts_;
435 base::RingBuffer<BytesAndDuration> recorded_new_generation_allocations_;
436 base::RingBuffer<BytesAndDuration> recorded_old_generation_allocations_;
437 base::RingBuffer<double> recorded_context_disposal_times_
    [all...]
  /frameworks/av/services/mediaresourcemanager/
ServiceLog.h 26 #include "media/RingBuffer.h"
41 RingBuffer<String8> mLogs;
  /frameworks/av/services/camera/libcameraservice/utils/
TagMonitor.h 28 #include <media/RingBuffer.h>
106 RingBuffer<MonitorEvent> mMonitoringEvents;
  /frameworks/base/core/java/com/android/internal/util/
RingBuffer.java 30 public class RingBuffer<T> {
38 public RingBuffer(Class<T> c, int capacity) {
39 checkArgumentPositive(capacity, "A RingBuffer cannot have 0 capacity");
  /frameworks/base/libs/hwui/
JankTracker.h 23 #include "utils/RingBuffer.h"
68 RingBuffer<FrameInfo, 120>& frames() { return mFrames; }
92 RingBuffer<FrameInfo, 120> mFrames;

Completed in 688 milliseconds

1 2 3