Searched refs:mCachedOffset (Results 1 - 5 of 5) sorted by relevance

/frameworks/av/media/libstagefright/
H A DCallbackDataSource.cpp121 : mSource(source), mCachedOffset(0), mCachedSize(0) {
135 if (mCachedOffset <= offset
136 && offset < (off64_t) (mCachedOffset + mCachedSize)) {
137 if (offset + size <= mCachedOffset + mCachedSize) {
138 memcpy(data, &mCache[offset - mCachedOffset], size);
146 const ssize_t remaining = mCachedOffset + mCachedSize - offset;
147 memcpy(data, &mCache[offset - mCachedOffset], remaining);
163 mCachedOffset = 0;
169 mCachedOffset = 0;
174 mCachedOffset
[all...]
H A DMPEG4Extractor.cpp204 off64_t mCachedOffset; member in struct:android::MPEG4DataSource
216 mCachedOffset(0),
231 mCachedOffset = 0;
242 if (isInRange(mCachedOffset, mCachedSize, offset, size)) {
243 memcpy(data, &mCache[offset - mCachedOffset], size);
269 mCachedOffset = offset;
272 ssize_t err = mSource->readAt(mCachedOffset, mCache, mCachedSize);
/frameworks/av/include/media/stagefright/
H A DCallbackDataSource.h86 off64_t mCachedOffset; member in class:android::TinyCacheSource
/frameworks/av/media/libstagefright/foundation/include/
H A DCallbackDataSource.h86 off64_t mCachedOffset; member in class:android::TinyCacheSource
/frameworks/av/media/libstagefright/include/
H A DCallbackDataSource.h86 off64_t mCachedOffset; member in class:android::TinyCacheSource

Completed in 121 milliseconds