Home
last modified time | relevance | path

Searched refs:inputBufIndex (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DDecodeEditEncodeTest.java467 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()
DVideoDecoderPerfTest.java207 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()
DEncodeDecodeTest.java602 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 …]
DDecoderTest.java680 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 …]
DEncodeVirtualDisplayTest.java427 int inputBufIndex = decoder.dequeueInputBuffer(-1); in doTestEncodeVirtual() local
428 ByteBuffer inputBuf = decoderInputBuffers[inputBufIndex]; in doTestEncodeVirtual()
431 decoder.queueInputBuffer(inputBufIndex, 0, info.size, in doTestEncodeVirtual()
DImageReaderDecoderTest.java495 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()
DVp8CodecTestBase.java572 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/
DVideoEncoderDecoderTest.java945 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()