Home
last modified time | relevance | path

Searched refs:SeekMap (Results 1 – 25 of 47) sorted by relevance

12

/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/flac/
DFlacExtractorSeekTest.java24 import com.google.android.exoplayer2.extractor.SeekMap;
55 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in flacExtractorReads_seekTable_returnSeekableSeekMap()
66 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_seekTable_handlesSeekToZero()
83 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_seekTable_handlesSeekToEoF()
100 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_seekTable_handlesSeekingBackward()
119 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_seekTable_handlesSeekingForward()
138 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in flacExtractorReads_binarySearch_returnSeekableSeekMap()
149 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_binarySearch_handlesSeekToZero()
166 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_binarySearch_handlesSeekToEoF()
183 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_binarySearch_handlesSeekingBackward()
[all …]
/external/exoplayer/tree/extensions/flac/src/androidTest/java/com/google/android/exoplayer2/ext/flac/
DFlacExtractorSeekTest.java24 import com.google.android.exoplayer2.extractor.SeekMap;
55 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in flacExtractorReads_seekTable_returnSeekableSeekMap()
66 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_seekTable_handlesSeekToZero()
83 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_seekTable_handlesSeekToEoF()
100 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_seekTable_handlesSeekingBackward()
119 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_seekTable_handlesSeekingForward()
138 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in flacExtractorReads_binarySearch_returnSeekableSeekMap()
149 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_binarySearch_handlesSeekToZero()
166 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_binarySearch_handlesSeekToEoF()
183 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_binarySearch_handlesSeekingBackward()
[all …]
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/amr/
DAmrExtractorSeekTest.java23 import com.google.android.exoplayer2.extractor.SeekMap;
69 SeekMap seekMap = in amrExtractorReads_returnSeekableSeekMap_forNarrowBandAmr()
91 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekingToPositionInFile_extractsCorrectFrame_forNarrowBandAmr()
116 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekToEoF_extractsLastFrame_forNarrowBandAmr()
143 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekingBackward_extractsCorrectFrames_forNarrowBandAmr()
172 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekingForward_extractsCorrectFrames_forNarrowBandAmr()
201 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesRandomSeeks_extractsCorrectFrames_forNarrowBandAmr()
228 SeekMap seekMap = in amrExtractorReads_returnSeekableSeekMap_forWideBandAmr()
250 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekingToPositionInFile_extractsCorrectFrame_forWideBandAmr()
275 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekToEoF_extractsLastFrame_forWideBandAmr()
[all …]
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/
DConstantBitrateSeekMapTest.java63 SeekMap.SeekPoints seekPoints = constantBitrateSeekMap.getSeekPoints(/* timeUs= */ 123); in getSeekPoints_forUnseekableInput_returnSeekPoint0()
103 SeekMap.SeekPoints seekPoints = constantBitrateSeekMap.getSeekPoints(/* timeUs= */ 0); in getSeekPoints_forSeekableInput_forSyncPosition0_return1SeekPoint()
117 SeekMap.SeekPoints seekPoints = constantBitrateSeekMap.getSeekPoints(/* timeUs= */ 1_200_000); in getSeekPoints_forSeekableInput_forSeekPointAtSyncPosition_return1SeekPoint()
133 SeekMap.SeekPoints seekPoints = constantBitrateSeekMap.getSeekPoints(/* timeUs= */ 345_678); in getSeekPoints_forSeekableInput_forNonSyncSeekPosition_return2SeekPoints()
150 SeekMap.SeekPoints seekPoints = constantBitrateSeekMap.getSeekPoints(/* timeUs= */ 2_123_456); in getSeekPoints_forSeekableInput_forSeekPointWithinLastFrame_return1SeekPoint()
164 SeekMap.SeekPoints seekPoints = constantBitrateSeekMap.getSeekPoints(/* timeUs= */ 2_200_000); in getSeekPoints_forSeekableInput_forSeekPointAtEndOfStream_return1SeekPoint()
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/ts/
DPsExtractorSeekTest.java29 import com.google.android.exoplayer2.extractor.SeekMap;
80 SeekMap seekMap = extractSeekMapAndTracks(extractor, new FakeExtractorOutput()); in psExtractorReads_nonSeekTableFile_returnSeekableSeekMap()
93 SeekMap seekMap = extractSeekMapAndTracks(extractor, extractorOutput); in handlePendingSeek_handlesSeekingToPositionInFile_extractsCorrectFrame()
109 SeekMap seekMap = extractSeekMapAndTracks(extractor, extractorOutput); in handlePendingSeek_handlesSeekToEoF()
124 SeekMap seekMap = extractSeekMapAndTracks(extractor, extractorOutput); in handlePendingSeek_handlesSeekingBackward_extractsCorrectFrame()
143 SeekMap seekMap = extractSeekMapAndTracks(extractor, extractorOutput); in handlePendingSeek_handlesSeekingForward_extractsCorrectFrame()
162 SeekMap seekMap = extractSeekMapAndTracks(extractor, extractorOutput); in handlePendingSeek_handlesRandomSeeks_extractsCorrectFrame()
183 SeekMap seekMap = extractorOutput.seekMap; in handlePendingSeek_handlesRandomSeeksAfterReadingFileOnce_extractsCorrectFrame()
214 PsExtractor psExtractor, SeekMap seekMap, long seekTimeUs, FakeTrackOutput trackOutput) in seekToTimeUs()
217 SeekMap.SeekPoints seekPoints = seekMap.getSeekPoints(seekTimeUs); in seekToTimeUs()
[all …]
DTsExtractorSeekTest.java26 import com.google.android.exoplayer2.extractor.SeekMap;
74 SeekMap seekMap = in tsExtractorReads_nonSeekTableFile_returnSeekableSeekMap()
89 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in handlePendingSeek_handlesSeekingToPositionInFile_extractsCorrectFrame()
108 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in handlePendingSeek_handlesSeekToEoF_extractsLastFrame()
128 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in handlePendingSeek_handlesSeekingBackward_extractsCorrectFrame()
150 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in handlePendingSeek_handlesSeekingForward_extractsCorrectFrame()
172 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in handlePendingSeek_handlesRandomSeeks_extractsCorrectFrame()
196 SeekMap seekMap = extractorOutput.seekMap; in handlePendingSeek_handlesRandomSeeksAfterReadingFileOnce_extractsCorrectFrame()
DAdtsExtractorSeekTest.java23 import com.google.android.exoplayer2.extractor.SeekMap;
67 SeekMap seekMap = in adtsExtractorReads_returnSeekableSeekMap()
88 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekingToPositionInFile_extractsCorrectSample()
113 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekToEoF_extractsLastSample()
139 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekingBackward_extractsCorrectSamples()
167 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekingForward_extractsCorrectSamples()
195 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesRandomSeeks_extractsCorrectSamples()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp3/
DSeeker.java19 import com.google.android.exoplayer2.extractor.SeekMap;
26 /* package */ interface Seeker extends SeekMap {
43 /* package */ class UnseekableSeeker extends SeekMap.Unseekable implements Seeker {
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/mp3/
DConstantBitrateSeekerTest.java24 import com.google.android.exoplayer2.extractor.SeekMap;
63 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in mp3ExtractorReads_returnSeekableCbrSeeker()
74 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekToZero()
91 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekToEoF()
108 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekingBackward()
127 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekingForward()
146 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_variableFrameSize_seeksNearlyExactlyToCorrectFrame()
DIndexSeekerTest.java26 import com.google.android.exoplayer2.extractor.SeekMap;
63 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in mp3ExtractorReads_returnsSeekableSeekMap()
74 SeekMap seekMap = extractorOutput.seekMap; in mp3ExtractorReads_correctsInexactDuration()
83 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekToZero()
101 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekToEof()
119 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekingBackward()
139 SeekMap seekMap = TestUtil.extractSeekMap(extractor, extractorOutput, dataSource, fileUri); in seeking_handlesSeekingForward()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ogg/
DOggSeeker.java20 import com.google.android.exoplayer2.extractor.SeekMap;
35 SeekMap createSeekMap(); in createSeekMap()
DStreamReader.java25 import com.google.android.exoplayer2.extractor.SeekMap;
176 SeekMap seekMap = Assertions.checkStateNotNull(oggSeeker.createSeekMap()); in readPayload()
262 public SeekMap createSeekMap() { in createSeekMap()
263 return new SeekMap.Unseekable(C.TIME_UNSET); in createSeekMap()
DFlacReader.java25 import com.google.android.exoplayer2.extractor.SeekMap;
144 public SeekMap createSeekMap() { in createSeekMap()
/external/exoplayer/tree/testutils/src/main/java/com/google/android/exoplayer2/testutil/
DFakeExtractorOutput.java27 import com.google.android.exoplayer2.extractor.SeekMap;
74 public @MonotonicNonNull SeekMap seekMap;
98 public void seekMap(SeekMap seekMap) { in seekMap()
100 SeekMap.SeekPoints seekPoints = seekMap.getSeekPoints(0); in seekMap()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/source/chunk/
DChunkExtractorWrapper.java27 import com.google.android.exoplayer2.extractor.SeekMap;
71 private @MonotonicNonNull SeekMap seekMap;
94 public SeekMap getSeekMap() { in getSeekMap()
162 public void seekMap(SeekMap seekMap) { in seekMap()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/
DSeekMap.java25 public interface SeekMap { interface
28 class Unseekable implements SeekMap {
DExtractorOutput.java46 void seekMap(SeekMap seekMap); in seekMap()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/wav/
DWavSeekMap.java19 import com.google.android.exoplayer2.extractor.SeekMap;
23 /* package */ final class WavSeekMap implements SeekMap {
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/amr/
DAmrExtractor.java28 import com.google.android.exoplayer2.extractor.SeekMap;
146 private @MonotonicNonNull SeekMap seekMap;
355 seekMap = new SeekMap.Unseekable(C.TIME_UNSET); in maybeOutputSeekMap()
366 private SeekMap getConstantBitrateSeekMap(long inputLength) { in getConstantBitrateSeekMap()
/external/exoplayer/tree/extensions/flac/src/main/java/com/google/android/exoplayer2/ext/flac/
DFlacDecoderJni.java23 import com.google.android.exoplayer2.extractor.SeekMap;
228 public SeekMap.SeekPoints getSeekPoints(long timeUs) { in getSeekPoints()
238 return new SeekMap.SeekPoints(firstSeekPoint, secondSeekPoint); in getSeekPoints()
DFlacExtractor.java32 import com.google.android.exoplayer2.extractor.SeekMap;
249 SeekMap seekMap; in outputSeekMap()
259 seekMap = new SeekMap.Unseekable(streamMetadata.getDurationUs()); in outputSeekMap()
290 private static final class FlacSeekMap implements SeekMap {
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/flv/
DFlvExtractor.java25 import com.google.android.exoplayer2.extractor.SeekMap;
268 extractorOutput.seekMap(new SeekMap.Unseekable(durationUs)); in readTagData()
299 extractorOutput.seekMap(new SeekMap.Unseekable(C.TIME_UNSET)); in ensureReadyForMediaOutput()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ts/
DAc3Extractor.java29 import com.google.android.exoplayer2.extractor.SeekMap;
112 output.seekMap(new SeekMap.Unseekable(C.TIME_UNSET)); in init()
DAdtsExtractor.java31 import com.google.android.exoplayer2.extractor.SeekMap;
253 extractorOutput.seekMap(new SeekMap.Unseekable(C.TIME_UNSET)); in maybeOutputSeekMap()
318 private SeekMap getConstantBitrateSeekMap(long inputLength) { in getConstantBitrateSeekMap()
DAc4Extractor.java31 import com.google.android.exoplayer2.extractor.SeekMap;
120 output.seekMap(new SeekMap.Unseekable(/* durationUs= */ C.TIME_UNSET)); in init()

12