Home
last modified time | relevance | path

Searched refs:mCachedSize (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/libstagefright/
DCallbackDataSource.cpp122 : mSource(source), mCachedOffset(0), mCachedSize(0) { in TinyCacheSource()
133 && offset < (off64_t) (mCachedOffset + mCachedSize)) { in readAt()
134 if (offset + size <= mCachedOffset + mCachedSize) { in readAt()
143 const ssize_t remaining = mCachedOffset + mCachedSize - offset; in readAt()
162 mCachedSize = 0; in readAt()
168 mCachedSize = 0; in readAt()
173 mCachedSize = numRead; in readAt()
175 CHECK(mCachedSize <= kCacheSize && mCachedOffset >= 0); in readAt()
/frameworks/av/media/libheif/
DHeifDecoderImpl.cpp71 mCachedOffset(0), mCachedSize(0), mCacheBufferSize(0) {} in HeifDataSource()
105 size_t mCachedSize; member in android::HeifDataSource
134 mCachedSize = 0; in readAt()
139 mCachedSize = 0; in readAt()
148 offset >= (off64_t)(mCachedOffset + mCachedSize))) { in readAt()
172 if (offset + size <= mCachedOffset + mCachedSize) { in readAt()
197 int64_t newCachedSize = (int64_t)(mCachedOffset + mCachedSize) - newCachedOffset; in readAt()
216 mCachedSize = 0; in readAt()
228 mCachedSize = newCachedSize; in readAt()
231 (long long)mCachedOffset, mCachedSize, mCacheBufferSize); in readAt()
[all …]
/frameworks/av/media/libdatasource/
DMediaHTTP.cpp35 mCachedSize(0ll) { in MediaHTTP()
139 mCachedSize = mHTTPConnection->getSize(); in getSize()
143 *size = mCachedSize; in getSize()
/frameworks/base/media/jni/
Dandroid_media_MediaDataSource.cpp35 : mJavaObjStatus(OK), mSizeIsCached(false), mCachedSize(0), mMemory(NULL) { in JMediaDataSource()
120 *size = mCachedSize; in getSize()
141 mCachedSize = *size; in getSize()
Dandroid_media_MediaDataSource.h61 off64_t mCachedSize; variable
/frameworks/av/media/libdatasource/include/datasource/
DMediaHTTP.h66 off64_t mCachedSize; member
/frameworks/av/media/libstagefright/include/
DCallbackDataSource.h85 size_t mCachedSize; variable
/frameworks/av/media/extractors/mp4/
DMPEG4Extractor.cpp240 size_t mCachedSize; member in android::CachedRangedDataSource
254 mCachedSize(0), in CachedRangedDataSource()
272 mCachedSize = 0; in clearCache()
278 if (isInRange(mCachedOffset, mCachedSize, offset, size)) { in readAt()
308 mCachedSize = size; in setCachedRange()
310 ssize_t err = mSource->readAt(mCachedOffset, mCache, mCachedSize); in setCachedRange()