Home
last modified time | relevance | path

Searched refs:pointSampleNumbers (Results 1 – 5 of 5) sorted by relevance

/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/
DFlacSeekTableSeekMap.java55 long[] pointSampleNumbers = flacStreamMetadata.seekTable.pointSampleNumbers; in getSeekPoints() local
61 pointSampleNumbers, in getSeekPoints()
66 long seekPointSampleNumber = index == -1 ? 0 : pointSampleNumbers[index]; in getSeekPoints()
69 if (seekPoint.timeUs == timeUs || index == pointSampleNumbers.length - 1) { in getSeekPoints()
73 getSeekPoint(pointSampleNumbers[index + 1], pointOffsets[index + 1]); in getSeekPoints()
DFlacMetadataReader.java198 long[] pointSampleNumbers = new long[seekPointCount]; in readSeekTableMetadataBlock() local
205 pointSampleNumbers = Arrays.copyOf(pointSampleNumbers, i); in readSeekTableMetadataBlock()
209 pointSampleNumbers[i] = sampleNumber; in readSeekTableMetadataBlock()
215 return new FlacStreamMetadata.SeekTable(pointSampleNumbers, pointOffsets); in readSeekTableMetadataBlock()
DFlacStreamMetadata.java49 public final long[] pointSampleNumbers; field in FlacStreamMetadata.SeekTable
53 public SeekTable(long[] pointSampleNumbers, long[] pointOffsets) { in SeekTable() argument
54 this.pointSampleNumbers = pointSampleNumbers; in SeekTable()
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/
DFlacMetadataReaderTest.java236 assertThat(metadataHolder.flacStreamMetadata.seekTable.pointSampleNumbers.length).isEqualTo(32); in readMetadataBlock_seekTableBlock_updatesStreamMetadata()
340 assertThat(seekTable.pointSampleNumbers[0]).isEqualTo(0); in readSeekTableMetadataBlock_returnsCorrectSeekPoints()
342 assertThat(seekTable.pointSampleNumbers[31]).isEqualTo(126976); in readSeekTableMetadataBlock_returnsCorrectSeekPoints()
356 assertThat(seekTable.pointSampleNumbers).hasLength(32); in readSeekTableMetadataBlock_ignoresPlaceholders()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/ogg/
DFlacReader.java136 long[] seekPointGranules = seekTable.pointSampleNumbers; in startSeek()