Home
last modified time | relevance | path

Searched refs:positionUs (Results 1 – 25 of 26) sorted by relevance

12

/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/
H A DMpegTsMediaPeriod.java100 long positionUs) { in selectTracks() argument
118 seekToUsInternal(positionUs, positionUs != 0); in selectTracks()
119 return positionUs; in selectTracks()
160 public long seekToUs(long positionUs) { in seekToUs() argument
164 seekToUsInternal(positionUs, false); in seekToUs()
165 return positionUs; in seekToUs()
172 mLastSeekPositionUs = positionUs; in seekToUsInternal()
173 mPendingSeekPositionUs = positionUs; in seekToUsInternal()
174 mExtractor.seekTo(positionUs); in seekToUsInternal()
185 return positionUs; in getAdjustedSeekPositionUs()
[all …]
H A DSampleExtractor.java95 void seekTo(long positionUs); in seekTo() argument
120 boolean continueLoading(long positionUs); in continueLoading() argument
H A DFileSampleExtractor.java266 public void seekTo(long positionUs) { in seekTo() argument
267 mSampleBuffer.seekTo(positionUs); in seekTo()
276 public boolean continueLoading(long positionUs) { in continueLoading() argument
277 return mSampleBuffer.continueLoading(positionUs); in continueLoading()
H A DMpegTsSampleExtractor.java175 public void seekTo(long positionUs) { in seekTo() argument
176 mSampleExtractor.seekTo(positionUs); in seekTo()
236 public boolean continueLoading(long positionUs) { in continueLoading() argument
237 return mSampleExtractor.continueLoading(positionUs); in continueLoading()
H A DExoPlayerSampleExtractor.java477 public boolean continueLoading(long positionUs) { in continueLoading() argument
478 return mSampleBuffer.continueLoading(positionUs); in continueLoading()
482 public void seekTo(long positionUs) { in seekTo() argument
483 mSampleBuffer.seekTo(positionUs); in seekTo()
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
H A DMpegTsSampleSource.java63 public boolean prepare(long positionUs) { in prepare() argument
102 public void enable(int track, long positionUs) { in enable() argument
107 seekToUsInternal(positionUs, positionUs != 0); in enable()
120 public boolean continueBuffering(int track, long positionUs) { in continueBuffering() argument
121 return mSampleExtractor.continueBuffering(positionUs); in continueBuffering()
162 public void seekToUs(long positionUs) { in seekToUs() argument
164 seekToUsInternal(positionUs, false); in seekToUs()
184 if (force || mPendingSeekPositionUs != positionUs) { in seekToUsInternal()
185 mLastSeekPositionUs = positionUs; in seekToUsInternal()
186 mPendingSeekPositionUs = positionUs; in seekToUsInternal()
[all …]
H A DCea708TextTrackRenderer.java82 protected boolean doPrepare(long positionUs) throws ExoPlaybackException { in doPrepare() argument
83 boolean sourcePrepared = mSource.prepare(positionUs); in doPrepare()
101 protected void onEnabled(int track, long positionUs, boolean joining) { in onEnabled() argument
103 mSource.enable(mTrackIndex, positionUs); in onEnabled()
105 mPresentationTimeUs = positionUs; in onEnabled()
153 protected void doSomeWork(long positionUs, long elapsedRealtimeUs) throws ExoPlaybackException { in doSomeWork() argument
155 mPresentationTimeUs = positionUs; in doSomeWork()
H A DFileSampleExtractor.java145 public void seekTo(long positionUs) { in seekTo() argument
146 mSampleBuffer.seekTo(positionUs); in seekTo()
155 public boolean continueBuffering(long positionUs) { in continueBuffering() argument
156 return mSampleBuffer.continueBuffering(positionUs); in continueBuffering()
H A DSampleExtractor.java84 void seekTo(long positionUs); in seekTo() argument
109 boolean continueBuffering(long positionUs); in continueBuffering() argument
H A DMpegTsSampleExtractor.java188 public void seekTo(long positionUs) { in seekTo() argument
189 mSampleExtractor.seekTo(positionUs); in seekTo()
249 public boolean continueBuffering(long positionUs) { in continueBuffering() argument
250 return mSampleExtractor.continueBuffering(positionUs); in continueBuffering()
H A DMpegTsVideoTrackRenderer.java103 protected void onDiscontinuity(long positionUs) throws ExoPlaybackException {
104 super.onDiscontinuity(positionUs);
H A DExoPlayerSampleExtractor.java533 public boolean continueBuffering(long positionUs) { in continueBuffering() argument
534 return mSampleBuffer.continueBuffering(positionUs); in continueBuffering()
538 public void seekTo(long positionUs) { in seekTo() argument
539 mSampleBuffer.seekTo(positionUs); in seekTo()
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
H A DBufferManager.java151 void seekTo(long positionUs); in seekTo() argument
157 boolean continueBuffering(long positionUs); in continueBuffering() argument
198 public final long positionUs; field in BufferManager.PositionHolder
213 this.positionUs = positionUs; in PositionHolder()
367 private static String getFileName(String id, long positionUs) { in getFileName() argument
385 long positionUs, in createNewWriteFileIfNeeded() argument
398 mStartPositionMap.put(id, positionUs); in createNewWriteFileIfNeeded()
405 samplePool, file, positionUs, mChunkCallback); in createNewWriteFileIfNeeded()
406 map.put(positionUs, Pair.create(sampleChunk, 0)); in createNewWriteFileIfNeeded()
412 map.put(positionUs, Pair.create(currentChunk, currentOffset)); in createNewWriteFileIfNeeded()
[all …]
H A DRecordingSampleBuffer.java256 public void seekTo(long positionUs) { in seekTo() argument
260 mSampleChunkIoHelper.openRead(i, positionUs); in seekTo()
263 mLastBufferedPositionUs = positionUs; in seekTo()
290 public boolean continueBuffering(long positionUs) { in continueBuffering() argument
291 mCurrentPlaybackPositionUs = positionUs; in continueBuffering()
299 || positionUs > queue.getLastQueuedPositionUs()) { in continueBuffering()
H A DSampleChunkIoHelper.java98 private final long positionUs; field in SampleChunkIoHelper.IoParams
105 long positionUs, in IoParams() argument
110 this.positionUs = positionUs; in IoParams()
269 public void openRead(int index, long positionUs) { in openRead() argument
272 IoParams params = new IoParams(index, positionUs, null, null, mReadSampleBuffers[index]); in openRead()
398 mBufferManager.getReadFile(mIds.get(index), params.positionUs); in doOpenRead()
401 "Chunk ID:" + mIds.get(index) + " pos:" + params.positionUs + "is not found"; in doOpenRead()
492 mReadIoStates[index].openRead(readPosition.first, params.positionUs); in doUpdateIndex()
H A DSimpleSampleBuffer.java153 public synchronized boolean continueBuffering(long positionUs) { in continueBuffering() argument
159 || positionUs > queue.getLastQueuedPositionUs()) { in continueBuffering()
168 public void seekTo(long positionUs) { in seekTo() argument
H A DDvrStorageManager.java231 long positionUs = in.readLong(); in readOldIndexFile() local
232 indices.add(new BufferManager.PositionHolder(positionUs, positionUs, 0)); in readOldIndexFile()
244 long positionUs = in.readLong(); in readNewIndexFile() local
247 indices.add(new BufferManager.PositionHolder(positionUs, basePositionUs, offset)); in readNewIndexFile()
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
H A DBufferManager.java155 void seekTo(long positionUs); in seekTo() argument
158 boolean continueLoading(long positionUs); in continueLoading() argument
200 public final long positionUs; field in BufferManager.PositionHolder
216 this.positionUs = positionUs; in PositionHolder()
370 private static String getFileName(String id, long positionUs) { in getFileName() argument
388 long positionUs, in createNewWriteFileIfNeeded() argument
401 mStartPositionMap.put(id, positionUs); in createNewWriteFileIfNeeded()
409 map.put(positionUs, Pair.create(sampleChunk, 0)); in createNewWriteFileIfNeeded()
415 map.put(positionUs, Pair.create(currentChunk, currentOffset)); in createNewWriteFileIfNeeded()
451 getFileName(trackId, position.positionUs), in loadTrackFromStorage()
[all …]
H A DRecordingSampleBuffer.java256 public void seekTo(long positionUs) { in seekTo() argument
260 mSampleChunkIoHelper.openRead(i, positionUs); in seekTo()
266 public boolean continueLoading(long positionUs) { in continueLoading() argument
267 mCurrentPlaybackPositionUs = positionUs; in continueLoading()
275 || positionUs > queue.getLastQueuedPositionUs()) { in continueLoading()
H A DSampleChunkIoHelper.java100 private final long positionUs; field in SampleChunkIoHelper.IoParams
107 long positionUs, in IoParams() argument
112 this.positionUs = positionUs; in IoParams()
313 public void openRead(int index, long positionUs) { in openRead() argument
316 IoParams params = new IoParams(index, positionUs, null, null, mReadSampleBuffers[index]); in openRead()
443 mBufferManager.getReadFile(mIds.get(index), params.positionUs); in doOpenRead()
446 "Chunk ID:" + mIds.get(index) + " pos:" + params.positionUs + "is not found"; in doOpenRead()
537 mReadIoStates[index].openRead(readPosition.first, params.positionUs); in doUpdateIndex()
H A DMemorySampleBuffer.java128 public synchronized boolean continueLoading(long positionUs) { in continueLoading() argument
134 || positionUs > queue.getLastQueuedPositionUs()) { in continueLoading()
143 public void seekTo(long positionUs) { in seekTo() argument
H A DDvrStorageManager.java231 long positionUs = in.readLong(); in readOldIndexFile() local
232 indices.add(new BufferManager.PositionHolder(positionUs, positionUs, 0)); in readOldIndexFile()
244 long positionUs = in.readLong(); in readNewIndexFile() local
247 indices.add(new BufferManager.PositionHolder(positionUs, basePositionUs, offset)); in readNewIndexFile()
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/
H A DMpegTsDefaultAudioTrackRenderer.java166 protected boolean doPrepare(long positionUs) throws ExoPlaybackException { in doPrepare() argument
167 boolean sourcePrepared = mSource.prepare(positionUs); in doPrepare()
197 protected void onEnabled(int track, long positionUs, boolean joining) { in onEnabled() argument
200 mSource.enable(mTrackIndex, positionUs); in onEnabled()
201 seekToInternal(positionUs); in onEnabled()
231 private void seekToInternal(long positionUs) { in seekToInternal() argument
236 mPresentationTimeUs = positionUs; in seekToInternal()
241 mAudioClock.setPositionUs(positionUs); in seekToInternal()
245 protected void seekTo(long positionUs) { in seekTo() argument
246 mSource.seekToUs(positionUs); in seekTo()
[all …]
/aosp12/frameworks/av/media/extractors/midi/
H A DMidiExtractor.cpp227 status_t MidiEngine::seekTo(int64_t positionUs) { in seekTo() argument
230 ALOGV("seekTo %lld", (long long)positionUs); in seekTo()
231 EAS_RESULT result = EAS_Locate(mEasData, mEasHandle, positionUs / 1000, false); in seekTo()
H A DMidiExtractor.h42 status_t seekTo(int64_t positionUs);

12