Searched refs:mCachedSize (Results 1 – 10 of 10) sorted by relevance
/frameworks/av/media/libstagefright/ |
D | CallbackDataSource.cpp | 125 : mSource(source), mCachedOffset(0), mCachedSize(0) { in TinyCacheSource() 136 && offset < (off64_t) (mCachedOffset + mCachedSize)) { in readAt() 137 if (offset + size <= mCachedOffset + mCachedSize) { in readAt() 146 const ssize_t remaining = mCachedOffset + mCachedSize - offset; in readAt() 165 mCachedSize = 0; in readAt() 171 mCachedSize = 0; in readAt() 176 mCachedSize = numRead; in readAt() 178 CHECK(mCachedSize <= kCacheSize && mCachedOffset >= 0); in readAt() 197 mCachedSize = 0; in DrmInitialization()
|
/frameworks/av/media/libheif/ |
D | HeifDecoderImpl.cpp | 54 mCachedOffset(0), mCachedSize(0), mCacheBufferSize(0) {} in HeifDataSource() 91 size_t mCachedSize; member in android::HeifDataSource 120 mCachedSize = 0; in readAt() 125 mCachedSize = 0; in readAt() 134 offset >= (off64_t)(mCachedOffset + mCachedSize))) { in readAt() 158 if (offset + size <= mCachedOffset + mCachedSize) { in readAt() 183 int64_t newCachedSize = (int64_t)(mCachedOffset + mCachedSize) - newCachedOffset; in readAt() 202 mCachedSize = 0; in readAt() 214 mCachedSize = newCachedSize; in readAt() 217 (long long)mCachedOffset, mCachedSize, mCacheBufferSize); in readAt() [all …]
|
/frameworks/av/media/libstagefright/http/ |
D | ClearMediaHTTP.cpp | 35 mCachedSize(0ll) { in ClearMediaHTTP() 139 mCachedSize = mHTTPConnection->getSize(); in getSize() 143 *size = mCachedSize; in getSize()
|
/frameworks/base/media/jni/ |
D | android_media_DataSourceCallback.cpp | 39 mCachedSize(0) { in JDataSourceCallback() 116 *size = mCachedSize; in getSize() 137 mCachedSize = *size; in getSize()
|
D | android_media_MediaDataSource.cpp | 36 : mJavaObjStatus(OK), mSizeIsCached(false), mCachedSize(0), mMemory(NULL) { in JMediaDataSource() 120 *size = mCachedSize; in getSize() 141 mCachedSize = *size; in getSize()
|
D | android_media_DataSourceCallback.h | 57 off64_t mCachedSize; variable
|
D | android_media_MediaDataSource.h | 62 off64_t mCachedSize; variable
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | ClearMediaHTTP.h | 66 off64_t mCachedSize; member
|
/frameworks/av/media/libstagefright/include/ |
D | CallbackDataSource.h | 87 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()
|