/cts/tests/tests/media/src/android/media/cts/ |
D | DecodeEditEncodeTest.java | 467 int inputBufIndex = decoder.dequeueInputBuffer(TIMEOUT_USEC); in editVideoData() local 468 if (inputBufIndex >= 0) { in editVideoData() 471 decoder.queueInputBuffer(inputBufIndex, 0, 0, 0L, in editVideoData() 478 ByteBuffer inputBuf = decoderInputBuffers[inputBufIndex]; in editVideoData() 483 decoder.queueInputBuffer(inputBufIndex, 0, inputBuf.position(), in editVideoData() 661 int inputBufIndex = decoder.dequeueInputBuffer(TIMEOUT_USEC); in checkVideoData() local 662 if (inputBufIndex >= 0) { in checkVideoData() 665 decoder.queueInputBuffer(inputBufIndex, 0, 0, 0L, in checkVideoData() 672 ByteBuffer inputBuf = decoderInputBuffers[inputBufIndex]; in checkVideoData() 677 decoder.queueInputBuffer(inputBufIndex, 0, inputBuf.position(), in checkVideoData()
|
D | VideoDecoderPerfTest.java | 207 int inputBufIndex = codec.dequeueInputBuffer(kTimeOutUs); in doDecode() local 209 if (inputBufIndex >= 0) { in doDecode() 210 ByteBuffer dstBuf = codecInputBuffers[inputBufIndex]; in doDecode() 228 inputBufIndex, in doDecode() 235 … "codec.dequeueInputBuffer() unrecognized return value: " + inputBufIndex, in doDecode() 236 MediaCodec.INFO_TRY_AGAIN_LATER, inputBufIndex); in doDecode()
|
D | EncodeDecodeTest.java | 602 int inputBufIndex = encoder.dequeueInputBuffer(TIMEOUT_USEC); in doEncodeDecodeVideoFromBuffer() local 603 if (VERBOSE) Log.d(TAG, "inputBufIndex=" + inputBufIndex); in doEncodeDecodeVideoFromBuffer() 604 if (inputBufIndex >= 0) { in doEncodeDecodeVideoFromBuffer() 610 encoder.queueInputBuffer(inputBufIndex, 0, 0, ptsUsec, in doEncodeDecodeVideoFromBuffer() 617 ByteBuffer inputBuf = encoderInputBuffers[inputBufIndex]; in doEncodeDecodeVideoFromBuffer() 623 encoder.queueInputBuffer(inputBufIndex, 0, frameData.length, ptsUsec, 0); in doEncodeDecodeVideoFromBuffer() 699 int inputBufIndex = decoder.dequeueInputBuffer(-1); in doEncodeDecodeVideoFromBuffer() local 700 ByteBuffer inputBuf = decoderInputBuffers[inputBufIndex]; in doEncodeDecodeVideoFromBuffer() 703 decoder.queueInputBuffer(inputBufIndex, 0, info.size, in doEncodeDecodeVideoFromBuffer() 976 int inputBufIndex = decoder.dequeueInputBuffer(-1); in doEncodeDecodeVideoFromSurfaceToSurface() local [all …]
|
D | DecoderTest.java | 680 int inputBufIndex = codec.dequeueInputBuffer(kTimeOutUs); in decodeToMemory() local 682 if (inputBufIndex >= 0) { in decodeToMemory() 683 ByteBuffer dstBuf = codecInputBuffers[inputBufIndex]; in decodeToMemory() 705 inputBufIndex, in decodeToMemory() 812 int inputBufIndex = codec.dequeueInputBuffer(-1); in queueConfig() local 813 if (inputBufIndex < 0) { in queueConfig() 818 codecInputBuffers[inputBufIndex].put(csd); in queueConfig() 820 inputBufIndex, in queueConfig() 1460 int inputBufIndex = codec.dequeueInputBuffer(kTimeOutUs); in decodeWithChecks() local 1462 if (inputBufIndex >= 0) { in decodeWithChecks() [all …]
|
D | EncodeVirtualDisplayTest.java | 427 int inputBufIndex = decoder.dequeueInputBuffer(-1); in doTestEncodeVirtual() local 428 ByteBuffer inputBuf = decoderInputBuffers[inputBufIndex]; in doTestEncodeVirtual() 431 decoder.queueInputBuffer(inputBufIndex, 0, info.size, in doTestEncodeVirtual()
|
D | ImageReaderDecoderTest.java | 495 int inputBufIndex = decoder.dequeueInputBuffer(DEFAULT_TIMEOUT_US); in decodeFramesToImage() local 496 if (inputBufIndex >= 0) { in decodeFramesToImage() 497 ByteBuffer dstBuf = decoderInputBuffers[inputBufIndex]; in decodeFramesToImage() 502 + inputBufIndex + "/" + sampleSize); in decodeFramesToImage() 515 inputBufIndex, in decodeFramesToImage()
|
D | Vp8CodecTestBase.java | 572 int inputBufIndex = decoder.dequeueInputBuffer(DEFAULT_DEQUEUE_TIMEOUT_US); in decode() local 573 if (inputBufIndex >= 0) { in decode() 581 inputBuffers[inputBufIndex].clear(); in decode() 582 inputBuffers[inputBufIndex].put(frame); in decode() 583 inputBuffers[inputBufIndex].rewind(); in decode() 587 inputBufIndex, in decode()
|
/cts/suite/cts/deviceTests/videoperf/src/com/android/cts/videoperf/ |
D | VideoEncoderDecoderTest.java | 945 int inputBufIndex = codec.dequeueInputBuffer(VIDEO_CODEC_WAIT_TIME_US); in runDecoder() local 947 if (inputBufIndex >= 0) { in runDecoder() 948 ByteBuffer dstBuf = codecInputBuffers[inputBufIndex]; in runDecoder() 961 inputBufIndex, in runDecoder()
|