Home
last modified time | relevance | path

Searched refs:mReadHead (Results 1 – 5 of 5) 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/codec2/sfplugin/
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 …]
DSkipCutBuffer.h59 int32_t mReadHead; variable
/frameworks/libs/net/common/devicetests/com/android/testutils/
DTapPacketReader.java45 private final Lazy<ArrayTrackRecord<byte[]>.ReadHead> mReadHead = field in TapPacketReader
71 return mReadHead.getValue().poll(timeoutMs, packet -> true); in popPacket()
79 return mReadHead.getValue().poll(timeoutMs, filter::test); in popPacket()
/frameworks/av/media/libstagefright/include/media/stagefright/
DSkipCutBuffer.h59 int32_t mReadHead; variable