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()
DEncodeDecodeTest.java641 int inputBufIndex = encoder.dequeueInputBuffer(TIMEOUT_USEC); in doEncodeDecodeVideoFromBuffer() local
642 if (VERBOSE) Log.d(TAG, "inputBufIndex=" + inputBufIndex); in doEncodeDecodeVideoFromBuffer()
643 if (inputBufIndex >= 0) { in doEncodeDecodeVideoFromBuffer()
649 encoder.queueInputBuffer(inputBufIndex, 0, 0, ptsUsec, in doEncodeDecodeVideoFromBuffer()
656 ByteBuffer inputBuf = encoderInputBuffers[inputBufIndex]; in doEncodeDecodeVideoFromBuffer()
662 encoder.queueInputBuffer(inputBufIndex, 0, frameData.length, ptsUsec, 0); in doEncodeDecodeVideoFromBuffer()
730 int inputBufIndex = decoder.dequeueInputBuffer(TIMEOUT_USEC); in doEncodeDecodeVideoFromBuffer() local
731 if (inputBufIndex >= 0) { in doEncodeDecodeVideoFromBuffer()
732 ByteBuffer inputBuf = decoderInputBuffers[inputBufIndex]; in doEncodeDecodeVideoFromBuffer()
735 decoder.queueInputBuffer(inputBufIndex, 0, info.size, in doEncodeDecodeVideoFromBuffer()
[all …]
DVideoDecoderPerfTest.java173 int inputBufIndex = codec.dequeueInputBuffer(kTimeOutUs); in doDecode() local
175 if (inputBufIndex >= 0) { in doDecode()
176 ByteBuffer dstBuf = codecInputBuffers[inputBufIndex]; in doDecode()
193 inputBufIndex, in doDecode()
200 … "codec.dequeueInputBuffer() unrecognized return value: " + inputBufIndex, in doDecode()
201 MediaCodec.INFO_TRY_AGAIN_LATER, inputBufIndex); in doDecode()
DDecoderTest.java1307 int inputBufIndex = codec.dequeueInputBuffer(kTimeOutUs);
1309 if (inputBufIndex >= 0) {
1310 ByteBuffer dstBuf = codecInputBuffers[inputBufIndex];
1332 inputBufIndex,
1440 int inputBufIndex = codec.dequeueInputBuffer(-1);
1441 if (inputBufIndex < 0) {
1446 codecInputBuffers[inputBufIndex].put(csd);
1448 inputBufIndex,
2158 int inputBufIndex = codec.dequeueInputBuffer(kTimeOutUs);
2160 if (inputBufIndex >= 0) {
[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/tests/video/src/android/video/cts/
DVideoEncoderDecoderTest.java1043 int inputBufIndex = codec.dequeueInputBuffer(VIDEO_CODEC_WAIT_TIME_US); in runDecoder() local
1045 if (inputBufIndex >= 0) { in runDecoder()
1046 ByteBuffer dstBuf = codecInputBuffers[inputBufIndex]; in runDecoder()
1059 inputBufIndex, in runDecoder()