/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/metadata/scte35/ |
D | TimeSignalCommand.java | 35 public final long playbackPositionUs; field in TimeSignalCommand 37 private TimeSignalCommand(long ptsTime, long playbackPositionUs) { in TimeSignalCommand() argument 39 this.playbackPositionUs = playbackPositionUs; in TimeSignalCommand() 45 long playbackPositionUs = timestampAdjuster.adjustTsTimestamp(ptsTime); in parseFromSection() local 46 return new TimeSignalCommand(ptsTime, playbackPositionUs); in parseFromSection() 75 dest.writeLong(playbackPositionUs); in writeToParcel()
|
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/ |
D | FakeRenderer.java | 52 private long playbackPositionUs; field in FakeRenderer 75 playbackPositionUs = positionUs; in onPositionReset() 87 playbackPositionUs = positionUs; in render() 133 return lastSamplePositionUs >= playbackPositionUs || hasPendingBuffer || isSourceReady(); in isReady() 165 protected boolean shouldProcessBuffer(long bufferTimeUs, long playbackPositionUs) { in shouldProcessBuffer() argument 166 return bufferTimeUs < playbackPositionUs + SOURCE_READAHEAD_US; in shouldProcessBuffer()
|
D | FakeChunkSource.java | 101 public int getPreferredQueueSize(long playbackPositionUs, List<? extends MediaChunk> queue) { 102 return trackSelection.evaluateQueueSize(playbackPositionUs, queue); 107 long playbackPositionUs, 111 long bufferedDurationUs = loadPositionUs - playbackPositionUs; 114 ? dataSet.getChunkIndexByPosition(playbackPositionUs) 122 playbackPositionUs, bufferedDurationUs, C.TIME_UNSET, queue, chunkIterators);
|
D | FakeVideoRenderer.java | 98 protected boolean shouldProcessBuffer(long bufferTimeUs, long playbackPositionUs) { in shouldProcessBuffer() argument 99 boolean shouldProcess = super.shouldProcessBuffer(bufferTimeUs, playbackPositionUs); in shouldProcessBuffer() 104 shouldProcess |= shouldRenderFirstFrame && playbackPositionUs >= streamOffsetUs; in shouldProcessBuffer()
|
D | FakeAudioRenderer.java | 64 protected boolean shouldProcessBuffer(long bufferTimeUs, long playbackPositionUs) { in shouldProcessBuffer() argument 65 boolean shouldProcess = super.shouldProcessBuffer(bufferTimeUs, playbackPositionUs); in shouldProcessBuffer()
|
D | FakeTrackSelection.java | 125 long playbackPositionUs, in updateSelectedTrack() argument 134 public int evaluateQueueSize(long playbackPositionUs, List<? extends MediaChunk> queue) { in evaluateQueueSize() argument
|
D | MediaPeriodAsserts.java | 253 long playbackPositionUs, in updateSelectedTrack() argument
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/ |
D | AudioTrackPositionTracker.java | 63 long playbackPositionUs); in onPositionFramesMismatch() argument 80 long playbackPositionUs); in onSystemTimeUsMismatch() argument 366 long playbackPositionUs = getPlaybackHeadPositionUs(); in maybeSampleSyncParams() local 367 if (playbackPositionUs == 0) { in maybeSampleSyncParams() 374 playheadOffsets[nextPlayheadOffsetIndex] = playbackPositionUs - systemTimeUs; in maybeSampleSyncParams() 392 maybePollAndCheckTimestamp(systemTimeUs, playbackPositionUs); in maybeSampleSyncParams() 396 private void maybePollAndCheckTimestamp(long systemTimeUs, long playbackPositionUs) { in maybePollAndCheckTimestamp() argument 410 playbackPositionUs); in maybePollAndCheckTimestamp() 412 } else if (Math.abs(framesToDurationUs(audioTimestampPositionFrames) - playbackPositionUs) in maybePollAndCheckTimestamp() 418 playbackPositionUs); in maybePollAndCheckTimestamp()
|
D | DefaultAudioSink.java | 1373 long playbackPositionUs) { in onPositionFramesMismatch() argument 1382 + playbackPositionUs in onPositionFramesMismatch() 1398 long playbackPositionUs) { in onSystemTimeUsMismatch() argument 1407 + playbackPositionUs in onSystemTimeUsMismatch()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/cea/ |
D | CeaDecoder.java | 44 private long playbackPositionUs; field in CeaDecoder 65 playbackPositionUs = positionUs; in setPositionUs() 104 && Util.castNonNull(queuedInputBuffers.peek()).timeUs <= playbackPositionUs) { in dequeueOutputBuffer() 151 playbackPositionUs = 0; in flush() 188 return playbackPositionUs; in getPositionUs()
|
/external/exoplayer/tree/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/ |
D | DefaultSsChunkSource.java | 181 public int getPreferredQueueSize(long playbackPositionUs, List<? extends MediaChunk> queue) { 185 return trackSelection.evaluateQueueSize(playbackPositionUs, queue); 190 long playbackPositionUs, 224 long bufferedDurationUs = loadPositionUs - playbackPositionUs; 225 long timeToLiveEdgeUs = resolveTimeToLiveEdgeUs(playbackPositionUs); 233 playbackPositionUs, bufferedDurationUs, timeToLiveEdgeUs, queue, chunkIterators); 306 private long resolveTimeToLiveEdgeUs(long playbackPositionUs) { 315 return lastChunkEndTimeUs - playbackPositionUs;
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/chunk/ |
D | ChunkSource.java | 59 int getPreferredQueueSize(long playbackPositionUs, List<? extends MediaChunk> queue); in getPreferredQueueSize() argument 79 long playbackPositionUs, in getNextChunk() argument
|
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/ |
D | HlsChunkSource.java | 232 long playbackPositionUs, in getNextChunk() argument 239 long bufferedDurationUs = loadPositionUs - playbackPositionUs; in getNextChunk() 240 long timeToLiveEdgeUs = resolveTimeToLiveEdgeUs(playbackPositionUs); in getNextChunk() 258 playbackPositionUs, bufferedDurationUs, timeToLiveEdgeUs, queue, mediaChunkIterators); in getNextChunk() 495 private long resolveTimeToLiveEdgeUs(long playbackPositionUs) { in resolveTimeToLiveEdgeUs() argument 498 ? liveEdgeInPeriodTimeUs - playbackPositionUs in resolveTimeToLiveEdgeUs() 558 long playbackPositionUs, in updateSelectedTrack() argument
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/trackselection/ |
D | TrackSelection.java | 227 long playbackPositionUs, in updateSelectedTrack() argument 251 int evaluateQueueSize(long playbackPositionUs, List<? extends MediaChunk> queue); in evaluateQueueSize() argument
|
D | AdaptiveTrackSelection.java | 428 long playbackPositionUs, in updateSelectedTrack() argument 488 public int evaluateQueueSize(long playbackPositionUs, List<? extends MediaChunk> queue) { in evaluateQueueSize() argument 503 lastChunk.startTimeUs - playbackPositionUs, playbackSpeed); in evaluateQueueSize() 516 long mediaDurationBeforeThisChunkUs = chunk.startTimeUs - playbackPositionUs; in evaluateQueueSize()
|
D | FixedTrackSelection.java | 93 long playbackPositionUs, in updateSelectedTrack() argument
|
D | RandomTrackSelection.java | 100 long playbackPositionUs, in updateSelectedTrack() argument
|
D | BaseTrackSelection.java | 150 public int evaluateQueueSize(long playbackPositionUs, List<? extends MediaChunk> queue) { in evaluateQueueSize() argument
|
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/ |
D | DefaultDashChunkSource.java | 240 public int getPreferredQueueSize(long playbackPositionUs, List<? extends MediaChunk> queue) { 244 return trackSelection.evaluateQueueSize(playbackPositionUs, queue); 249 long playbackPositionUs, 257 long bufferedDurationUs = loadPositionUs - playbackPositionUs; 258 long timeToLiveEdgeUs = resolveTimeToLiveEdgeUs(playbackPositionUs); 300 playbackPositionUs, bufferedDurationUs, timeToLiveEdgeUs, queue, chunkIterators); 477 private long resolveTimeToLiveEdgeUs(long playbackPositionUs) { 479 return resolveTimeToLiveEdgePossible ? liveEdgeTimeUs - playbackPositionUs : C.TIME_UNSET;
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/ |
D | LoadControl.java | 103 long playbackPositionUs, long bufferedDurationUs, float playbackSpeed); in shouldContinueLoading() argument
|
D | DefaultLoadControl.java | 374 long playbackPositionUs, long bufferedDurationUs, float playbackSpeed) { in shouldContinueLoading() argument
|
D | ExoPlayerImplInternal.java | 1953 long playbackPositionUs = 1959 playbackPositionUs, bufferedDurationUs, mediaClock.getPlaybackSpeed());
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/metadata/scte35/ |
D | SpliceInfoDecoderTest.java | 70 assertThat(((TimeSignalCommand) metadata.get(0)).playbackPositionUs) in wrappedAroundTimeSignalCommand()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/ |
D | DownloadHelper.java | 1166 long playbackPositionUs, in updateSelectedTrack() argument
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/ |
D | ProgressiveMediaPeriod.java | 340 public boolean continueLoading(long playbackPositionUs) { in continueLoading() argument
|