Home
last modified time | relevance | path

Searched refs:outputBufferId (Results 1 – 11 of 11) sorted by relevance

/cts/tests/mediapc/src/android/mediapc/cts/
DCodecTranscoderTestBase.java243 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 …]
DCodecTestBase.java356 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 …]
DCodecInitializationLatencyTest.java506 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/
DCodecEncoderSurfaceTestBase.java378 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 …]
DCodecDecoderTestBase.java319 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()
DCodecTestBase.java1323 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/
DDecoderLowLatencyTest.java254 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()
DDecoderRenderTest.java417 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/
DCodecEncoderPerformanceTestBase.java190 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/
DCodecDecoderDetachedSurfaceTest.java213 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()
DEncodeDecodeAccuracyTest.java363 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()