Home
last modified time | relevance | path

Searched refs:mWriteHead (Results 1 – 2 of 2) sorted by relevance

/hardware/google/av/media/sfplugin/
DSkipCutBuffer.cpp29 mWriteHead = 0; in SkipCutBuffer()
133 mWriteHead = mReadHead = 0; in clear()
138 int32_t sizeused = (mWriteHead - mReadHead); in write()
155 size_t copyfirst = (mCapacity - mWriteHead); in write()
158 memcpy(mCutBuffer + mWriteHead, src, copyfirst); in write()
161 mWriteHead += copyfirst; in write()
162 CHECK_LE(mWriteHead, mCapacity); in write()
163 if (mWriteHead == mCapacity) mWriteHead = 0; in write()
166 mWriteHead += num; in write()
172 int32_t available = (mWriteHead - mReadHead); in read()
[all …]
DSkipCutBuffer.h58 int32_t mWriteHead; variable