Home
last modified time | relevance | path

Searched refs:sampleNumber (Results 1 – 13 of 13) sorted by relevance

/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DSyncSampleBox.java34 private long[] sampleNumber; field in SyncSampleBox
46 return sampleNumber; in getSampleNumber()
50 return sampleNumber.length * 4 + 8; in getContentSize()
58 sampleNumber = new long[entryCount]; in _parseDetails()
60 sampleNumber[i] = IsoTypeReader.readUInt32(content); in _parseDetails()
68 IsoTypeWriter.writeUInt32(byteBuffer, sampleNumber.length); in getContent()
70 for (long aSampleNumber : sampleNumber) { in getContent()
77 return "SyncSampleBox[entryCount=" + sampleNumber.length + "]"; in toString()
80 public void setSampleNumber(long[] sampleNumber) { in setSampleNumber() argument
81 this.sampleNumber = sampleNumber; in setSampleNumber()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/fragment/
DTrackFragmentRandomAccessBox.java107 entry.sampleNumber = IsoTypeReaderVariable.read(content, lengthSizeOfSampleNum); in _parseDetails()
137 IsoTypeWriterVariable.write(entry.sampleNumber, byteBuffer, lengthSizeOfSampleNum); in getContent()
196 private long sampleNumber; field in TrackFragmentRandomAccessBox.Entry
201 … public Entry(long time, long moofOffset, long trafNumber, long trunNumber, long sampleNumber) { in Entry() argument
203 this.sampleNumber = sampleNumber; in Entry()
226 return sampleNumber; in getSampleNumber()
245 public void setSampleNumber(long sampleNumber) { in setSampleNumber() argument
246 this.sampleNumber = sampleNumber; in setSampleNumber()
256 ", sampleNumber=" + sampleNumber + in toString()
268 if (sampleNumber != entry.sampleNumber) return false; in equals()
[all …]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/
DReplaceSampleTrack.java34 private long sampleNumber; field in ReplaceSampleTrack
38 public ReplaceSampleTrack(Track origTrack, long sampleNumber, ByteBuffer content) { in ReplaceSampleTrack() argument
40 this.sampleNumber = sampleNumber; in ReplaceSampleTrack()
91 if (ReplaceSampleTrack.this.sampleNumber == index) { in get()
/external/exoplayer/tree/extensions/flac/src/main/jni/
Dflac_parser.cc438 int64_t sampleNumber = points[i - 1].sample_number; in getSeekPositions() local
439 if (sampleNumber == -1) { // placeholder in getSeekPositions()
442 if (sampleNumber <= targetSampleNumber) { in getSeekPositions()
443 result[0] = (sampleNumber * 1000000LL) / sampleRate; in getSeekPositions()
445 if (sampleNumber == targetSampleNumber || i >= length || in getSeekPositions()
/external/oss-fuzz/projects/flac/
Dfuzzer_exo.cpp402 int64_t sampleNumber = points[i - 1].sample_number; in getSeekPositions() local
403 if (sampleNumber == -1) { // placeholder in getSeekPositions()
406 if (sampleNumber <= targetSampleNumber) { in getSeekPositions()
407 result[0] = (sampleNumber * 1000000LL) / sampleRate; in getSeekPositions()
409 if (sampleNumber == targetSampleNumber || i >= length || in getSeekPositions()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/
DFlacFrameReader.java33 public long sampleNumber; field in FlacFrameReader.SampleNumberHolder
158 return sampleNumberHolder.sampleNumber; in getFirstSampleNumber()
256 sampleNumberHolder.sampleNumber = in checkAndReadFirstSampleNumber()
DFlacSeekTableSeekMap.java78 private SeekPoint getSeekPoint(long sampleNumber, long offsetFromFirstFrame) { in getSeekPoint() argument
79 long seekTimeUs = sampleNumber * C.MICROS_PER_SECOND / flacStreamMetadata.sampleRate; in getSeekPoint()
DFlacMetadataReader.java203 long sampleNumber = data.readLong(); in readSeekTableMetadataBlock() local
204 if (sampleNumber == -1) { in readSeekTableMetadataBlock()
209 pointSampleNumbers[i] = sampleNumber; in readSeekTableMetadataBlock()
DFlacStreamMetadata.java205 long sampleNumber = (timeUs * sampleRate) / C.MICROS_PER_SECOND; in getSampleNumber() local
206 return Util.constrainValue(sampleNumber, /* min= */ 0, totalSamples - 1); in getSampleNumber()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/
DMp4TrackImpl.java75 long sampleNumber = 1; in Mp4TrackImpl() local
126 syncSampleList.add(sampleNumber); in Mp4TrackImpl()
128 sampleNumber++; in Mp4TrackImpl()
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/
DFlacFrameReaderTest.java99 assertThat(sampleNumberHolder.sampleNumber).isEqualTo(4096); in checkAndReadFrameHeader_validData_writesSampleNumber()
176 assertThat(sampleNumberHolder.sampleNumber).isEqualTo(4096); in checkFrameHeaderFromPeek_validData_writesSampleNumber()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/flac/
DFlacBinarySearchSeeker.java126 return sampleNumberHolder.sampleNumber; in findNextFrame()
DFlacExtractor.java340 return sampleNumberHolder.sampleNumber; in findFrame()
384 return sampleNumberHolder.sampleNumber; in findFrame()