Home
last modified time | relevance | path

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

/frameworks/av/media/libheif/
DHeifDecoderImpl.cpp178 off64_t newCachedOffset = offset - (off64_t)(newCacheBufferSize / 2); in readAt() local
179 if (newCachedOffset < mCachedOffset) { in readAt()
180 newCachedOffset = mCachedOffset; in readAt()
183 int64_t newCachedSize = (int64_t)(mCachedOffset + mCachedSize) - newCachedOffset; in readAt()
188 memcpy(dst, mCache.get() + newCachedOffset - mCachedOffset, newCachedSize); in readAt()
201 mCachedOffset = newCachedOffset; in readAt()
213 mCachedOffset = newCachedOffset; in readAt()