Home
last modified time | relevance | path

Searched refs:mReadIndex (Results 1 – 3 of 3) sorted by relevance

/frameworks/av/media/libeffects/dynamicsproc/dsp/
DSHCircularBuffer.h27 SHCircularBuffer() : mReadIndex(0), mWriteIndex(0), mReadAvailable(0) { in SHCircularBuffer()
35 mReadIndex = 0; in resize()
53 value = mBuffer[mReadIndex++]; in read()
54 if (mReadIndex >= getSize()) { in read()
55 mReadIndex = 0; in read()
75 size_t mReadIndex; variable
/frameworks/base/core/java/android/util/proto/
DEncodedBuffer.java82 private int mReadIndex; field in EncodedBuffer
131 mReadIndex = 0; in startEditing()
140 mReadIndex = 0; in rewindRead()
166 return ((mReadBufIndex) * mChunkSize) + mReadIndex; in getReadPos()
179 if (amount <= mChunkSize - mReadIndex) { in skipRead()
180 mReadIndex += amount; in skipRead()
182 amount -= mChunkSize - mReadIndex; in skipRead()
183 mReadIndex = amount % mChunkSize; in skipRead()
184 if (mReadIndex == 0) { in skipRead()
185 mReadIndex = mChunkSize; in skipRead()
[all …]
/frameworks/av/media/libaaudio/tests/
Dtest_atomic_fifo.cpp113 &mReadIndex, in TestFifoBuffer()
333 fifo_counter_t mReadIndex = 0; member in TestFifoBuffer