Home
last modified time | relevance | path

Searched refs:targetSampleNumber (Results 1 – 4 of 4) sorted by relevance

/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/flac/
DFlacBinarySearchSeeker.java75 public TimestampSearchResult searchForTimestamp(ExtractorInput input, long targetSampleNumber) in searchForTimestamp() argument
90 if (leftFrameFirstSampleNumber <= targetSampleNumber in searchForTimestamp()
91 && rightFrameFirstSampleNumber > targetSampleNumber) { in searchForTimestamp()
93 } else if (rightFrameFirstSampleNumber <= targetSampleNumber) { in searchForTimestamp()
/external/exoplayer/tree/extensions/flac/src/main/jni/
Dflac_parser.cc429 int64_t targetSampleNumber = (timeUs * sampleRate) / 1000000LL; in getSeekPositions() local
430 if (targetSampleNumber >= totalSamples) { in getSeekPositions()
431 targetSampleNumber = totalSamples - 1; in getSeekPositions()
442 if (sampleNumber <= targetSampleNumber) { in getSeekPositions()
445 if (sampleNumber == targetSampleNumber || i >= length || in getSeekPositions()
/external/oss-fuzz/projects/flac/
Dfuzzer_exo.cpp393 int64_t targetSampleNumber = (timeUs * sampleRate) / 1000000LL; in getSeekPositions() local
394 if (targetSampleNumber >= totalSamples) { in getSeekPositions()
395 targetSampleNumber = totalSamples - 1; in getSeekPositions()
406 if (sampleNumber <= targetSampleNumber) { in getSeekPositions()
409 if (sampleNumber == targetSampleNumber || i >= length || in getSeekPositions()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/
DFlacSeekTableSeekMap.java58 long targetSampleNumber = flacStreamMetadata.getSampleNumber(timeUs); in getSeekPoints() local
62 targetSampleNumber, in getSeekPoints()