Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/
DSkipCutBuffer.cpp30 mReadHead = 0; in SkipCutBuffer()
133 mWriteHead = mReadHead = 0; in clear()
138 int32_t sizeused = (mWriteHead - mReadHead); in write()
172 int32_t available = (mWriteHead - mReadHead); in read()
183 size_t copyfirst = (mCapacity - mReadHead); in read()
186 memcpy(dst, mCutBuffer + mReadHead, copyfirst); in read()
189 mReadHead += copyfirst; in read()
190 CHECK_LE(mReadHead, mCapacity); in read()
191 if (mReadHead == mCapacity) mReadHead = 0; in read()
194 mReadHead += num; in read()
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DSkipCutBuffer.h59 int32_t mReadHead; variable