Searched refs:mCachedSize (Results 1 – 9 of 9) sorted by relevance
/frameworks/av/media/libheif/ |
D | HeifDecoderImpl.cpp | 54 mCachedOffset(0), mCachedSize(0), mCacheBufferSize(0) {} in HeifDataSource() 88 size_t mCachedSize; member in android::HeifDataSource 117 mCachedSize = 0; in readAt() 122 mCachedSize = 0; in readAt() 131 offset >= (off64_t)(mCachedOffset + mCachedSize))) { in readAt() 155 if (offset + size <= mCachedOffset + mCachedSize) { in readAt() 180 int64_t newCachedSize = (int64_t)(mCachedOffset + mCachedSize) - newCachedOffset; in readAt() 199 mCachedSize = 0; in readAt() 211 mCachedSize = newCachedSize; in readAt() 214 (long long)mCachedOffset, mCachedSize, mCacheBufferSize); in readAt() [all …]
|
/frameworks/av/media/libstagefright/ |
D | CallbackDataSource.cpp | 121 : mSource(source), mCachedOffset(0), mCachedSize(0) { in TinyCacheSource() 132 && offset < (off64_t) (mCachedOffset + mCachedSize)) { in readAt() 133 if (offset + size <= mCachedOffset + mCachedSize) { in readAt() 142 const ssize_t remaining = mCachedOffset + mCachedSize - offset; in readAt() 161 mCachedSize = 0; in readAt() 167 mCachedSize = 0; in readAt() 172 mCachedSize = numRead; in readAt() 174 CHECK(mCachedSize <= kCacheSize && mCachedOffset >= 0); in readAt()
|
/frameworks/av/media/libdatasource/ |
D | MediaHTTP.cpp | 35 mCachedSize(0ll) { in MediaHTTP() 139 mCachedSize = mHTTPConnection->getSize(); in getSize() 143 *size = mCachedSize; in getSize()
|
/frameworks/base/media/jni/ |
D | android_media_MediaDataSource.cpp | 35 : mJavaObjStatus(OK), mSizeIsCached(false), mCachedSize(0), mMemory(NULL) { in JMediaDataSource() 119 *size = mCachedSize; in getSize() 140 mCachedSize = *size; in getSize()
|
D | android_media_MediaDataSource.h | 61 off64_t mCachedSize; variable
|
D | android_media_DataSourceCallback.h | 57 off64_t mCachedSize; variable
|
/frameworks/av/media/libdatasource/include/datasource/ |
D | MediaHTTP.h | 66 off64_t mCachedSize; member
|
/frameworks/av/media/libstagefright/include/ |
D | CallbackDataSource.h | 85 size_t mCachedSize; variable
|
/frameworks/av/media/extractors/mp4/ |
D | MPEG4Extractor.cpp | 227 size_t mCachedSize; member in android::CachedRangedDataSource 241 mCachedSize(0), in CachedRangedDataSource() 259 mCachedSize = 0; in clearCache() 265 if (isInRange(mCachedOffset, mCachedSize, offset, size)) { in readAt() 295 mCachedSize = size; in setCachedRange() 297 ssize_t err = mSource->readAt(mCachedOffset, mCache, mCachedSize); in setCachedRange()
|