Home
last modified time | relevance | path

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

/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecAsyncHandler.java46 protected final LinkedList<Pair<Integer, MediaCodec.BufferInfo>> mCbInputQueue; field in CodecAsyncHandler
54 mCbInputQueue = new LinkedList<>(); in CodecAsyncHandler()
64 mCbInputQueue.clear(); in clearQueues()
84 mCbInputQueue.add(new Pair<>(bufferIndex, null)); in onInputBufferAvailable()
177 if (mCbInputQueue.isEmpty()) { in getInput()
180 element = mCbInputQueue.remove(0); in getInput()
213 if (mCbInputQueue.isEmpty() && mCbOutputQueue.isEmpty()) { in getWork()
219 element = mCbInputQueue.remove(0); in getWork()
234 isEmpty = mCbInputQueue.isEmpty(); in isInputQueueEmpty()
DCodecAsyncHandlerMultiAccessUnits.java118 if (mCbInputQueue.isEmpty() && mCbOutputQueue.isEmpty()) { in getWorkList()
124 Pair<Integer, MediaCodec.BufferInfo> item = mCbInputQueue.remove(0); in getWorkList()
/cts/tests/media/jni/
DNativeCodecTestBase.cpp108 mCbInputQueue.push_back(element); in pushToInputList()
122 if (mCbInputQueue.empty()) { in getInput()
125 element = mCbInputQueue.front(); in getInput()
126 mCbInputQueue.pop_front(); in getInput()
152 if (mCbInputQueue.empty() && mCbOutputQueue.empty()) { in getWork()
160 element = mCbInputQueue.front(); in getWork()
161 mCbInputQueue.pop_front(); in getWork()
171 return mCbInputQueue.empty(); in isInputQueueEmpty()
176 mCbInputQueue.clear(); in clearQueues()
DNativeCodecTestBase.h80 std::list<callbackObject> mCbInputQueue; variable
/cts/tests/mediapc/src/android/mediapc/cts/
DCodecTestBase.java70 private final LinkedList<Pair<Integer, MediaCodec.BufferInfo>> mCbInputQueue; field in CodecAsyncHandler
77 mCbInputQueue = new LinkedList<>(); in CodecAsyncHandler()
85 mCbInputQueue.clear(); in clearQueues()
101 mCbInputQueue.add(new Pair<>(bufferIndex, (MediaCodec.BufferInfo) null)); in onInputBufferAvailable()
159 if (mCbInputQueue.isEmpty() && mCbOutputQueue.isEmpty()) { in getWork()
166 if (!mCbInputQueue.isEmpty()) { in getWork()
167 element = mCbInputQueue.remove(0); in getWork()