Searched refs:sampleStreams (Results 1 – 9 of 9) sorted by relevance
43 private @NullableType ClippingSampleStream[] sampleStreams; field in ClippingMediaPeriod65 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()
134 private final ArrayList<SampleStream> sampleStreams; field in SilenceMediaSource.SilenceMediaPeriod138 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()
60 private final ArrayList<SampleStreamImpl> sampleStreams; field in SingleSampleMediaPeriod91 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()
59 private ChunkSampleStream<SsChunkSource>[] sampleStreams; field in SsMediaPeriod83 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 …]
46 public final @NullableType SampleStream[] sampleStreams; field in MediaPeriodHolder100 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 …]
819 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],
51 private ChunkSampleStream<FakeChunkSource>[] sampleStreams; field in FakeAdaptiveMediaPeriod66 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()
51 private final List<SampleStream> sampleStreams; field in FakeMediaPeriod84 sampleStreams = new ArrayList<>(); in FakeMediaPeriod()160 sampleStreams.clear(); in selectTracks()175 sampleStreams.add(streams[i]); in selectTracks()214 for (SampleStream sampleStream : sampleStreams) { in seekToUs()
91 private ChunkSampleStream<DashChunkSource>[] sampleStreams; field in DashMediaPeriod126 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 …]