Searched refs:mSamplePool (Results 1 – 6 of 6) sorted by relevance
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/ |
D | SamplePool.java | 24 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()
|
D | SampleQueue.java | 26 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()
|
D | SampleChunkIoHelper.java | 65 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()
|
D | SampleChunk.java | 46 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()
|
D | SimpleSampleBuffer.java | 35 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()
|
D | RecordingSampleBuffer.java | 77 private final SamplePool mSamplePool = new SamplePool(); field in RecordingSampleBuffer 140 mSamplePool, in init() 144 mReadSampleQueues.add(i, new SampleQueue(mSamplePool)); in init()
|