Home
last modified time | relevance | path

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

/cts/tests/media/jni/
DNativeCodecTestBase.h63 struct callbackObject { struct
68 callbackObject(int32_t index, AMediaCodecBufferInfo* info) in callbackObject() function
71 callbackObject(int32_t index) : bufferIndex{index}, isInput{true} {} in callbackObject() function
73 callbackObject() : bufferIndex{-1}, isInput{false} {} in callbackObject() function
80 std::list<callbackObject> mCbInputQueue;
81 std::list<callbackObject> mCbOutputQueue;
90 void pushToInputList(callbackObject element);
91 void pushToOutputList(callbackObject element);
92 callbackObject getInput();
93 callbackObject getOutput();
[all …]
DNativeCodecTestBase.cpp27 callbackObject element{index}; in onAsyncInputAvailable()
36 callbackObject element{index, bufferInfo}; in onAsyncOutputAvailable()
106 void CodecAsyncHandler::pushToInputList(callbackObject element) { in pushToInputList()
112 void CodecAsyncHandler::pushToOutputList(callbackObject element) { in pushToOutputList()
118 callbackObject CodecAsyncHandler::getInput() { in getInput()
119 callbackObject element{-1}; in getInput()
133 callbackObject CodecAsyncHandler::getOutput() { in getOutput()
134 callbackObject element; in getOutput()
148 callbackObject CodecAsyncHandler::getWork() { in getWork()
149 callbackObject element; in getWork()
[all …]
DNativeCodecEncoderSurfaceTest.cpp377 callbackObject element = mAsyncHandleEncoder.getOutput(); in tryEncoderOutput()
421 callbackObject element = mAsyncHandleDecoder.getWork(); in queueEOS()
463 callbackObject element = mAsyncHandleDecoder.getOutput(); in queueEOS()
505 callbackObject element = mAsyncHandleDecoder.getWork(); in doWork()
DNativeCodecUnitTest.cpp863 callbackObject element = mAsyncHandle.getOutput(); in testGetOutputBufferInRunningState()
1332 callbackObject element = mAsyncHandle.getOutput(); in testReleaseOutputBufferInRunningState()
1437 callbackObject element = mAsyncHandle.getOutput(); in testGetBufferFormatInRunningState()
DNativeCodecDecoderTestCommon.cpp313 callbackObject element = mAsyncHandle.getInput(); in queueCodecConfig()