Home
last modified time | relevance | path

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

/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DSamplePool.java24 private final LinkedList<SampleHolder> mSamplePool = new LinkedList<>(); field in SamplePool
31 if (mSamplePool.isEmpty()) { in acquireSample()
37 SampleHolder maxSample = mSamplePool.getFirst(); in acquireSample()
38 for (SampleHolder sample : mSamplePool) { in acquireSample()
58 mSamplePool.remove(sampleFromPool); in acquireSample()
65 mSamplePool.offerLast(sample); in releaseSample()
DSampleQueue.java26 private final SamplePool mSamplePool; field in SampleQueue
30 mSamplePool = samplePool; in SampleQueue()
50 mSamplePool.releaseSample(sampleFromQueue); in dequeueSample()
56 mSamplePool.releaseSample(mQueue.poll()); in clear()
DSampleChunkIoHelper.java65 private final SamplePool mSamplePool; field in SampleChunkIoHelper
139 mSamplePool = samplePool; in SampleChunkIoHelper()
177 mBufferManager.loadTrackFromStorage(mIds.get(i), mSamplePool); in init() local
378 mSamplePool.releaseSample(sample); in doOpenRead()
394 mIds.get(index), 0, mSamplePool, null, 0, updateIndexFile); in doOpenWrite()
403 mSamplePool.releaseSample(sample); in doCloseRead()
451 mBufferManager.loadTrackFromStorage(mIds.get(index), mSamplePool); in doUpdateIndex() local
499 mSamplePool, in doWrite()
DSampleChunk.java46 private final SamplePool mSamplePool; field in SampleChunk
276 mSamplePool = samplePool; in SampleChunk()
287 mSamplePool = samplePool; in SampleChunk()
370 SampleHolder sample = mSamplePool.acquireSample(size); in read()
DSimpleSampleBuffer.java35 private final SamplePool mSamplePool = new SamplePool(); field in SimpleSampleBuffer
71 mPlayingSampleQueues[index] = new SampleQueue(mSamplePool); in selectTrack()
126 SampleHolder sampleToQueue = mSamplePool.acquireSample(sample.size); in writeSample()
DRecordingSampleBuffer.java77 private final SamplePool mSamplePool = new SamplePool(); field in RecordingSampleBuffer
140 mSamplePool, in init()
144 mReadSampleQueues.add(i, new SampleQueue(mSamplePool)); in init()