Home
last modified time | relevance | path

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

/cts/tests/media/jni/
DNativeCodecEncoderSurfaceTest.cpp408 if (!tryEncoderOutput(kQDeQTimeOutUs)) return false; in waitForAllEncoderOutputs()
412 if (!tryEncoderOutput(kQDeQTimeOutUs)) return false; in waitForAllEncoderOutputs()
435 ssize_t oBufferID = AMediaCodec_dequeueOutputBuffer(mDecoder, &outInfo, kQDeQTimeOutUs); in queueEOS()
447 ssize_t iBufferId = AMediaCodec_dequeueInputBuffer(mDecoder, kQDeQTimeOutUs); in queueEOS()
478 AMediaCodec_dequeueOutputBuffer(mDecoder, &outInfo, kQDeQTimeOutUs); in queueEOS()
527 ssize_t oBufferID = AMediaCodec_dequeueOutputBuffer(mDecoder, &outInfo, kQDeQTimeOutUs); in doWork()
539 ssize_t iBufferId = AMediaCodec_dequeueInputBuffer(mDecoder, kQDeQTimeOutUs); in doWork()
DNativeMediaCommon.h54 extern const long kQDeQTimeOutUs;
DNativeCodecTestBase.cpp198 mCondition.wait_for(lock, std::chrono::microseconds(kQDeQTimeOutUs))) { in waitOnFormatChange()
532 ssize_t oBufferID = AMediaCodec_dequeueOutputBuffer(mCodec, &outInfo, kQDeQTimeOutUs); in doWork()
552 ssize_t iBufferId = AMediaCodec_dequeueInputBuffer(mCodec, kQDeQTimeOutUs); in doWork()
586 ssize_t oBufferID = AMediaCodec_dequeueOutputBuffer(mCodec, &outInfo, kQDeQTimeOutUs); in queueEOS()
606 ssize_t iBufferId = AMediaCodec_dequeueInputBuffer(mCodec, kQDeQTimeOutUs); in queueEOS()
635 int bufferID = AMediaCodec_dequeueOutputBuffer(mCodec, &outInfo, kQDeQTimeOutUs); in waitForAllOutputs()
DNativeCodecUnitTest.cpp339 if (AMediaCodec_dequeueInputBuffer(mCodec, kQDeQTimeOutUs) >= in testDequeueInputBufferInInitState()
358 if (AMediaCodec_dequeueInputBuffer(mCodec, kQDeQTimeOutUs) >= in testDequeueInputBufferInRunningState()
377 if (AMediaCodec_dequeueInputBuffer(mCodec, kQDeQTimeOutUs) >= in testDequeueInputBufferInUnInitState()
385 if (AMediaCodec_dequeueInputBuffer(mCodec, kQDeQTimeOutUs) >= -1) { in testDequeueInputBufferInUnInitState()
401 if (AMediaCodec_dequeueOutputBuffer(mCodec, &outInfo, kQDeQTimeOutUs) >= in testDequeueOutputBufferInInitState()
421 if (AMediaCodec_dequeueOutputBuffer(mCodec, &outInfo, kQDeQTimeOutUs) >= in testDequeueOutputBufferInRunningState()
441 if (AMediaCodec_dequeueOutputBuffer(mCodec, &outInfo, kQDeQTimeOutUs) >= in testDequeueOutputBufferInUnInitState()
449 if (AMediaCodec_dequeueOutputBuffer(mCodec, &outInfo, kQDeQTimeOutUs) >= in testDequeueOutputBufferInUnInitState()
873 bufferIndex = AMediaCodec_dequeueOutputBuffer(mCodec, &outInfo, kQDeQTimeOutUs); in testGetOutputBufferInRunningState()
1342 bufferIndex = AMediaCodec_dequeueOutputBuffer(mCodec, &outInfo, kQDeQTimeOutUs); in testReleaseOutputBufferInRunningState()
[all …]
DNativeMediaCommon.cpp55 const long kQDeQTimeOutUs = 5000; // block at most 5ms while looking for io buffers variable