Searched refs:decoderStatus (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | EncodeDecodeTest.java | 703 int decoderStatus = decoder.dequeueOutputBuffer(info, TIMEOUT_USEC); in doEncodeDecodeVideoFromBuffer() local 704 if (decoderStatus == MediaCodec.INFO_TRY_AGAIN_LATER) { in doEncodeDecodeVideoFromBuffer() 707 } else if (decoderStatus == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) { in doEncodeDecodeVideoFromBuffer() 713 } else if (decoderStatus == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in doEncodeDecodeVideoFromBuffer() 718 } else if (decoderStatus < 0) { in doEncodeDecodeVideoFromBuffer() 719 fail("unexpected result from decoder.dequeueOutputBuffer: " + decoderStatus); in doEncodeDecodeVideoFromBuffer() 722 ByteBuffer outputFrame = decoderOutputBuffers[decoderStatus]; in doEncodeDecodeVideoFromBuffer() 723 … Image outputImage = (checkIndex % 2 == 0) ? null : decoder.getOutputImage(decoderStatus); in doEncodeDecodeVideoFromBuffer() 747 decoder.releaseOutputBuffer(decoderStatus, false /*render*/); in doEncodeDecodeVideoFromBuffer() 749 if (VERBOSE) Log.d(TAG, "surface decoder given buffer " + decoderStatus + in doEncodeDecodeVideoFromBuffer() [all …]
|
D | DecodeEditEncodeTest.java | 732 int decoderStatus = decoder.dequeueOutputBuffer(info, TIMEOUT_USEC); in editVideoData() local 733 if (decoderStatus == MediaCodec.INFO_TRY_AGAIN_LATER) { in editVideoData() 737 } else if (decoderStatus == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) { in editVideoData() 740 } else if (decoderStatus == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in editVideoData() 744 } else if (decoderStatus < 0) { in editVideoData() 745 fail("unexpected result from decoder.dequeueOutputBuffer: "+decoderStatus); in editVideoData() 748 + decoderStatus + " (size=" + info.size + ")"); in editVideoData() 758 decoder.releaseOutputBuffer(decoderStatus, doRender); in editVideoData() 881 int decoderStatus = decoder.dequeueOutputBuffer(info, TIMEOUT_USEC); in checkVideoData() local 882 if (decoderStatus == MediaCodec.INFO_TRY_AGAIN_LATER) { in checkVideoData() [all …]
|
D | EncodeVirtualDisplayTest.java | 357 int decoderStatus = decoder.dequeueOutputBuffer(info, TIMEOUT_USEC); in doTestEncodeVirtual() local 358 if (decoderStatus == MediaCodec.INFO_TRY_AGAIN_LATER) { in doTestEncodeVirtual() 362 } else if (decoderStatus == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) { in doTestEncodeVirtual() 364 } else if (decoderStatus == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in doTestEncodeVirtual() 369 } else if (decoderStatus < 0) { in doTestEncodeVirtual() 370 fail("unexpected result from decoder.dequeueOutputBuffer: " + decoderStatus); in doTestEncodeVirtual() 372 if (VERBOSE) Log.d(TAG, "surface decoder given buffer " + decoderStatus + in doTestEncodeVirtual() 389 decoder.releaseOutputBuffer(decoderStatus, doRender); in doTestEncodeVirtual() 418 if (decoderStatus != MediaCodec.INFO_TRY_AGAIN_LATER) { in doTestEncodeVirtual()
|
/cts/tests/videocodec/src/android/videocodec/cts/ |
D | VideoDecodeEditEncodeTest.java | 604 int decoderStatus = decoder.dequeueOutputBuffer(info, Q_DEQ_TIMEOUT_US); in editVideoData() local 605 if (decoderStatus == MediaCodec.INFO_TRY_AGAIN_LATER) { in editVideoData() 611 } else if (decoderStatus == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) { in editVideoData() 616 } else if (decoderStatus == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in editVideoData() 622 } else if (decoderStatus < 0) { in editVideoData() 624 + decoderStatus); in editVideoData() 627 Log.d(LOG_TAG, "surface decoder given buffer " + decoderStatus in editVideoData() 639 decoder.releaseOutputBuffer(decoderStatus, doRender); in editVideoData()
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | DecodeAccuracyTestBase.java | 334 final int decoderStatus = decoder.dequeueOutputBuffer(info, DEQUEUE_TIMEOUT_US); in dequeueDecoderOutputBuffer() local 338 if (decoderStatus >= 0) { in dequeueDecoderOutputBuffer() 348 outputBuffer = decoder.getOutputBuffers()[decoderStatus]; in dequeueDecoderOutputBuffer() 350 outputBuffer = decoder.getOutputBuffer(decoderStatus); in dequeueDecoderOutputBuffer() 356 decoder.releaseOutputBuffer(decoderStatus, renderToSurface); in dequeueDecoderOutputBuffer()
|