Home
last modified time | relevance | path

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

/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecAsyncHandlerMultiAccessUnits.java42 private final LinkedList<Pair<Integer, ArrayDeque<MediaCodec.BufferInfo>>> mCbOutputQueue; field in CodecAsyncHandlerMultiAccessUnits
46 mCbOutputQueue = new LinkedList<>(); in CodecAsyncHandlerMultiAccessUnits()
54 mCbOutputQueue.clear(); in clearQueues()
71 mCbOutputQueue.add(new Pair<>(bufferIndex, infos)); in onOutputBuffersAvailable()
86 mCbOutputQueue.add(new Pair<>(bufferIndex, infos)); in onOutputBufferAvailable()
99 if (mCbOutputQueue.isEmpty()) { in getOutputs()
102 element = mCbOutputQueue.remove(0); in getOutputs()
118 if (mCbInputQueue.isEmpty() && mCbOutputQueue.isEmpty()) { in getWorkList()
121 if (!mCbOutputQueue.isEmpty()) { in getWorkList()
122 element = mCbOutputQueue.remove(0); in getWorkList()
DCodecAsyncHandler.java47 private final LinkedList<Pair<Integer, MediaCodec.BufferInfo>> mCbOutputQueue; field in CodecAsyncHandler
55 mCbOutputQueue = new LinkedList<>(); in CodecAsyncHandler()
65 mCbOutputQueue.clear(); in clearQueues()
97 mCbOutputQueue.add(new Pair<>(bufferIndex, info)); in onOutputBufferAvailable()
195 if (mCbOutputQueue.isEmpty()) { in getOutput()
198 element = mCbOutputQueue.remove(0); in getOutput()
213 if (mCbInputQueue.isEmpty() && mCbOutputQueue.isEmpty()) { in getWork()
216 if (!mCbOutputQueue.isEmpty()) { in getWork()
217 element = mCbOutputQueue.remove(0); in getWork()
/cts/tests/media/jni/
DNativeCodecTestBase.cpp114 mCbOutputQueue.push_back(element); in pushToOutputList()
137 if (mCbOutputQueue.empty()) { in getOutput()
140 element = mCbOutputQueue.front(); in getOutput()
141 mCbOutputQueue.pop_front(); in getOutput()
152 if (mCbInputQueue.empty() && mCbOutputQueue.empty()) { in getWork()
155 if (!mCbOutputQueue.empty()) { in getWork()
156 element = mCbOutputQueue.front(); in getWork()
157 mCbOutputQueue.pop_front(); in getWork()
177 mCbOutputQueue.clear(); in clearQueues()
DNativeCodecTestBase.h81 std::list<callbackObject> mCbOutputQueue; variable
/cts/tests/mediapc/src/android/mediapc/cts/
DCodecTestBase.java71 private final LinkedList<Pair<Integer, MediaCodec.BufferInfo>> mCbOutputQueue; field in CodecAsyncHandler
78 mCbOutputQueue = new LinkedList<>(); in CodecAsyncHandler()
86 mCbOutputQueue.clear(); in clearQueues()
111 mCbOutputQueue.add(new Pair<>(bufferIndex, info)); in onOutputBufferAvailable()
144 if (mCbOutputQueue.isEmpty()) { in getOutput()
147 element = mCbOutputQueue.remove(0); in getOutput()
159 if (mCbInputQueue.isEmpty() && mCbOutputQueue.isEmpty()) { in getWork()
162 if (!mCbOutputQueue.isEmpty()) { in getWork()
163 element = mCbOutputQueue.remove(0); in getWork()