Searched refs:seekPoints (Results 1 – 8 of 8) sorted by relevance
63 SeekMap.SeekPoints seekPoints = constantBitrateSeekMap.getSeekPoints(/* timeUs= */ 123); in getSeekPoints_forUnseekableInput_returnSeekPoint0() local64 assertThat(seekPoints.first.timeUs).isEqualTo(0); in getSeekPoints_forUnseekableInput_returnSeekPoint0()65 assertThat(seekPoints.first.position).isEqualTo(firstBytePosition); in getSeekPoints_forUnseekableInput_returnSeekPoint0()66 assertThat(seekPoints.second).isEqualTo(seekPoints.first); in getSeekPoints_forUnseekableInput_returnSeekPoint0()103 SeekMap.SeekPoints seekPoints = constantBitrateSeekMap.getSeekPoints(/* timeUs= */ 0); in getSeekPoints_forSeekableInput_forSyncPosition0_return1SeekPoint() local104 assertThat(seekPoints.first.timeUs).isEqualTo(0); in getSeekPoints_forSeekableInput_forSyncPosition0_return1SeekPoint()105 assertThat(seekPoints.first.position).isEqualTo(firstBytePosition); in getSeekPoints_forSeekableInput_forSyncPosition0_return1SeekPoint()106 assertThat(seekPoints.second).isEqualTo(seekPoints.first); in getSeekPoints_forSeekableInput_forSyncPosition0_return1SeekPoint()117 SeekMap.SeekPoints seekPoints = constantBitrateSeekMap.getSeekPoints(/* timeUs= */ 1_200_000); in getSeekPoints_forSeekableInput_forSeekPointAtSyncPosition_return1SeekPoint() local120 assertThat(seekPoints.first.timeUs).isEqualTo(1_200_000); in getSeekPoints_forSeekableInput_forSeekPointAtSyncPosition_return1SeekPoint()[all …]
94 SeekPoints seekPoints = seeker.getSeekPoints(0); in getSeekPointsAtStartOfStream() local95 SeekPoint seekPoint = seekPoints.first; in getSeekPointsAtStartOfStream()96 assertThat(seekPoint).isEqualTo(seekPoints.second); in getSeekPointsAtStartOfStream()103 SeekPoints seekPoints = seeker.getSeekPoints(STREAM_DURATION_US); in getSeekPointsAtEndOfStream() local104 SeekPoint seekPoint = seekPoints.first; in getSeekPointsAtEndOfStream()105 assertThat(seekPoint).isEqualTo(seekPoints.second); in getSeekPointsAtEndOfStream()116 SeekPoints seekPoints = seeker.getSeekPoints(timeUs); in getTimeForAllPositions() local117 SeekPoint seekPoint = seekPoints.first; in getTimeForAllPositions()118 assertThat(seekPoint).isEqualTo(seekPoints.second); in getTimeForAllPositions()122 seekPoints = seekerWithInputLength.getSeekPoints(timeUs); in getTimeForAllPositions()[all …]
229 long[] seekPoints = new long[4]; in getSeekPoints() local230 if (!flacGetSeekPoints(nativeDecoderContext, timeUs, seekPoints)) { in getSeekPoints()233 SeekPoint firstSeekPoint = new SeekPoint(seekPoints[0], seekPoints[1]); in getSeekPoints()235 seekPoints[2] == seekPoints[0] in getSeekPoints()237 : new SeekPoint(seekPoints[2], seekPoints[3]); in getSeekPoints()
307 @Nullable SeekPoints seekPoints = decoderJni.getSeekPoints(timeUs); in getSeekPoints() local308 return seekPoints == null ? new SeekPoints(SeekPoint.START) : seekPoints; in getSeekPoints()
100 SeekMap.SeekPoints seekPoints = seekMap.getSeekPoints(0); in seekMap() local101 if (!seekPoints.first.equals(seekPoints.second)) { in seekMap()106 seekPoints = seekMap.getSeekPoints(durationUs); in seekMap()107 if (!seekPoints.first.equals(seekPoints.second)) { in seekMap()
430 SeekMap.SeekPoints seekPoints = seekMap.getSeekPoints(seekTimeUs); in seekToTimeUs() local432 long initialSeekLoadPosition = seekPoints.first.position; in seekToTimeUs()
217 SeekMap.SeekPoints seekPoints = seekMap.getSeekPoints(seekTimeUs); in seekToTimeUs() local219 long initialSeekLoadPosition = seekPoints.first.position; in seekToTimeUs()
449 SeekPoints seekPoints = seekMap.getSeekPoints(positionUs); in getAdjustedSeekPositionUs() local451 positionUs, seekPoints.first.timeUs, seekPoints.second.timeUs); in getAdjustedSeekPositionUs()