Home
last modified time | relevance | path

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

/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/cache/
DSamplePool.java27 private final LinkedList<SampleHolder> mSamplePool = new LinkedList<>(); field in SamplePool
34 if (mSamplePool.isEmpty()) { in acquireSample()
40 SampleHolder maxSample = mSamplePool.getFirst(); in acquireSample()
41 for (SampleHolder sample : mSamplePool) { in acquireSample()
60 mSamplePool.remove(sampleFromPool); in acquireSample()
69 mSamplePool.offerLast(sample); in releaseSample()
DSampleQueue.java29 private final SamplePool mSamplePool; field in SampleQueue
32 mSamplePool = samplePool; in SampleQueue()
50 mSamplePool.releaseSample(sampleFromQueue); in dequeueSample()
56 mSamplePool.releaseSample(mQueue.poll()); in clear()
DSimpleSampleBuffer.java37 private final SamplePool mSamplePool = new SamplePool(); field in SimpleSampleBuffer
72 mPlayingSampleQueues[index] = new SampleQueue(mSamplePool); in selectTrack()
126 SampleHolder sampleToQueue = mSamplePool.acquireSample(sample.size); in writeSample()
DRecordingSampleBuffer.java85 private final SamplePool mSamplePool = new SamplePool(); field in RecordingSampleBuffer
194 mSampleCaches[i] = mCacheManager.createNewWriteFile(getTrackId(i), 0, mSamplePool); in init()
198 mCacheManager.loadTrackFormStorage(mIds.get(i), mSamplePool); in init() local
232 mPlayingSampleQueues[index] = new CachedSampleQueue(mSamplePool); in selectTrack()
262 getTrackId(index), mCacheEndPositionUs[index], mSamplePool); in writeSample()
DSampleCache.java121 private final SamplePool mSamplePool; field in SampleCache.IoHandlerCallback
134 mSamplePool = samplePool; in IoHandlerCallback()
244 SampleHolder sample = mSamplePool.acquireSample(size); in handleRead()
302 mSamplePool.releaseSample(sample); in handleClear()