Lines Matching refs:mExtractorTrackIndex

78     if (mEnforceSequentialAccess && trackIndex == mExtractorTrackIndex) {  in advanceTrack_l()
80 SampleCursor& cursor = mTrackCursors[mExtractorTrackIndex]; in advanceTrack_l()
82 if (mExtractorTrackIndex != trackIndex) { in advanceTrack_l()
83 mTrackSignals[mExtractorTrackIndex].notify_all(); in advanceTrack_l()
96 if (mTrackCursors[mExtractorTrackIndex].current.isSet && in advanceExtractor_l()
97 mTrackCursors[mExtractorTrackIndex].current.index == mExtractorSampleIndex) { in advanceExtractor_l()
98 mTrackCursors[mExtractorTrackIndex].next.reset(); in advanceExtractor_l()
113 mExtractorTrackIndex = AMediaExtractor_getSampleTrackIndex(mExtractor); in advanceExtractor_l()
115 SampleCursor& cursor = mTrackCursors[mExtractorTrackIndex]; in advanceExtractor_l()
145 mExtractorTrackIndex = AMediaExtractor_getSampleTrackIndex(mExtractor); in seekExtractorBackwards_l()
148 while (sampleTimeUs != targetTimeUs || mExtractorTrackIndex != targetTrackIndex) { in seekExtractorBackwards_l()
152 mExtractorTrackIndex = AMediaExtractor_getSampleTrackIndex(mExtractor); in seekExtractorBackwards_l()
182 while (trackIndex != mExtractorTrackIndex && !mEosReached && mEnforceSequentialAccess) { in waitForTrack_l()
199 if (mExtractorTrackIndex < 0) { in primeExtractorForTrack_l()
200 mExtractorTrackIndex = AMediaExtractor_getSampleTrackIndex(mExtractor); in primeExtractorForTrack_l()
201 if (mExtractorTrackIndex < 0) { in primeExtractorForTrack_l()
204 mTrackCursors[mExtractorTrackIndex].current.set(mExtractorSampleIndex, in primeExtractorForTrack_l()
224 } else if (mExtractorTrackIndex >= 0) { in selectTrack()
246 } else if (mExtractorTrackIndex >= 0) { in unselectTrack()
278 } else if (!mEnforceSequentialAccess && enforce && mExtractorTrackIndex >= 0) { in setEnforceSequentialAccess()
308 while (!(mTrackCursors[mExtractorTrackIndex].current.isSet && in setEnforceSequentialAccess()
309 mTrackCursors[mExtractorTrackIndex].current.index == mExtractorSampleIndex)) { in setEnforceSequentialAccess()
330 } else if (mExtractorTrackIndex >= 0) { in getEstimatedBitrateForTrack()