Searched refs:trackGroupIndex (Results 1 – 10 of 10) sorted by relevance
30 private final int trackGroupIndex; field in HlsSampleStream34 public HlsSampleStream(HlsSampleStreamWrapper sampleStreamWrapper, int trackGroupIndex) { in HlsSampleStream() argument36 this.trackGroupIndex = trackGroupIndex; in HlsSampleStream()42 sampleQueueIndex = sampleStreamWrapper.bindSampleQueueToSampleStream(trackGroupIndex); in bindSampleQueue()47 sampleStreamWrapper.unbindSampleQueue(trackGroupIndex); in unbindSampleQueue()64 sampleStreamWrapper.getTrackGroups().get(trackGroupIndex).getFormat(0).sampleMimeType); in maybeThrowError()
275 public int bindSampleQueueToSampleStream(int trackGroupIndex) { in bindSampleQueueToSampleStream() argument279 int sampleQueueIndex = trackGroupToSampleQueueIndex[trackGroupIndex]; in bindSampleQueueToSampleStream()281 return optionalTrackGroups.contains(trackGroups.get(trackGroupIndex)) in bindSampleQueueToSampleStream()293 public void unbindSampleQueue(int trackGroupIndex) { in unbindSampleQueue() argument296 int sampleQueueIndex = trackGroupToSampleQueueIndex[trackGroupIndex]; in unbindSampleQueue()354 int trackGroupIndex = trackGroups.indexOf(selection.getTrackGroup()); in selectTracks() local355 if (trackGroupIndex == primaryTrackGroupIndex) { in selectTracks()361 streams[i] = new HlsSampleStream(this, trackGroupIndex); in selectTracks()367 SampleQueue sampleQueue = sampleQueues[trackGroupToSampleQueueIndex[trackGroupIndex]]; in selectTracks()
396 int trackGroupIndex = C.INDEX_UNSET; in onPlaylistError() local399 trackGroupIndex = i; in onPlaylistError()403 if (trackGroupIndex == C.INDEX_UNSET) { in onPlaylistError()406 int trackSelectionIndex = trackSelection.indexOf(trackGroupIndex); in onPlaylistError()
425 int trackGroupIndex = 0;429 trackGroupArray[trackGroupIndex++] = sampleStreamWrapper.getTrackGroups().get(j);
76 private final int trackGroupIndex; field in FakeAdaptiveDataSet.Iterator85 public Iterator(FakeAdaptiveDataSet dataSet, int trackGroupIndex, int chunkIndex) { in Iterator() argument88 this.trackGroupIndex = trackGroupIndex; in Iterator()94 String uri = dataSet.getUri(trackGroupIndex); in getDataSpec()
118 int trackGroupIndex = trackSelection.getIndexInTrackGroup(i);119 chunkIterators[i] = new FakeAdaptiveDataSet.Iterator(dataSet, trackGroupIndex, chunkIndex);129 int trackGroupIndex = trackSelection.getIndexInTrackGroup(trackSelection.getSelectedIndex());130 String uri = dataSet.getUri(trackGroupIndex);
212 int trackGroupIndex = trackGroups.indexOf(trackSelection.getTrackGroup()); in getStreamKeys() local213 TrackGroupInfo trackGroupInfo = trackGroupInfos[trackGroupIndex]; in getStreamKeys()427 int trackGroupIndex = streamIndexToTrackGroupIndex[i]; in selectNewStreams() local428 TrackGroupInfo trackGroupInfo = trackGroupInfos[trackGroupIndex]; in selectNewStreams()448 int trackGroupIndex = streamIndexToTrackGroupIndex[i]; in selectNewStreams() local449 TrackGroupInfo trackGroupInfo = trackGroupInfos[trackGroupIndex]; in selectNewStreams()473 int trackGroupIndex = streamIndexToTrackGroupIndex[i]; in getPrimaryStreamIndex() local474 if (trackGroupIndex == primaryTrackGroupIndex in getPrimaryStreamIndex()475 && trackGroupInfos[trackGroupIndex].trackGroupCategory in getPrimaryStreamIndex()
269 int trackGroupIndex = 0; in onPrepared() local274 trackGroupArray[trackGroupIndex++] = periodTrackGroups.get(j); in onPrepared()
1452 int trackGroupIndex = -1; in assertFixedSelection() local1456 assertThat(trackGroupIndex).isEqualTo(-1); in assertFixedSelection()1458 trackGroupIndex = i; in assertFixedSelection()1462 assertThat(trackGroupIndex).isNotEqualTo(-1); in assertFixedSelection()
2283 int trackGroupIndex = trackGroups.indexOf(selection.getTrackGroup());2286 int trackFormatSupport = formatSupports[trackGroupIndex][selection.getIndexInTrackGroup(i)];