Home
last modified time | relevance | path

Searched refs:outInfo (Results 1 – 10 of 10) sorted by relevance

/cts/tests/media/jni/
DNativeCodecEncoderSurfaceTest.cpp310 AMediaCodecBufferInfo outInfo; in tryEncoderOutput() local
312 int bufferID = AMediaCodec_dequeueOutputBuffer(mEncoder, &outInfo, timeOutUs); in tryEncoderOutput()
314 if (!dequeueEncoderOutput(bufferID, &outInfo)) return false; in tryEncoderOutput()
374 AMediaCodecBufferInfo outInfo; in queueEOS() local
379 AMediaCodec_dequeueOutputBuffer(mDecoder, &outInfo, kQDeQTimeOutUs); in queueEOS()
381 if (!dequeueDecoderOutput(oBufferID, &outInfo)) return false; in queueEOS()
424 AMediaCodecBufferInfo outInfo; in doWork() local
427 ssize_t oBufferID = AMediaCodec_dequeueOutputBuffer(mDecoder, &outInfo, kQDeQTimeOutUs); in doWork()
429 if (!dequeueDecoderOutput(oBufferID, &outInfo)) return false; in doWork()
DNativeCodecTestBase.cpp440 AMediaCodecBufferInfo outInfo; in doWork() local
443 ssize_t oBufferID = AMediaCodec_dequeueOutputBuffer(mCodec, &outInfo, kQDeQTimeOutUs); in doWork()
445 isOk = dequeueOutput(oBufferID, &outInfo); in doWork()
506 AMediaCodecBufferInfo outInfo; in waitForAllOutputs() local
508 int bufferID = AMediaCodec_dequeueOutputBuffer(mCodec, &outInfo, kQDeQTimeOutUs); in waitForAllOutputs()
510 isOk = dequeueOutput(bufferID, &outInfo); in waitForAllOutputs()
DNativeCodecUnitTest.cpp391 AMediaCodecBufferInfo outInfo; in testDequeueOutputBufferInInitState() local
392 if (AMediaCodec_dequeueOutputBuffer(mCodec, &outInfo, kQDeQTimeOutUs) >= in testDequeueOutputBufferInInitState()
411 AMediaCodecBufferInfo outInfo; in testDequeueOutputBufferInRunningState() local
412 if (AMediaCodec_dequeueOutputBuffer(mCodec, &outInfo, kQDeQTimeOutUs) >= in testDequeueOutputBufferInRunningState()
431 AMediaCodecBufferInfo outInfo; in testDequeueOutputBufferInUnInitState() local
432 if (AMediaCodec_dequeueOutputBuffer(mCodec, &outInfo, kQDeQTimeOutUs) >= in testDequeueOutputBufferInUnInitState()
440 if (AMediaCodec_dequeueOutputBuffer(mCodec, &outInfo, kQDeQTimeOutUs) >= in testDequeueOutputBufferInUnInitState()
833 AMediaCodecBufferInfo outInfo; in testGetOutputBufferInRunningState() local
860 bufferIndex = AMediaCodec_dequeueOutputBuffer(mCodec, &outInfo, kQDeQTimeOutUs); in testGetOutputBufferInRunningState()
866 isOk = dequeueOutput(bufferIndex, &outInfo); in testGetOutputBufferInRunningState()
[all …]
DNativeMuxerTest.cpp613 auto* outInfo = new MuxerNativeTestHelper(cdstPath); in nativeTestOffsetPts() local
614 isPass = mediaInfo->isSubsetOf(outInfo); in nativeTestOffsetPts()
618 delete outInfo; in nativeTestOffsetPts()
667 auto* outInfo = new MuxerNativeTestHelper(cdstPath, cmime); in nativeTestSimpleMux() local
668 result = mediaInfo->isSubsetOf(outInfo); in nativeTestSimpleMux()
669 delete outInfo; in nativeTestSimpleMux()
/cts/tests/media/src/android/mediav2/cts/
DCodecEncoderSurfaceTest.java318 MediaCodec.BufferInfo outInfo = new MediaCodec.BufferInfo(); in tryEncoderOutput() local
320 int outputBufferId = mEncoder.dequeueOutputBuffer(outInfo, timeOutUs); in tryEncoderOutput()
322 dequeueEncoderOutput(outputBufferId, outInfo); in tryEncoderOutput()
368 MediaCodec.BufferInfo outInfo = new MediaCodec.BufferInfo(); in queueEOS() local
371 mDecoder.dequeueOutputBuffer(outInfo, CodecTestBase.Q_DEQ_TIMEOUT_US); in queueEOS()
373 dequeueDecoderOutput(outputBufferId, outInfo); in queueEOS()
411 MediaCodec.BufferInfo outInfo = new MediaCodec.BufferInfo(); in doWork() local
421 mDecoder.dequeueOutputBuffer(outInfo, CodecTestBase.Q_DEQ_TIMEOUT_US); in doWork()
423 dequeueDecoderOutput(outputBufferId, outInfo); in doWork()
DCodecTestBase.java677 MediaCodec.BufferInfo outInfo = new MediaCodec.BufferInfo(); in doWork() local
680 int outputBufferId = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in doWork()
682 dequeueOutput(outputBufferId, outInfo); in doWork()
724 MediaCodec.BufferInfo outInfo = new MediaCodec.BufferInfo(); in waitForAllOutputs() local
726 int outputBufferId = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in waitForAllOutputs()
728 dequeueOutput(outputBufferId, outInfo); in waitForAllOutputs()
1001 MediaCodec.BufferInfo outInfo = new MediaCodec.BufferInfo(); in doWork() local
1004 int outputBufferId = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in doWork()
1006 dequeueOutput(outputBufferId, outInfo); in doWork()
DCodecUnitTest.java1149 MediaCodec.BufferInfo outInfo = new MediaCodec.BufferInfo(); in testGetOutputBufferInRunningState() local
1172 bufferIndex = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in testGetOutputBufferInRunningState()
1176 dequeueOutput(bufferIndex, outInfo); in testGetOutputBufferInRunningState()
1248 MediaCodec.BufferInfo outInfo = new MediaCodec.BufferInfo(); in testGetOutputFormatInRunningState() local
1276 bufferIndex = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in testGetOutputFormatInRunningState()
1280 dequeueOutput(bufferIndex, outInfo); in testGetOutputFormatInRunningState()
1673 MediaCodec.BufferInfo outInfo = new MediaCodec.BufferInfo(); in testGetOutputImageInRunningState() local
1694 bufferIndex = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in testGetOutputImageInRunningState()
1696 dequeueOutput(bufferIndex, outInfo); in testGetOutputImageInRunningState()
1903 MediaCodec.BufferInfo outInfo = new MediaCodec.BufferInfo(); in testReleaseOutputBufferInRunningState() local
[all …]
DMuxerTest.java760 MuxerTestHelper outInfo = new MuxerTestHelper(mOutPath); in testMultiTrack() local
761 if (!outInfo.isSubsetOf(refInfo)) { in testMultiTrack()
865 MuxerTestHelper outInfo = new MuxerTestHelper(mOutPath); in testOffsetPresentationTime() local
866 if (!outInfo.isSubsetOf(mediaInfo)) { in testOffsetPresentationTime()
1009 MuxerTestHelper outInfo = new MuxerTestHelper(mOutPath); in testSimpleMux() local
1010 if (!mediaInfo.isSubsetOf(outInfo)) { in testSimpleMux()
/cts/tests/app/src/android/app/cts/
DActivityManagerTest.java355 ActivityManager.MemoryInfo outInfo = new ActivityManager.MemoryInfo();
356 mActivityManager.getMemoryInfo(outInfo);
357 assertTrue(outInfo.lowMemory == (outInfo.availMem <= outInfo.threshold));
/cts/tests/tests/media/src/android/media/cts/
DMediaCodecCapabilitiesTest.java706 ActivityManager.MemoryInfo outInfo = new ActivityManager.MemoryInfo(); in getActualMax() local
716 am.getMemoryInfo(outInfo); in getActualMax()
717 if (outInfo.lowMemory) { in getActualMax()