Searched refs:decoderStatus (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | DecodeEditEncodeTest.java | 564 int decoderStatus = decoder.dequeueOutputBuffer(info, TIMEOUT_USEC); in editVideoData() local 565 if (decoderStatus == MediaCodec.INFO_TRY_AGAIN_LATER) { in editVideoData() 569 } else if (decoderStatus == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) { in editVideoData() 572 } else if (decoderStatus == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in editVideoData() 576 } else if (decoderStatus < 0) { in editVideoData() 577 fail("unexpected result from decoder.dequeueOutputBuffer: "+decoderStatus); in editVideoData() 580 + decoderStatus + " (size=" + info.size + ")"); in editVideoData() 590 decoder.releaseOutputBuffer(decoderStatus, doRender); in editVideoData() 713 int decoderStatus = decoder.dequeueOutputBuffer(info, TIMEOUT_USEC); in checkVideoData() local 714 if (decoderStatus == MediaCodec.INFO_TRY_AGAIN_LATER) { in checkVideoData() [all …]
|
D | EncodeDecodeTest.java | 816 int decoderStatus = decoder.dequeueOutputBuffer(info, TIMEOUT_USEC); in doEncodeDecodeVideoFromBuffer() local 817 if (decoderStatus == MediaCodec.INFO_TRY_AGAIN_LATER) { in doEncodeDecodeVideoFromBuffer() 820 } else if (decoderStatus == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) { in doEncodeDecodeVideoFromBuffer() 826 } else if (decoderStatus == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in doEncodeDecodeVideoFromBuffer() 831 } else if (decoderStatus < 0) { in doEncodeDecodeVideoFromBuffer() 832 fail("unexpected result from deocder.dequeueOutputBuffer: " + decoderStatus); in doEncodeDecodeVideoFromBuffer() 835 ByteBuffer outputFrame = decoderOutputBuffers[decoderStatus]; in doEncodeDecodeVideoFromBuffer() 836 … Image outputImage = (checkIndex % 2 == 0) ? null : decoder.getOutputImage(decoderStatus); in doEncodeDecodeVideoFromBuffer() 860 decoder.releaseOutputBuffer(decoderStatus, false /*render*/); in doEncodeDecodeVideoFromBuffer() 862 if (VERBOSE) Log.d(TAG, "surface decoder given buffer " + decoderStatus + in doEncodeDecodeVideoFromBuffer() [all …]
|
D | EncodeVirtualDisplayTest.java | 337 int decoderStatus = decoder.dequeueOutputBuffer(info, TIMEOUT_USEC); in doTestEncodeVirtual() local 338 if (decoderStatus == MediaCodec.INFO_TRY_AGAIN_LATER) { in doTestEncodeVirtual() 342 } else if (decoderStatus == MediaCodec.INFO_OUTPUT_BUFFERS_CHANGED) { in doTestEncodeVirtual() 344 } else if (decoderStatus == MediaCodec.INFO_OUTPUT_FORMAT_CHANGED) { in doTestEncodeVirtual() 349 } else if (decoderStatus < 0) { in doTestEncodeVirtual() 350 fail("unexpected result from deocder.dequeueOutputBuffer: " + decoderStatus); in doTestEncodeVirtual() 352 if (VERBOSE) Log.d(TAG, "surface decoder given buffer " + decoderStatus + in doTestEncodeVirtual() 369 decoder.releaseOutputBuffer(decoderStatus, doRender); in doTestEncodeVirtual() 398 if (decoderStatus != MediaCodec.INFO_TRY_AGAIN_LATER) { in doTestEncodeVirtual()
|
D | DecodeAccuracyTestBase.java | 331 final int decoderStatus = decoder.dequeueOutputBuffer(info, DEQUEUE_TIMEOUT_US); in dequeueDecoderOutputBuffer() local 335 if (decoderStatus >= 0) { in dequeueDecoderOutputBuffer() 345 outputBuffer = decoder.getOutputBuffers()[decoderStatus]; in dequeueDecoderOutputBuffer() 347 outputBuffer = decoder.getOutputBuffer(decoderStatus); in dequeueDecoderOutputBuffer() 353 decoder.releaseOutputBuffer(decoderStatus, renderToSurface); in dequeueDecoderOutputBuffer()
|