Searched refs:mCachedOffset (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/media/libstagefright/ |
D | CallbackDataSource.cpp | 121 : mSource(source), mCachedOffset(0), mCachedSize(0) { in TinyCacheSource() 135 if (mCachedOffset <= offset in readAt() 136 && offset < (off64_t) (mCachedOffset + mCachedSize)) { in readAt() 137 if (offset + size <= mCachedOffset + mCachedSize) { in readAt() 138 memcpy(data, &mCache[offset - mCachedOffset], size); in readAt() 146 const ssize_t remaining = mCachedOffset + mCachedSize - offset; in readAt() 147 memcpy(data, &mCache[offset - mCachedOffset], remaining); in readAt() 163 mCachedOffset = 0; in readAt() 169 mCachedOffset = 0; in readAt() 174 mCachedOffset = offset; in readAt() [all …]
|
D | MPEG4Extractor.cpp | 204 off64_t mCachedOffset; member 216 mCachedOffset(0), in MPEG4DataSource() 231 mCachedOffset = 0; in clearCache() 242 if (isInRange(mCachedOffset, mCachedSize, offset, size)) { in readAt() 243 memcpy(data, &mCache[offset - mCachedOffset], size); in readAt() 269 mCachedOffset = offset; in setCachedRange() 272 ssize_t err = mSource->readAt(mCachedOffset, mCache, mCachedSize); in setCachedRange()
|
/frameworks/av/media/libstagefright/include/ |
D | CallbackDataSource.h | 86 off64_t mCachedOffset; variable
|