HomeSort by relevance Sort by last modified time
    Searched refs:mCachedOffset (Results 1 - 3 of 3) sorted by null

  /frameworks/av/media/libstagefright/
CallbackDataSource.cpp 117 : mSource(source), mCachedOffset(0), mCachedSize(0) {
131 if (mCachedOffset <= offset
132 && offset < (off64_t) (mCachedOffset + mCachedSize)) {
133 if (offset + size <= mCachedOffset + mCachedSize) {
134 memcpy(data, &mCache[offset - mCachedOffset], size);
142 const ssize_t remaining = mCachedOffset + mCachedSize - offset;
143 memcpy(data, &mCache[offset - mCachedOffset], remaining);
159 mCachedOffset = 0;
165 mCachedOffset = 0;
170 mCachedOffset = offset
    [all...]
MPEG4Extractor.cpp 199 off64_t mCachedOffset;
211 mCachedOffset(0),
226 mCachedOffset = 0;
237 if (isInRange(mCachedOffset, mCachedSize, offset, size)) {
238 memcpy(data, &mCache[offset - mCachedOffset], size);
264 mCachedOffset = offset;
267 ssize_t err = mSource->readAt(mCachedOffset, mCache, mCachedSize);
    [all...]
  /frameworks/av/media/libstagefright/include/
CallbackDataSource.h 84 off64_t mCachedOffset;

Completed in 44 milliseconds