Home
last modified time | relevance | path

Searched refs:seekPoint (Results 1 – 19 of 19) sorted by relevance

/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/mp3/
DXingSeekerTest.java95 SeekPoint seekPoint = seekPoints.first; in getSeekPointsAtStartOfStream() local
96 assertThat(seekPoint).isEqualTo(seekPoints.second); in getSeekPointsAtStartOfStream()
97 assertThat(seekPoint.timeUs).isEqualTo(0); in getSeekPointsAtStartOfStream()
98 assertThat(seekPoint.position).isEqualTo(XING_FRAME_POSITION + xingFrameSize); in getSeekPointsAtStartOfStream()
104 SeekPoint seekPoint = seekPoints.first; in getSeekPointsAtEndOfStream() local
105 assertThat(seekPoint).isEqualTo(seekPoints.second); in getSeekPointsAtEndOfStream()
106 assertThat(seekPoint.timeUs).isEqualTo(STREAM_DURATION_US); in getSeekPointsAtEndOfStream()
107 assertThat(seekPoint.position).isEqualTo(STREAM_LENGTH - 1); in getSeekPointsAtEndOfStream()
117 SeekPoint seekPoint = seekPoints.first; in getTimeForAllPositions() local
118 assertThat(seekPoint).isEqualTo(seekPoints.second); in getTimeForAllPositions()
[all …]
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/mp3/
DXingSeekerTest.java95 SeekPoint seekPoint = seekPoints.first; in getSeekPointsAtStartOfStream() local
96 assertThat(seekPoint).isEqualTo(seekPoints.second); in getSeekPointsAtStartOfStream()
97 assertThat(seekPoint.timeUs).isEqualTo(0); in getSeekPointsAtStartOfStream()
98 assertThat(seekPoint.position).isEqualTo(XING_FRAME_POSITION + xingFrameSize); in getSeekPointsAtStartOfStream()
104 SeekPoint seekPoint = seekPoints.first; in getSeekPointsAtEndOfStream() local
105 assertThat(seekPoint).isEqualTo(seekPoints.second); in getSeekPointsAtEndOfStream()
106 assertThat(seekPoint.timeUs).isEqualTo(STREAM_DURATION_US); in getSeekPointsAtEndOfStream()
107 assertThat(seekPoint.position).isEqualTo(STREAM_LENGTH - 1); in getSeekPointsAtEndOfStream()
117 SeekPoint seekPoint = seekPoints.first; in getTimeForAllPositions() local
118 assertThat(seekPoint).isEqualTo(seekPoints.second); in getTimeForAllPositions()
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/
DChunkIndex.java85 SeekPoint seekPoint = new SeekPoint(timesUs[chunkIndex], offsets[chunkIndex]); in getSeekPoints() local
86 if (seekPoint.timeUs >= timeUs || chunkIndex == length - 1) { in getSeekPoints()
87 return new SeekPoints(seekPoint); in getSeekPoints()
90 return new SeekPoints(seekPoint, nextSeekPoint); in getSeekPoints()
DFlacSeekTableSeekMap.java68 SeekPoint seekPoint = getSeekPoint(seekPointSampleNumber, seekPointOffsetFromFirstFrame); in getSeekPoints() local
69 if (seekPoint.timeUs == timeUs || index == pointSampleNumbers.length - 1) { in getSeekPoints()
70 return new SeekPoints(seekPoint); in getSeekPoints()
74 return new SeekPoints(seekPoint, secondSeekPoint); in getSeekPoints()
DConstantBitrateSeekMap.java101 SeekPoint seekPoint = new SeekPoint(seekTimeUs, seekFramePosition); in getSeekPoints() local
108 return new SeekPoints(seekPoint); in getSeekPoints()
113 return new SeekPoints(seekPoint, secondSeekPoint); in getSeekPoints()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/
DChunkIndex.java85 SeekPoint seekPoint = new SeekPoint(timesUs[chunkIndex], offsets[chunkIndex]); in getSeekPoints() local
86 if (seekPoint.timeUs >= timeUs || chunkIndex == length - 1) { in getSeekPoints()
87 return new SeekPoints(seekPoint); in getSeekPoints()
90 return new SeekPoints(seekPoint, nextSeekPoint); in getSeekPoints()
DFlacSeekTableSeekMap.java68 SeekPoint seekPoint = getSeekPoint(seekPointSampleNumber, seekPointOffsetFromFirstFrame); in getSeekPoints() local
69 if (seekPoint.timeUs == timeUs || index == pointSampleNumbers.length - 1) { in getSeekPoints()
70 return new SeekPoints(seekPoint); in getSeekPoints()
74 return new SeekPoints(seekPoint, secondSeekPoint); in getSeekPoints()
DConstantBitrateSeekMap.java101 SeekPoint seekPoint = new SeekPoint(seekTimeUs, seekFramePosition); in getSeekPoints() local
108 return new SeekPoints(seekPoint); in getSeekPoints()
113 return new SeekPoints(seekPoint, secondSeekPoint); in getSeekPoints()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp3/
DIndexSeeker.java72 SeekPoint seekPoint = new SeekPoint(timesUs.get(targetIndex), positions.get(targetIndex)); in getSeekPoints() local
73 if (seekPoint.timeUs == timeUs || targetIndex == timesUs.size() - 1) { in getSeekPoints()
74 return new SeekPoints(seekPoint); in getSeekPoints()
78 return new SeekPoints(seekPoint, nextSeekPoint); in getSeekPoints()
DVbriSeeker.java120 SeekPoint seekPoint = new SeekPoint(timesUs[tableIndex], positions[tableIndex]); in getSeekPoints() local
121 if (seekPoint.timeUs >= timeUs || tableIndex == timesUs.length - 1) { in getSeekPoints()
122 return new SeekPoints(seekPoint); in getSeekPoints()
125 return new SeekPoints(seekPoint, nextSeekPoint); in getSeekPoints()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp3/
DIndexSeeker.java72 SeekPoint seekPoint = new SeekPoint(timesUs.get(targetIndex), positions.get(targetIndex)); in getSeekPoints() local
73 if (seekPoint.timeUs == timeUs || targetIndex == timesUs.size() - 1) { in getSeekPoints()
74 return new SeekPoints(seekPoint); in getSeekPoints()
78 return new SeekPoints(seekPoint, nextSeekPoint); in getSeekPoints()
DVbriSeeker.java120 SeekPoint seekPoint = new SeekPoint(timesUs[tableIndex], positions[tableIndex]); in getSeekPoints() local
121 if (seekPoint.timeUs >= timeUs || tableIndex == timesUs.length - 1) { in getSeekPoints()
122 return new SeekPoints(seekPoint); in getSeekPoints()
125 return new SeekPoints(seekPoint, nextSeekPoint); in getSeekPoints()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/wav/
DWavSeekMap.java58 SeekPoint seekPoint = new SeekPoint(seekTimeUs, seekPosition); in getSeekPoints() local
60 return new SeekPoints(seekPoint); in getSeekPoints()
66 return new SeekPoints(seekPoint, secondSeekPoint); in getSeekPoints()
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/wav/
DWavSeekMap.java58 SeekPoint seekPoint = new SeekPoint(seekTimeUs, seekPosition); in getSeekPoints() local
60 return new SeekPoints(seekPoint); in getSeekPoints()
66 return new SeekPoints(seekPoint, secondSeekPoint); in getSeekPoints()
/external/antlr/runtime/C/src/
Dantlr3inputstream.c50 static void antlr38BitSeek (pANTLR3_INT_STREAM is, ANTLR3_MARKER seekPoint);
81 static void antlr3UTF16Seek (pANTLR3_INT_STREAM is, ANTLR3_MARKER seekPoint);
97 static void antlr3UTF32Seek (pANTLR3_INT_STREAM is, ANTLR3_MARKER seekPoint);
577 antlr38BitSeek (pANTLR3_INT_STREAM is, ANTLR3_MARKER seekPoint) in antlr38BitSeek() argument
588 if (seekPoint <= (ANTLR3_MARKER)(input->nextChar)) in antlr38BitSeek()
590 input->nextChar = ((pANTLR3_UINT8) seekPoint); in antlr38BitSeek()
594 count = (ANTLR3_UINT32)(seekPoint - (ANTLR3_MARKER)(input->nextChar)); in antlr38BitSeek()
1020 antlr3UTF16Seek (pANTLR3_INT_STREAM is, ANTLR3_MARKER seekPoint) in antlr3UTF16Seek() argument
1031 if (seekPoint <= (ANTLR3_MARKER)(input->nextChar)) in antlr3UTF16Seek()
1033 input->nextChar = (void *)seekPoint; in antlr3UTF16Seek()
[all …]
/external/antlr/runtime/Cpp/include/
Dantlr3intstream.hpp260 void seek(ANTLR_MARKER seekPoint);
328 void seek(ANTLR_MARKER seekPoint);
Dantlr3intstream.inl202 void IntStream<ImplTraits, SuperType>::seek(ANTLR_MARKER seekPoint) argument
212 if (seekPoint <= nextChar)
214 input->set_nextChar((ANTLR_UINT8*) seekPoint);
218 count = (ANTLR_UINT32)(seekPoint - nextChar);
317 void UTF16_IntStream<ImplTraits, SuperType>::seek(ANTLR_MARKER seekPoint) argument
326 if (seekPoint <= (ANTLR_MARKER)(input->get_nextChar()))
328 input->set_nextChar( seekPoint );
334 …while( (this->_LA(1) != ANTLR_CHARSTREAM_EOF) && (seekPoint < (ANTLR_MARKER)input->get_nextChar() …
1079 void UTF32_IntStream<ImplTraits, SuperType>::seek(ANTLR_MARKER seekPoint) argument
1090 if (seekPoint <= (ANTLR_MARKER)(input->get_nextChar()))
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/source/mediaparser/
DOutputConsumerAdapterV30.java677 private static SeekPoint asExoPlayerSeekPoint(MediaParser.SeekPoint seekPoint) { in asExoPlayerSeekPoint() argument
678 return new SeekPoint(seekPoint.timeMicros, seekPoint.position); in asExoPlayerSeekPoint()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/main/java/com/google/android/exoplayer2/source/mediaparser/
DOutputConsumerAdapterV30.java676 private static SeekPoint asExoPlayerSeekPoint(MediaParser.SeekPoint seekPoint) { in asExoPlayerSeekPoint() argument
677 return new SeekPoint(seekPoint.timeMicros, seekPoint.position); in asExoPlayerSeekPoint()