Home
last modified time | relevance | path

Searched refs:sampleStreams (Results 1 – 9 of 9) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DClippingMediaPeriod.java43 private @NullableType ClippingSampleStream[] sampleStreams; field in ClippingMediaPeriod
65 sampleStreams = new ClippingSampleStream[0]; in ClippingMediaPeriod()
106 sampleStreams = new ClippingSampleStream[streams.length]; in selectTracks()
109 sampleStreams[i] = (ClippingSampleStream) streams[i]; in selectTracks()
110 childStreams[i] = sampleStreams[i] != null ? sampleStreams[i].childStream : null; in selectTracks()
127 sampleStreams[i] = null; in selectTracks()
128 } else if (sampleStreams[i] == null || sampleStreams[i].childStream != childStreams[i]) { in selectTracks()
129 sampleStreams[i] = new ClippingSampleStream(childStreams[i]); in selectTracks()
131 streams[i] = sampleStreams[i]; in selectTracks()
177 for (@Nullable ClippingSampleStream sampleStream : sampleStreams) { in seekToUs()
DSilenceMediaSource.java134 private final ArrayList<SampleStream> sampleStreams; field in SilenceMediaSource.SilenceMediaPeriod
138 sampleStreams = new ArrayList<>(); in SilenceMediaPeriod()
164 sampleStreams.remove(streams[i]); in selectTracks()
170 sampleStreams.add(stream); in selectTracks()
189 for (int i = 0; i < sampleStreams.size(); i++) { in seekToUs()
190 ((SilenceSampleStream) sampleStreams.get(i)).seekTo(positionUs); in seekToUs()
DSingleSampleMediaPeriod.java60 private final ArrayList<SampleStreamImpl> sampleStreams; field in SingleSampleMediaPeriod
91 sampleStreams = new ArrayList<>(); in SingleSampleMediaPeriod()
125 sampleStreams.remove(streams[i]); in selectTracks()
130 sampleStreams.add(stream); in selectTracks()
200 for (int i = 0; i < sampleStreams.size(); i++) { in seekToUs()
201 sampleStreams.get(i).reset(); in seekToUs()
/external/exoplayer/tree/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/
DSsMediaPeriod.java59 private ChunkSampleStream<SsChunkSource>[] sampleStreams; field in SsMediaPeriod
83 sampleStreams = newSampleStreamArray(0); in SsMediaPeriod()
85 compositeSequenceableLoaderFactory.createCompositeSequenceableLoader(sampleStreams); in SsMediaPeriod()
91 for (ChunkSampleStream<SsChunkSource> sampleStream : sampleStreams) { in updateManifest()
98 for (ChunkSampleStream<SsChunkSource> sampleStream : sampleStreams) { in release()
150 sampleStreams = newSampleStreamArray(sampleStreamsList.size()); in selectTracks()
151 sampleStreamsList.toArray(sampleStreams); in selectTracks()
153 compositeSequenceableLoaderFactory.createCompositeSequenceableLoader(sampleStreams); in selectTracks()
172 for (ChunkSampleStream<SsChunkSource> sampleStream : sampleStreams) { in discardBuffer()
213 for (ChunkSampleStream<SsChunkSource> sampleStream : sampleStreams) { in seekToUs()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DMediaPeriodHolder.java46 public final @NullableType SampleStream[] sampleStreams; field in MediaPeriodHolder
100 sampleStreams = new SampleStream[rendererCapabilities.length]; in MediaPeriodHolder()
285 disassociateNoSampleRenderersWithEmptySampleStream(sampleStreams); in applyTrackSelection()
295 sampleStreams, in applyTrackSelection()
298 associateNoSampleRenderersWithEmptySampleStream(sampleStreams); in applyTrackSelection()
302 for (int i = 0; i < sampleStreams.length; i++) { in applyTrackSelection()
303 if (sampleStreams[i] != null) { in applyTrackSelection()
387 @NullableType SampleStream[] sampleStreams) { in disassociateNoSampleRenderersWithEmptySampleStream()
390 sampleStreams[i] = null; in disassociateNoSampleRenderersWithEmptySampleStream()
400 @NullableType SampleStream[] sampleStreams) { in associateNoSampleRenderersWithEmptySampleStream()
[all …]
DExoPlayerImplInternal.java819 boolean isReadingAhead = playingPeriodHolder.sampleStreams[i] != renderer.getStream(); in doSomeWork()
868 && renderers[i].getStream() == playingPeriodHolder.sampleStreams[i]) { in doSomeWork()
1477 SampleStream sampleStream = playingPeriodHolder.sampleStreams[i];
1653 || renderers[i].getStream() != readingHolder.sampleStreams[i]) {
1723 SampleStream sampleStream = readingPeriodHolder.sampleStreams[i];
1799 renderer.getStream() != readingPeriodHolder.sampleStreams[i];
1809 formats, readingPeriodHolder.sampleStreams[i], readingPeriodHolder.getRendererOffset());
1876 SampleStream sampleStream = readingPeriodHolder.sampleStreams[i];
2062 periodHolder.sampleStreams[rendererIndex],
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeAdaptiveMediaPeriod.java51 private ChunkSampleStream<FakeChunkSource>[] sampleStreams; field in FakeAdaptiveMediaPeriod
66 this.sampleStreams = newSampleStreamArray(0); in FakeAdaptiveMediaPeriod()
72 for (ChunkSampleStream<FakeChunkSource> sampleStream : sampleStreams) { in release()
100 sampleStreams = newSampleStreamArray(validStreams.size()); in selectTracks()
101 validStreams.toArray(sampleStreams); in selectTracks()
102 this.sequenceableLoader = new CompositeSequenceableLoader(sampleStreams); in selectTracks()
109 for (ChunkSampleStream<FakeChunkSource> sampleStream : sampleStreams) { in discardBuffer()
DFakeMediaPeriod.java51 private final List<SampleStream> sampleStreams; field in FakeMediaPeriod
84 sampleStreams = new ArrayList<>(); in FakeMediaPeriod()
160 sampleStreams.clear(); in selectTracks()
175 sampleStreams.add(streams[i]); in selectTracks()
214 for (SampleStream sampleStream : sampleStreams) { in seekToUs()
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/
DDashMediaPeriod.java91 private ChunkSampleStream<DashChunkSource>[] sampleStreams; field in DashMediaPeriod
126 sampleStreams = newSampleStreamArray(0); in DashMediaPeriod()
130 compositeSequenceableLoaderFactory.createCompositeSequenceableLoader(sampleStreams); in DashMediaPeriod()
150 if (sampleStreams != null) { in updateManifest()
151 for (ChunkSampleStream<DashChunkSource> sampleStream : sampleStreams) { in updateManifest()
172 for (ChunkSampleStream<DashChunkSource> sampleStream : sampleStreams) { in release()
274 sampleStreams = newSampleStreamArray(sampleStreamList.size()); in selectTracks()
275 sampleStreamList.toArray(sampleStreams); in selectTracks()
280 compositeSequenceableLoaderFactory.createCompositeSequenceableLoader(sampleStreams); in selectTracks()
286 for (ChunkSampleStream<DashChunkSource> sampleStream : sampleStreams) { in discardBuffer()
[all …]