Home
last modified time | relevance | path

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

/external/exoplayer/tree/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/
DEventSampleStreamTest.java68 EventSampleStream sampleStream = new EventSampleStream(eventStream, FORMAT, false); in readDataReturnFormatForFirstRead() local
70 int result = readData(sampleStream); in readDataReturnFormatForFirstRead()
83 EventSampleStream sampleStream = new EventSampleStream(eventStream, FORMAT, false); in readDataOutOfBoundReturnEndOfStreamAfterFormatForNonDynamicEventSampleStream() local
85 readData(sampleStream); in readDataOutOfBoundReturnEndOfStreamAfterFormatForNonDynamicEventSampleStream()
87 int result = readData(sampleStream); in readDataOutOfBoundReturnEndOfStreamAfterFormatForNonDynamicEventSampleStream()
100 EventSampleStream sampleStream = new EventSampleStream(eventStream, FORMAT, true); in readDataOutOfBoundReturnEndOfStreamAfterFormatForDynamicEventSampleStream() local
102 readData(sampleStream); in readDataOutOfBoundReturnEndOfStreamAfterFormatForDynamicEventSampleStream()
104 int result = readData(sampleStream); in readDataOutOfBoundReturnEndOfStreamAfterFormatForDynamicEventSampleStream()
118 EventSampleStream sampleStream = new EventSampleStream(eventStream, FORMAT, false); in readDataReturnDataAfterFormat() local
120 readData(sampleStream); in readDataReturnDataAfterFormat()
[all …]
/external/exoplayer/tree/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/
DSsMediaPeriod.java91 for (ChunkSampleStream<SsChunkSource> sampleStream : sampleStreams) { in updateManifest()
92 sampleStream.getChunkSource().updateManifest(manifest); in updateManifest()
98 for (ChunkSampleStream<SsChunkSource> sampleStream : sampleStreams) { in release()
99 sampleStream.release(); in release()
172 for (ChunkSampleStream<SsChunkSource> sampleStream : sampleStreams) { in discardBuffer()
173 sampleStream.discardBuffer(positionUs, toKeyframe); in discardBuffer()
213 for (ChunkSampleStream<SsChunkSource> sampleStream : sampleStreams) { in seekToUs()
214 sampleStream.seekToUs(positionUs); in seekToUs()
221 for (ChunkSampleStream<SsChunkSource> sampleStream : sampleStreams) { in getAdjustedSeekPositionUs()
222 if (sampleStream.primaryTrackType == C.TRACK_TYPE_VIDEO) { in getAdjustedSeekPositionUs()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DMergingMediaPeriod.java328 TimeOffsetSampleStream sampleStream = (TimeOffsetSampleStream) streams[i]; in selectTracks() local
329 childStreams[i] = sampleStream != null ? sampleStream.getChildStream() : null; in selectTracks()
418 private final SampleStream sampleStream; field in MergingMediaPeriod.TimeOffsetSampleStream
421 public TimeOffsetSampleStream(SampleStream sampleStream, long timeOffsetUs) { in TimeOffsetSampleStream() argument
422 this.sampleStream = sampleStream; in TimeOffsetSampleStream()
427 return sampleStream; in getChildStream()
432 return sampleStream.isReady(); in isReady()
437 sampleStream.maybeThrowError(); in maybeThrowError()
443 int readResult = sampleStream.readData(formatHolder, buffer, formatRequired); in readData()
452 return sampleStream.skipData(positionUs - timeOffsetUs); in skipData()
DClippingMediaPeriod.java177 for (@Nullable ClippingSampleStream sampleStream : sampleStreams) { in seekToUs()
178 if (sampleStream != null) { in seekToUs()
179 sampleStream.clearSentEos(); in seekToUs()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeAdaptiveMediaPeriod.java72 for (ChunkSampleStream<FakeChunkSource> sampleStream : sampleStreams) { in release()
73 sampleStream.release(); in release()
109 for (ChunkSampleStream<FakeChunkSource> sampleStream : sampleStreams) { in discardBuffer()
110 sampleStream.discardBuffer(positionUs, toKeyframe); in discardBuffer()
163 protected void seekSampleStream(SampleStream sampleStream, long positionUs) { in seekSampleStream() argument
164 ((ChunkSampleStream<FakeChunkSource>) sampleStream).seekToUs(positionUs); in seekSampleStream()
DFakeMediaPeriod.java214 for (SampleStream sampleStream : sampleStreams) { in seekToUs()
215 seekSampleStream(sampleStream, seekPositionUs); in seekToUs()
266 protected void seekSampleStream(SampleStream sampleStream, long positionUs) { in seekSampleStream() argument
268 ((FakeSampleStream) sampleStream) in seekSampleStream()
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/
DDashMediaPeriod.java151 for (ChunkSampleStream<DashChunkSource> sampleStream : sampleStreams) { in updateManifest()
152 sampleStream.getChunkSource().updateManifest(manifest, periodIndex); in updateManifest()
172 for (ChunkSampleStream<DashChunkSource> sampleStream : sampleStreams) { in release()
173 sampleStream.release(this); in release()
264 for (SampleStream sampleStream : streams) { in selectTracks()
265 if (sampleStream instanceof ChunkSampleStream) { in selectTracks()
268 (ChunkSampleStream<DashChunkSource>) sampleStream; in selectTracks()
270 } else if (sampleStream instanceof EventSampleStream) { in selectTracks()
271 eventSampleStreamList.add((EventSampleStream) sampleStream); in selectTracks()
286 for (ChunkSampleStream<DashChunkSource> sampleStream : sampleStreams) { in discardBuffer()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DExoPlayerImplInternal.java1477 SampleStream sampleStream = playingPeriodHolder.sampleStreams[i];
1479 if (sampleStream != renderer.getStream()) {
1723 SampleStream sampleStream = readingPeriodHolder.sampleStreams[i];
1726 if (sampleStream != null
1727 && renderer.getStream() == sampleStream
1876 SampleStream sampleStream = readingPeriodHolder.sampleStreams[i];
1877 if (renderer.getStream() != sampleStream
1878 || (sampleStream != null && !renderer.hasReadStreamToEnd())) {
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/
DHlsSampleStreamWrapper.java1090 for (HlsSampleStream sampleStream : hlsSampleStreams) {
1091 sampleStream.bindSampleQueue();