Home
last modified time | relevance | path

Searched refs:trackGroupIndex (Results 1 – 10 of 10) sorted by relevance

/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/
DHlsSampleStream.java30 private final int trackGroupIndex; field in HlsSampleStream
34 public HlsSampleStream(HlsSampleStreamWrapper sampleStreamWrapper, int trackGroupIndex) { in HlsSampleStream() argument
36 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()
DHlsSampleStreamWrapper.java275 public int bindSampleQueueToSampleStream(int trackGroupIndex) { in bindSampleQueueToSampleStream() argument
279 int sampleQueueIndex = trackGroupToSampleQueueIndex[trackGroupIndex]; in bindSampleQueueToSampleStream()
281 return optionalTrackGroups.contains(trackGroups.get(trackGroupIndex)) in bindSampleQueueToSampleStream()
293 public void unbindSampleQueue(int trackGroupIndex) { in unbindSampleQueue() argument
296 int sampleQueueIndex = trackGroupToSampleQueueIndex[trackGroupIndex]; in unbindSampleQueue()
354 int trackGroupIndex = trackGroups.indexOf(selection.getTrackGroup()); in selectTracks() local
355 if (trackGroupIndex == primaryTrackGroupIndex) { in selectTracks()
361 streams[i] = new HlsSampleStream(this, trackGroupIndex); in selectTracks()
367 SampleQueue sampleQueue = sampleQueues[trackGroupToSampleQueueIndex[trackGroupIndex]]; in selectTracks()
DHlsChunkSource.java396 int trackGroupIndex = C.INDEX_UNSET; in onPlaylistError() local
399 trackGroupIndex = i; in onPlaylistError()
403 if (trackGroupIndex == C.INDEX_UNSET) { in onPlaylistError()
406 int trackSelectionIndex = trackSelection.indexOf(trackGroupIndex); in onPlaylistError()
DHlsMediaPeriod.java425 int trackGroupIndex = 0;
429 trackGroupArray[trackGroupIndex++] = sampleStreamWrapper.getTrackGroups().get(j);
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeAdaptiveDataSet.java76 private final int trackGroupIndex; field in FakeAdaptiveDataSet.Iterator
85 public Iterator(FakeAdaptiveDataSet dataSet, int trackGroupIndex, int chunkIndex) { in Iterator() argument
88 this.trackGroupIndex = trackGroupIndex; in Iterator()
94 String uri = dataSet.getUri(trackGroupIndex); in getDataSpec()
DFakeChunkSource.java118 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);
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/
DDashMediaPeriod.java212 int trackGroupIndex = trackGroups.indexOf(trackSelection.getTrackGroup()); in getStreamKeys() local
213 TrackGroupInfo trackGroupInfo = trackGroupInfos[trackGroupIndex]; in getStreamKeys()
427 int trackGroupIndex = streamIndexToTrackGroupIndex[i]; in selectNewStreams() local
428 TrackGroupInfo trackGroupInfo = trackGroupInfos[trackGroupIndex]; in selectNewStreams()
448 int trackGroupIndex = streamIndexToTrackGroupIndex[i]; in selectNewStreams() local
449 TrackGroupInfo trackGroupInfo = trackGroupInfos[trackGroupIndex]; in selectNewStreams()
473 int trackGroupIndex = streamIndexToTrackGroupIndex[i]; in getPrimaryStreamIndex() local
474 if (trackGroupIndex == primaryTrackGroupIndex in getPrimaryStreamIndex()
475 && trackGroupInfos[trackGroupIndex].trackGroupCategory in getPrimaryStreamIndex()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DMergingMediaPeriod.java269 int trackGroupIndex = 0; in onPrepared() local
274 trackGroupArray[trackGroupIndex++] = periodTrackGroups.get(j); in onPrepared()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/trackselection/
DDefaultTrackSelectorTest.java1452 int trackGroupIndex = -1; in assertFixedSelection() local
1456 assertThat(trackGroupIndex).isEqualTo(-1); in assertFixedSelection()
1458 trackGroupIndex = i; in assertFixedSelection()
1462 assertThat(trackGroupIndex).isNotEqualTo(-1); in assertFixedSelection()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/trackselection/
DDefaultTrackSelector.java2283 int trackGroupIndex = trackGroups.indexOf(selection.getTrackGroup());
2286 int trackFormatSupport = formatSupports[trackGroupIndex][selection.getIndexInTrackGroup(i)];