Home
last modified time | relevance | path

Searched refs:mReadIndex (Results 1 – 2 of 2) 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()
158 return ((mReadBufIndex) * mChunkSize) + mReadIndex; in getReadPos()
171 if (amount <= mChunkSize - mReadIndex) { in skipRead()
172 mReadIndex += amount; in skipRead()
174 amount -= mChunkSize - mReadIndex; in skipRead()
175 mReadIndex = amount % mChunkSize; in skipRead()
176 if (mReadIndex == 0) { in skipRead()
177 mReadIndex = mChunkSize; in skipRead()
[all …]