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
121 uint32_t mCurrentSampleIndex; member in android::MPEG4Source5064 mCurrentSampleIndex(0), in MPEG4Source()5291 mCurrentSampleIndex = 0; in stop()6408 ++mCurrentSampleIndex; in read()6464 ++mCurrentSampleIndex; in read()6574 ++mCurrentSampleIndex; in read()6639 mCurrentSampleIndex = 0; in fragmentedRead()6650 mCurrentSampleIndex = 0; in fragmentedRead()6687 mCurrentSampleIndex = 0; in fragmentedRead()6803 ++mCurrentSampleIndex; in fragmentedRead()[all …]
68 if (mInitialized && mCurrentSampleIndex == sampleIndex) { in seekTo()154 mCurrentSampleIndex = sampleIndex; in seekTo()
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