Searched refs:queuedInputBuffers (Results 1 – 2 of 2) sorted by relevance
41 private final PriorityQueue<CeaInputBuffer> queuedInputBuffers; field in CeaDecoder57 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()
36 private final ArrayDeque<I> queuedInputBuffers; field in SimpleDecoder56 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()