Searched refs:mInputBufferPool (Results 1 – 7 of 7) sorted by relevance
/aosp12/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/ |
H A D | InputBufferPool.java | 25 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()
|
H A D | SampleQueue.java | 27 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()
|
H A D | MemorySampleBuffer.java | 35 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()
|
H A D | SampleChunkIoHelper.java | 70 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()
|
H A D | SampleChunk.java | 60 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()
|
H A D | RecordingSampleBuffer.java | 80 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()
|
/aosp12/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
H A D | Transport.java | 50 private BufferPool mInputBufferPool; field in Transport 62 mInputBufferPool = new BufferPool( in Transport() 271 mInputBufferPool.release(buffer); in handleMessage() 297 buffer = mInputBufferPool.acquire(length); in loop() 299 buffer = mInputBufferPool.grow(buffer, length); in loop() 367 buffer = mInputBufferPool.acquire(length); in loop() 374 mInputBufferPool.release(buffer); in loop()
|