Home
last modified time | relevance | path

Searched refs:mInputBufferPool (Results 1 – 6 of 6) sorted by relevance

/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
DInputBufferPool.java25 private final LinkedList<DecoderInputBuffer> mInputBufferPool = new LinkedList<>(); field in InputBufferPool
32 if (mInputBufferPool.isEmpty()) { in acquireSample()
39 DecoderInputBuffer maxSample = mInputBufferPool.getFirst(); in acquireSample()
40 for (DecoderInputBuffer sample : mInputBufferPool) { in acquireSample()
60 mInputBufferPool.remove(sampleFromPool); in acquireSample()
67 mInputBufferPool.offerLast(sample); in releaseSample()
DSampleQueue.java27 private final InputBufferPool mInputBufferPool; field in SampleQueue
31 mInputBufferPool = inputBufferPool; in SampleQueue()
53 mInputBufferPool.releaseSample(sampleFromQueue); in dequeueSample()
59 mInputBufferPool.releaseSample(mQueue.poll()); in clear()
DSampleChunkIoHelper.java70 private final InputBufferPool mInputBufferPool; field in SampleChunkIoHelper
158 mInputBufferPool = inputBufferPool; in SampleChunkIoHelper()
195 mBufferManager.loadTrackFromStorage(mIds.get(i), mInputBufferPool); in init() local
455 mInputBufferPool.releaseSample(sample); in doOpenRead()
470 mIds.get(index), 0, mInputBufferPool, null, 0, updateIndexFile); in doOpenWrite()
479 mInputBufferPool.releaseSample(sample); in doCloseRead()
524 mBufferManager.loadTrackFromStorage(mIds.get(index), mInputBufferPool); in doUpdateIndex() local
570 mInputBufferPool, in doWrite()
DSampleChunk.java60 private final InputBufferPool mInputBufferPool; field in SampleChunk
293 mInputBufferPool = inputBufferPool; in SampleChunk()
306 mInputBufferPool = inputBufferPool; in SampleChunk()
389 DecoderInputBuffer sample = mInputBufferPool.acquireSample(size); in read()
DMemorySampleBuffer.java35 private final InputBufferPool mInputBufferPool = new InputBufferPool(); field in MemorySampleBuffer
69 mPlayingSampleQueues[index] = new SampleQueue(mInputBufferPool); in selectTrack()
100 DecoderInputBuffer sampleToQueue = mInputBufferPool.acquireSample(size); in writeSample()
DRecordingSampleBuffer.java80 private final InputBufferPool mInputBufferPool = new InputBufferPool(); field in RecordingSampleBuffer
152 ids, formats, mBufferReason, mBufferManager, mInputBufferPool, mIoCallback); in init()
154 mReadSampleQueues.add(i, new SampleQueue(mInputBufferPool)); in init()