Home
last modified time | relevance | path

Searched refs:startTimeUs (Results 1 – 25 of 30) sorted by relevance

12

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/webvtt/
DWebvttCueInfo.java25 public final long startTimeUs; field in WebvttCueInfo
28 public WebvttCueInfo(Cue cue, long startTimeUs, long endTimeUs) { in WebvttCueInfo() argument
30 this.startTimeUs = startTimeUs; in WebvttCueInfo()
DWebvttCueParser.java335 builder.startTimeUs = in parseCue()
740 public long startTimeUs; field in WebvttCueParser.WebvttCueInfoBuilder
755 startTimeUs = 0; in WebvttCueInfoBuilder()
772 return new WebvttCueInfo(toCueBuilder().build(), startTimeUs, endTimeUs); in build()
DWebvttSubtitle.java45 cueTimesUs[arrayIndex] = cueInfo.startTimeUs; in WebvttSubtitle()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/playlist/
DHlsMediaPlaylist.java187 public final long startTimeUs; field in HlsMediaPlaylist
254 long startTimeUs, in HlsMediaPlaylist() argument
267 this.startTimeUs = startTimeUs; in HlsMediaPlaylist()
316 return startTimeUs + durationUs; in getEndTimeUs()
328 public HlsMediaPlaylist copyWith(long startTimeUs, int discontinuitySequence) { in copyWith() argument
334 startTimeUs, in copyWith()
360 startTimeUs, in copyWithEndTag()
DDefaultHlsPlaylistTracker.java359 initialStartTimeUs = newSnapshot.startTimeUs; in onPlaylistUpdated()
392 long startTimeUs = getLoadedPlaylistStartTimeUs(oldPlaylist, loadedPlaylist); in getLatestPlaylistSnapshot() local
394 return loadedPlaylist.copyWith(startTimeUs, discontinuitySequence); in getLatestPlaylistSnapshot()
400 return loadedPlaylist.startTimeUs; in getLoadedPlaylistStartTimeUs()
403 primaryMediaPlaylistSnapshot != null ? primaryMediaPlaylistSnapshot.startTimeUs : 0; in getLoadedPlaylistStartTimeUs()
410 return oldPlaylist.startTimeUs + firstOldOverlappingSegment.relativeStartTimeUs; in getLoadedPlaylistStartTimeUs()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/chunk/
DChunk.java62 public final long startTimeUs; field in Chunk
88 long startTimeUs, in Chunk() argument
96 this.startTimeUs = startTimeUs; in Chunk()
104 return endTimeUs - startTimeUs; in getDurationUs()
DChunkExtractorWrapper.java118 @Nullable TrackOutputProvider trackOutputProvider, long startTimeUs, long endTimeUs) { in init() argument
123 if (startTimeUs != C.TIME_UNSET) { in init()
124 extractor.seek(/* position= */ 0, startTimeUs); in init()
128 extractor.seek(/* position= */ 0, startTimeUs == C.TIME_UNSET ? 0 : startTimeUs); in init()
DSingleSampleMediaChunk.java59 long startTimeUs, in SingleSampleMediaChunk() argument
70 startTimeUs, in SingleSampleMediaChunk()
115 trackOutput.sampleMetadata(startTimeUs, C.BUFFER_FLAG_KEY_FRAME, sampleSize, 0, null); in load()
DMediaChunk.java49 long startTimeUs, in MediaChunk() argument
53 trackSelectionData, startTimeUs, endTimeUs); in MediaChunk()
DBaseMediaChunk.java65 long startTimeUs, in BaseMediaChunk() argument
70 super(dataSource, dataSpec, trackFormat, trackSelectionReason, trackSelectionData, startTimeUs, in BaseMediaChunk()
DChunkSampleStream.java268 long mediaChunkStartTimeUs = mediaChunk.startTimeUs; in seekToUs()
421 loadable.startTimeUs, in onLoadCompleted()
442 loadable.startTimeUs, in onLoadCanceled()
511 loadable.startTimeUs, in onLoadError()
557 boolean resetToMediaChunk = mediaChunk.startTimeUs == pendingResetPositionUs; in continueLoading()
577 loadable.startTimeUs, in continueLoading()
625 eventDispatcher.upstreamDiscarded(primaryTrackType, firstRemovedChunk.startTimeUs, endTimeUs); in reevaluateBuffer()
680 currentChunk.startTimeUs); in maybeNotifyPrimaryTrackFormatChanged()
DContainerMediaChunk.java72 long startTimeUs, in ContainerMediaChunk() argument
86 startTimeUs, in ContainerMediaChunk()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeMediaChunk.java31 public FakeMediaChunk(Format trackFormat, long startTimeUs, long endTimeUs) { in FakeMediaChunk() argument
32 this(new DataSpec(Uri.EMPTY), trackFormat, startTimeUs, endTimeUs); in FakeMediaChunk()
35 public FakeMediaChunk(DataSpec dataSpec, Format trackFormat, long startTimeUs, long endTimeUs) { in FakeMediaChunk() argument
42 startTimeUs, in FakeMediaChunk()
DFakeChunkSource.java127 long startTimeUs = dataSet.getStartTime(chunkIndex);
128 long endTimeUs = startTimeUs + dataSet.getChunkDuration(chunkIndex);
137 trackSelection.getSelectionReason(), trackSelection.getSelectionData(), startTimeUs,
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/offline/
DSegmentDownloader.java50 public final long startTimeUs; field in SegmentDownloader.Segment
56 public Segment(long startTimeUs, DataSpec dataSpec) { in Segment() argument
57 this.startTimeUs = startTimeUs; in Segment()
63 return Util.compareLong(startTimeUs, other.startTimeUs); in compareTo()
247 || segment.startTimeUs > lastSegment.startTimeUs + MAX_MERGED_SEGMENT_START_TIME_DIFF_US in mergeSegments()
260 new Segment(lastSegment.startTimeUs, mergedDataSpec)); in mergeSegments()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/ttml/
DTtmlNode.java112 public final long startTimeUs; field in TtmlNode
140 long startTimeUs, in buildNode() argument
148 tag, /* text= */ null, startTimeUs, endTimeUs, style, styleIds, regionId, imageId, parent); in buildNode()
154 long startTimeUs, in TtmlNode() argument
167 this.startTimeUs = startTimeUs; in TtmlNode()
176 return (startTimeUs == C.TIME_UNSET && endTimeUs == C.TIME_UNSET) in isActive()
177 || (startTimeUs <= timeUs && endTimeUs == C.TIME_UNSET) in isActive()
178 || (startTimeUs == C.TIME_UNSET && timeUs < endTimeUs) in isActive()
179 || (startTimeUs <= timeUs && timeUs < endTimeUs); in isActive()
215 if (startTimeUs != C.TIME_UNSET) { in getEventTimes()
[all …]
/external/exoplayer/tree/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/
DSsMediaSource.java691 long startTimeUs = Long.MAX_VALUE; in processManifest() local
695 startTimeUs = Math.min(startTimeUs, element.getStartTimeUs(0)); in processManifest()
702 if (startTimeUs == Long.MAX_VALUE) { in processManifest()
717 startTimeUs = Math.max(startTimeUs, endTimeUs - manifest.dvrWindowLengthUs); in processManifest()
719 long durationUs = endTimeUs - startTimeUs; in processManifest()
731 startTimeUs, in processManifest()
740 : endTimeUs - startTimeUs; in processManifest()
743 startTimeUs + durationUs, in processManifest()
745 startTimeUs, in processManifest()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/offline/
DHlsDownloader.java156 long startTimeUs = mediaPlaylist.startTimeUs + segment.relativeStartTimeUs; in addSegment() local
160 out.add(new Segment(startTimeUs, SegmentDownloader.getCompressibleDataSpec(keyUri))); in addSegment()
165 out.add(new Segment(startTimeUs, dataSpec)); in addSegment()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/wav/
DWavExtractor.java192 private long startTimeUs; field in WavExtractor.PassthroughOutputWriter
240 startTimeUs = timeUs; in reset()
273 startTimeUs in sampleData()
321 private long startTimeUs; field in WavExtractor.ImaAdPcmOutputWriter
383 startTimeUs = timeUs; in reset()
448 startTimeUs in writeSampleMetadata()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/
DHlsMediaChunk.java238 long startTimeUs, in HlsMediaChunk() argument
256 startTimeUs, in HlsMediaChunk()
344 timestampAdjuster.setFirstSampleTimestampUs(startTimeUs); in loadMedia()
415 : startTimeUs); in prepareExtraction()
DUnexpectedSampleTimestampException.java57 + mediaChunk.startTimeUs in UnexpectedSampleTimestampException()
DHlsChunkSource.java280 mediaPlaylist.startTimeUs - playlistTracker.getInitialStartTimeUs(); in getNextChunk()
295 mediaPlaylist.startTimeUs - playlistTracker.getInitialStartTimeUs(); in getNextChunk()
438 playlist.startTimeUs - playlistTracker.getInitialStartTimeUs(); in createMediaChunkIterators()
477 (previous == null || independentSegments) ? loadPositionUs : previous.startTimeUs; in getChunkMediaSequence()
DHlsSampleStreamWrapper.java553 currentChunk.startTimeUs);
646 : Math.max(lastSeekPositionUs, lastMediaChunk.startTimeUs);
685 loadable.startTimeUs,
718 loadable.startTimeUs,
743 loadable.startTimeUs,
804 loadable.startTimeUs,
1404 (long) ((chunk.endTimeUs - chunk.startTimeUs) * MAX_TIMESTAMP_DEVIATION_FRACTION),
1406 minAllowedSampleTimeUs = chunk.startTimeUs - allowedDeviationUs;
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/offline/
DDashDownloader.java175 long startTimeUs, String baseUrl, RangedUri rangedUri, ArrayList<Segment> out) { in addSegment() argument
178 out.add(new Segment(startTimeUs, dataSpec)); in addSegment()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/ssa/
DSsaDecoder.java244 long startTimeUs = parseTimecodeUs(lineValues[format.startTimeIndex]); in parseDialogueLine() local
245 if (startTimeUs == C.TIME_UNSET) { in parseDialogueLine()
269 int startTimeIndex = addCuePlacerholderByTime(startTimeUs, cueTimesUs, cues); in parseDialogueLine()

12