• Home
  • Raw
  • Download

Lines Matching refs:trackIndex

114     AMediaFormat* getTrackFormat(int trackIndex) override {  in getTrackFormat()  argument
115 return AMediaExtractor_getTrackFormat(mExtractor, trackIndex); in getTrackFormat()
118 media_status_t selectTrack(int trackIndex) override { in selectTrack() argument
120 mSelectedTrack = trackIndex; in selectTrack()
122 media_status_t status = AMediaExtractor_selectTrack(mExtractor, trackIndex); in selectTrack()
126 AMediaFormat* format = getTrackFormat(trackIndex); in selectTrack()
170 media_status_t unselectTrack(int trackIndex __unused) override { in unselectTrack()
176 media_status_t getEstimatedBitrateForTrack(int trackIndex __unused, in getEstimatedBitrateForTrack()
181 media_status_t getSampleInfoForTrack(int trackIndex, MediaSampleInfo* info) override { in getSampleInfoForTrack() argument
182 if (trackIndex != mSelectedTrack) return AMEDIA_ERROR_INVALID_PARAMETER; in getSampleInfoForTrack()
196 media_status_t readSampleDataForTrack(int trackIndex, uint8_t* buffer, in readSampleDataForTrack() argument
198 if (trackIndex != mSelectedTrack) return AMEDIA_ERROR_INVALID_PARAMETER; in readSampleDataForTrack()
207 advanceTrack(trackIndex); in readSampleDataForTrack()
211 void advanceTrack(int trackIndex) { in advanceTrack() argument
212 if (trackIndex != mSelectedTrack) return; in advanceTrack()
307 for (int trackIndex = 0; trackIndex < sampleReader->getTrackCount(); ++trackIndex) { in ConfigureSampleReader() local
308 AMediaFormat* trackFormat = sampleReader->getTrackFormat(trackIndex); in ConfigureSampleReader()
315 srcTrackIndex = trackIndex; in ConfigureSampleReader()