Searched refs:mCurrentSampleIndex (Results 1 – 4 of 4) sorted by relevance
40 return mCurrentSampleIndex + mSamplesPerChunk - in getLastSampleIndexInChunk()41 ((mCurrentSampleIndex - mFirstChunkSampleIndex) % mSamplesPerChunk) - 1; in getLastSampleIndexInChunk()70 uint32_t mCurrentSampleIndex; member
184 if (mCurrentSampleIndex >= mSampleCount) { in getSampleInfoForTrack()191 *info = mSamples[mCurrentSampleIndex % mSamples.size()].second; in getSampleInfoForTrack()192 info->presentationTimeUs = mFirstPtsUs + mCurrentSampleIndex * mPtsDiff; in getSampleInfoForTrack()200 if (mCurrentSampleIndex >= mSampleCount) return AMEDIA_ERROR_END_OF_STREAM; in readSampleDataForTrack()202 auto& p = mSamples[mCurrentSampleIndex % mSamples.size()]; in readSampleDataForTrack()213 ++mCurrentSampleIndex; in advanceTrack()224 int32_t mCurrentSampleIndex = 0; member in MockSampleReader
68 if (mInitialized && mCurrentSampleIndex == sampleIndex) { in seekTo()154 mCurrentSampleIndex = sampleIndex; in seekTo()
121 uint32_t mCurrentSampleIndex; member in android::MPEG4Source5068 mCurrentSampleIndex(0), in MPEG4Source()5295 mCurrentSampleIndex = 0; in stop()6148 err = mItemTable->findImageItem(imageIndex, &mCurrentSampleIndex); in read()6150 err = mItemTable->findThumbnailItem(imageIndex, &mCurrentSampleIndex); in read()6263 mCurrentSampleIndex = syncSampleIndex; in read()6285 err = mSampleTable->getMetaDataForSample(mCurrentSampleIndex, &offset, &size, in read()6299 &mCurrentSampleIndex : NULL, &offset, &size); in read()6332 if (lastSampleIndexInChunk < mCurrentSampleIndex) { in read()6337 uint32_t samplesToRead = lastSampleIndexInChunk - mCurrentSampleIndex + 1; in read()[all …]