Home
last modified time | relevance | path

Searched refs:queuedInputBuffers (Results 1 – 2 of 2) sorted by relevance

/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/text/cea/
DCeaDecoder.java41 private final PriorityQueue<CeaInputBuffer> queuedInputBuffers; field in CeaDecoder
57 queuedInputBuffers = new PriorityQueue<>(); in CeaDecoder()
89 queuedInputBuffers.add(ceaInputBuffer); in queueInputBuffer()
103 while (!queuedInputBuffers.isEmpty() in dequeueOutputBuffer()
104 && Util.castNonNull(queuedInputBuffers.peek()).timeUs <= playbackPositionUs) { in dequeueOutputBuffer()
105 CeaInputBuffer inputBuffer = Util.castNonNull(queuedInputBuffers.poll()); in dequeueOutputBuffer()
152 while (!queuedInputBuffers.isEmpty()) { in flush()
153 releaseInputBuffer(Util.castNonNull(queuedInputBuffers.poll())); in flush()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/decoder/
DSimpleDecoder.java36 private final ArrayDeque<I> queuedInputBuffers; field in SimpleDecoder
56 queuedInputBuffers = new ArrayDeque<>(); in SimpleDecoder()
110 queuedInputBuffers.addLast(inputBuffer); in queueInputBuffer()
150 while (!queuedInputBuffers.isEmpty()) { in flush()
151 releaseInputBufferInternal(queuedInputBuffers.removeFirst()); in flush()
221 inputBuffer = queuedInputBuffers.removeFirst(); in decode()
273 return !queuedInputBuffers.isEmpty() && availableOutputBufferCount > 0; in canDecodeBuffer()