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()
148 if (mWriteHead < mReadHead) { in write()
151 size_t copyLeft = mCapacity - mReadHead; in write()
152 memcpy(newbuffer, mCutBuffer + mReadHead, copyLeft); in write()
154 mReadHead = 0; in write()
157 memcpy(newbuffer, mCutBuffer + mReadHead, mWriteHead - mReadHead); in write()
158 mWriteHead -= mReadHead; in write()
159 mReadHead = 0; in write()
[all …]
/frameworks/av/media/libstagefright/include/media/stagefright/
DSkipCutBuffer.h59 int32_t mReadHead; variable