Searched refs:decoderStatus (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | DecodeEditEncodeTest.java | 543 int decoderStatus = decoder.dequeueOutputBuffer(info, TIMEOUT_USEC); in editVideoData() local 544 if (decoderStatus == MediaCodec.INFO_TRY_AGAIN_LATER) { in editVideoData() 548 } else if (decoderStatus == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) { in editVideoData() 551 } else if (decoderStatus == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in editVideoData() 555 } else if (decoderStatus < 0) { in editVideoData() 556 fail("unexpected result from decoder.dequeueOutputBuffer: "+decoderStatus); in editVideoData() 559 + decoderStatus + " (size=" + info.size + ")"); in editVideoData() 569 decoder.releaseOutputBuffer(decoderStatus, doRender); in editVideoData() 691 int decoderStatus = decoder.dequeueOutputBuffer(info, TIMEOUT_USEC); in checkVideoData() local 692 if (decoderStatus == MediaCodec.INFO_TRY_AGAIN_LATER) { in checkVideoData() [all …]
|
D | EncodeVirtualDisplayTest.java | 313 int decoderStatus = decoder.dequeueOutputBuffer(info, TIMEOUT_USEC); in doTestEncodeVirtual() local 314 if (decoderStatus == MediaCodec.INFO_TRY_AGAIN_LATER) { in doTestEncodeVirtual() 318 } else if (decoderStatus == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) { in doTestEncodeVirtual() 320 } else if (decoderStatus == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in doTestEncodeVirtual() 325 } else if (decoderStatus < 0) { in doTestEncodeVirtual() 326 fail("unexpected result from deocder.dequeueOutputBuffer: " + decoderStatus); in doTestEncodeVirtual() 328 if (VERBOSE) Log.d(TAG, "surface decoder given buffer " + decoderStatus + in doTestEncodeVirtual() 345 decoder.releaseOutputBuffer(decoderStatus, doRender); in doTestEncodeVirtual() 374 if (decoderStatus != MediaCodec.INFO_TRY_AGAIN_LATER) { in doTestEncodeVirtual()
|
D | EncodeDecodeTest.java | 774 int decoderStatus = decoder.dequeueOutputBuffer(info, TIMEOUT_USEC); in doEncodeDecodeVideoFromBuffer() local 775 if (decoderStatus == MediaCodec.INFO_TRY_AGAIN_LATER) { in doEncodeDecodeVideoFromBuffer() 778 } else if (decoderStatus == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) { in doEncodeDecodeVideoFromBuffer() 784 } else if (decoderStatus == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in doEncodeDecodeVideoFromBuffer() 789 } else if (decoderStatus < 0) { in doEncodeDecodeVideoFromBuffer() 790 fail("unexpected result from deocder.dequeueOutputBuffer: " + decoderStatus); in doEncodeDecodeVideoFromBuffer() 793 ByteBuffer outputFrame = decoderOutputBuffers[decoderStatus]; in doEncodeDecodeVideoFromBuffer() 794 … Image outputImage = (checkIndex % 2 == 0) ? null : decoder.getOutputImage(decoderStatus); in doEncodeDecodeVideoFromBuffer() 818 decoder.releaseOutputBuffer(decoderStatus, false /*render*/); in doEncodeDecodeVideoFromBuffer() 820 if (VERBOSE) Log.d(TAG, "surface decoder given buffer " + decoderStatus + in doEncodeDecodeVideoFromBuffer() [all …]
|
D | DecodeAccuracyTestBase.java | 213 int decoderStatus = decoder.dequeueOutputBuffer(info, DEQUEUE_TIMEOUT_US); in decodeFramesAndDisplay() local 217 if (decoderStatus >= 0 && info.size > 0) { in decodeFramesAndDisplay() 218 decoder.releaseOutputBuffer(decoderStatus, renderToSurface); in decodeFramesAndDisplay()
|