Home
last modified time | relevance | path

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

/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/
DFlacSeekTableSeekMap.java56 long[] pointOffsets = flacStreamMetadata.seekTable.pointOffsets; in getSeekPoints() local
67 long seekPointOffsetFromFirstFrame = index == -1 ? 0 : pointOffsets[index]; in getSeekPoints()
73 getSeekPoint(pointSampleNumbers[index + 1], pointOffsets[index + 1]); in getSeekPoints()
DFlacMetadataReader.java199 long[] pointOffsets = new long[seekPointCount]; in readSeekTableMetadataBlock() local
206 pointOffsets = Arrays.copyOf(pointOffsets, i); in readSeekTableMetadataBlock()
210 pointOffsets[i] = data.readLong(); in readSeekTableMetadataBlock()
215 return new FlacStreamMetadata.SeekTable(pointSampleNumbers, pointOffsets); in readSeekTableMetadataBlock()
DFlacStreamMetadata.java51 public final long[] pointOffsets; field in FlacStreamMetadata.SeekTable
53 public SeekTable(long[] pointSampleNumbers, long[] pointOffsets) { in SeekTable() argument
55 this.pointOffsets = pointOffsets; in SeekTable()
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/
DFlacMetadataReaderTest.java339 assertThat(seekTable.pointOffsets[0]).isEqualTo(0); in readSeekTableMetadataBlock_returnsCorrectSeekPoints()
341 assertThat(seekTable.pointOffsets[31]).isEqualTo(160602); in readSeekTableMetadataBlock_returnsCorrectSeekPoints()