/cts/tests/mediapc/src/android/mediapc/cts/ |
D | CodecTranscoderTestBase.java | 243 int outputBufferId = mEncoder.dequeueOutputBuffer(outInfo, timeOutUs); in tryEncoderOutput() local 244 if (outputBufferId >= 0) { in tryEncoderOutput() 245 dequeueEncoderOutput(outputBufferId, outInfo); in tryEncoderOutput() 246 } else if (outputBufferId == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in tryEncoderOutput() 283 int outputBufferId = in queueEOS() local 285 if (outputBufferId >= 0) { in queueEOS() 286 dequeueDecoderOutput(outputBufferId, outInfo); in queueEOS() 306 int outputBufferId = in queueEOS() local 308 if (outputBufferId >= 0) { in queueEOS() 309 dequeueDecoderOutput(outputBufferId, outInfo); in queueEOS() [all …]
|
D | CodecTestBase.java | 356 int outputBufferId = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in doWork() local 357 if (outputBufferId >= 0) { in doWork() 358 dequeueOutput(outputBufferId, outInfo); in doWork() 359 } else if (outputBufferId == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in doWork() 389 int outputBufferId = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in queueEOS() local 390 if (outputBufferId >= 0) { in queueEOS() 391 dequeueOutput(outputBufferId, outInfo); in queueEOS() 392 } else if (outputBufferId == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in queueEOS() 415 int outputBufferId = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in waitForAllOutputs() local 416 if (outputBufferId >= 0) { in waitForAllOutputs() [all …]
|
D | CodecInitializationLatencyTest.java | 506 int outputBufferId = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in calculateInitLatency() local 507 if (outputBufferId >= 0) { in calculateInitLatency() 509 dequeueOutput(outputBufferId, outInfo); in calculateInitLatency() 609 int outputBufferId = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in calculateInitLatency() local 610 if (outputBufferId >= 0) { in calculateInitLatency() 612 dequeueOutput(outputBufferId, outInfo); in calculateInitLatency()
|
/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | CodecEncoderSurfaceTestBase.java | 378 int outputBufferId = mEncoder.dequeueOutputBuffer(outInfo, timeOutUs); in tryEncoderOutput() local 379 if (outputBufferId >= 0) { in tryEncoderOutput() 380 dequeueEncoderOutput(outputBufferId, outInfo); in tryEncoderOutput() 381 } else if (outputBufferId == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in tryEncoderOutput() 406 int outputBufferId = in queueEOS() local 408 if (outputBufferId >= 0) { in queueEOS() 409 dequeueDecoderOutput(outputBufferId, outInfo); in queueEOS() 429 int outputBufferId = in queueEOS() local 431 if (outputBufferId >= 0) { in queueEOS() 432 dequeueDecoderOutput(outputBufferId, outInfo); in queueEOS() [all …]
|
D | CodecDecoderTestBase.java | 319 int outputBufferId = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in doWork() local 320 if (outputBufferId >= 0) { in doWork() 321 dequeueOutput(outputBufferId, outInfo); in doWork() 322 } else if (outputBufferId == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in doWork()
|
D | CodecTestBase.java | 1323 int outputBufferId = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in doWork() local 1324 if (outputBufferId >= 0) { in doWork() 1325 dequeueOutput(outputBufferId, outInfo); in doWork() 1326 } else if (outputBufferId == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in doWork() 1356 int outputBufferId = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in queueEOS() local 1357 if (outputBufferId >= 0) { in queueEOS() 1358 dequeueOutput(outputBufferId, outInfo); in queueEOS() 1359 } else if (outputBufferId == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in queueEOS() 1382 int outputBufferId = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in waitForAllOutputs() local 1383 if (outputBufferId >= 0) { in waitForAllOutputs() [all …]
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | DecoderLowLatencyTest.java | 254 int outputBufferId = decoder.dequeueOutputBuffer(info, kTimeOutUs); in testLowLatencyVideo() local 256 if (outputBufferId >= 0) { in testLowLatencyVideo() 261 decoder.releaseOutputBuffer(outputBufferId, false /* render */); in testLowLatencyVideo() 262 } else if (outputBufferId == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) { in testLowLatencyVideo() 265 } else if (outputBufferId == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in testLowLatencyVideo() 269 fail("No output buffer returned without frame delay, status " + outputBufferId); in testLowLatencyVideo()
|
D | DecoderRenderTest.java | 417 int outputBufferId = videoCodec.dequeueOutputBuffer(bufferInfo, dequeueTimeOutUs); in primeVideoPipeline() local 418 if (outputBufferId >= 0) { in primeVideoPipeline() 419 videoCodec.releaseOutputBuffer(outputBufferId, true); in primeVideoPipeline()
|
/cts/tests/video/src/android/video/cts/ |
D | CodecEncoderPerformanceTestBase.java | 190 int outputBufferId = mEncoder.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in doWork() local 191 if (outputBufferId >= 0) { in doWork() 192 dequeueEncoderOutput(outputBufferId, outInfo); in doWork()
|
/cts/tests/media/src/android/mediav2/cts/ |
D | CodecDecoderDetachedSurfaceTest.java | 213 int outputBufferId = mCodec.dequeueOutputBuffer(outInfo, Q_DEQ_TIMEOUT_US); in doWork() local 214 if (outputBufferId >= 0) { in doWork() 215 dequeueOutput(outputBufferId, outInfo); in doWork() 216 } else if (outputBufferId == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in doWork()
|
D | EncodeDecodeAccuracyTest.java | 363 int outputBufferId = mEncoder.dequeueOutputBuffer(outInfo, timeOutUs); in tryEncoderOutput() local 364 if (outputBufferId >= 0) { in tryEncoderOutput() 365 dequeueEncoderOutput(outputBufferId, outInfo); in tryEncoderOutput() 366 } else if (outputBufferId == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in tryEncoderOutput()
|