Home
last modified time | relevance | path

Searched refs:subsampleOffsetUs (Results 1 – 22 of 22) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/
DSubtitleOutputBuffer.java30 private long subsampleOffsetUs; field in SubtitleOutputBuffer
41 public void setContent(long timeUs, Subtitle subtitle, long subsampleOffsetUs) { in setContent() argument
44 this.subsampleOffsetUs = subsampleOffsetUs == Format.OFFSET_SAMPLE_RELATIVE ? this.timeUs in setContent()
45 : subsampleOffsetUs; in setContent()
55 return Assertions.checkNotNull(subtitle).getEventTime(index) + subsampleOffsetUs; in getEventTime()
60 return Assertions.checkNotNull(subtitle).getNextEventTimeIndex(timeUs - subsampleOffsetUs); in getNextEventTimeIndex()
65 return Assertions.checkNotNull(subtitle).getCues(timeUs - subsampleOffsetUs); in getCues()
DSubtitleInputBuffer.java28 public long subsampleOffsetUs; field in SubtitleInputBuffer
DTextRenderer.java243 nextInputBuffer.subsampleOffsetUs = formatHolder.format.subsampleOffsetUs; in render()
DSimpleSubtitleDecoder.java74 outputBuffer.setContent(inputBuffer.timeUs, subtitle, inputBuffer.subsampleOffsetUs); in decode()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/
DPassthroughSectionPayloadReader.java65 long subsampleOffsetUs = timestampAdjuster.getTimestampOffsetUs(); in consume() local
66 if (subsampleOffsetUs == C.TIME_UNSET) { in consume()
70 if (subsampleOffsetUs != format.subsampleOffsetUs) { in consume()
71 format = format.buildUpon().setSubsampleOffsetUs(subsampleOffsetUs).build(); in consume()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/
DFormat.java141 private long subsampleOffsetUs; field in Format.Builder
176 subsampleOffsetUs = OFFSET_SAMPLE_RELATIVE; in Builder()
213 this.subsampleOffsetUs = format.subsampleOffsetUs; in Builder()
411 public Builder setSubsampleOffsetUs(long subsampleOffsetUs) { in setSubsampleOffsetUs() argument
412 this.subsampleOffsetUs = subsampleOffsetUs; in setSubsampleOffsetUs()
608 subsampleOffsetUs, in build()
724 public final long subsampleOffsetUs; field in Format
1146 long subsampleOffsetUs, in createTextSampleFormat() argument
1154 .setSubsampleOffsetUs(subsampleOffsetUs) in createTextSampleFormat()
1229 long subsampleOffsetUs, in Format() argument
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/metadata/
DMetadataRenderer.java61 private long subsampleOffsetUs; field in MetadataRenderer
137 buffer.subsampleOffsetUs = subsampleOffsetUs; in render()
154 subsampleOffsetUs = Assertions.checkNotNull(formatHolder.format).subsampleOffsetUs; in render()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/
DWebvttExtractor.java181 long subsampleOffsetUs = sampleTimeUs - firstCueTimeUs; in processSample() local
183 TrackOutput trackOutput = buildTrackOutput(subsampleOffsetUs); in processSample()
191 private TrackOutput buildTrackOutput(long subsampleOffsetUs) { in buildTrackOutput() argument
197 .setSubsampleOffsetUs(subsampleOffsetUs) in buildTrackOutput()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/metadata/scte35/
DSpliceInfoDecoder.java58 || inputBuffer.subsampleOffsetUs != timestampAdjuster.getTimestampOffsetUs()) { in decode()
60 timestampAdjuster.adjustSampleTimestamp(inputBuffer.timeUs - inputBuffer.subsampleOffsetUs); in decode()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/metadata/
DMetadataInputBuffer.java30 public long subsampleOffsetUs; field in MetadataInputBuffer
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/metadata/scte35/
DSpliceInfoDecoderTest.java71 .isEqualTo(removePtsConversionPrecisionError(0x3001000000L, inputBuffer.subsampleOffsetUs)); in wrappedAroundTimeSignalCommand()
198 inputBuffer.subsampleOffsetUs = subsampleOffset; in feedInputBuffer()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DBaseRenderer.java364 if (format.subsampleOffsetUs != Format.OFFSET_SAMPLE_RELATIVE) { in readSource()
368 .setSubsampleOffsetUs(format.subsampleOffsetUs + streamOffsetUs) in readSource()
/external/exoplayer/tree/testdata/src/test/assets/ts/
Dsample_scte35.ts.3.dump42 subsampleOffsetUs = -1400000
Dsample_scte35.ts.unknown_length.dump55 subsampleOffsetUs = -1400000
Dsample_scte35.ts.1.dump58 subsampleOffsetUs = -1400000
Dsample_scte35.ts.2.dump58 subsampleOffsetUs = -1400000
Dsample_scte35.ts.0.dump58 subsampleOffsetUs = -1400000
Dsample_ait.ts.0.dump96 subsampleOffsetUs = -43622564033
Dsample_ait.ts.unknown_length.dump96 subsampleOffsetUs = -43622564033
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/
DSampleQueue.java537 if (sampleOffsetUs != 0 && format.subsampleOffsetUs != Format.OFFSET_SAMPLE_RELATIVE) { in getAdjustedUpstreamFormat()
541 .setSubsampleOffsetUs(format.subsampleOffsetUs + sampleOffsetUs) in getAdjustedUpstreamFormat()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeTrackOutput.java296 addIfNonDefault(dumper, "subsampleOffsetUs", format -> format.subsampleOffsetUs); in dump()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/
DAtomParsers.java845 long subsampleOffsetUs = Format.OFFSET_SAMPLE_RELATIVE; in parseTextSampleEntry() local
860 subsampleOffsetUs = 0; // Subsample timing is absolute. in parseTextSampleEntry()
875 .setSubsampleOffsetUs(subsampleOffsetUs) in parseTextSampleEntry()