Home
last modified time | relevance | path

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

/cts/tests/video/src/android/video/cts/
DCodecDecoderPerformanceTestBase.java67 int inputBufIndex = mDecoder.dequeueInputBuffer(Q_DEQ_TIMEOUT_US); in doWork() local
68 if (inputBufIndex >= 0) { in doWork()
69 enqueueDecoderInput(inputBufIndex); in doWork()
DCodecEncoderPerformanceTestBase.java137 int inputBufIndex = mDecoder.dequeueInputBuffer(Q_DEQ_TIMEOUT_US); in doWork() local
138 if (inputBufIndex >= 0) { in doWork()
139 enqueueDecoderInput(inputBufIndex); in doWork()
DVideoEncoderDecoderTest.java1144 int inputBufIndex = codec.dequeueInputBuffer(VIDEO_CODEC_WAIT_TIME_US); in runDecoder() local
1146 if (inputBufIndex >= 0) { in runDecoder()
1147 ByteBuffer dstBuf = codecInputBuffers[inputBufIndex]; in runDecoder()
1160 inputBufIndex, in runDecoder()
/cts/tests/tests/media/src/android/media/cts/
DDecoderTestAacFormat.java161 int inputBufIndex = decoder.dequeueInputBuffer(kTimeOutUs); in decodeUpdateFormat() local
163 if (inputBufIndex >= 0) { in decodeUpdateFormat()
164 ByteBuffer dstBuf = codecInputBuffers[inputBufIndex]; in decodeUpdateFormat()
180 inputBufIndex, in decodeUpdateFormat()
DDecodeEditEncodeTest.java488 int inputBufIndex = decoder.dequeueInputBuffer(TIMEOUT_USEC); in editVideoData() local
489 if (inputBufIndex >= 0) { in editVideoData()
492 decoder.queueInputBuffer(inputBufIndex, 0, 0, 0L, in editVideoData()
499 ByteBuffer inputBuf = decoderInputBuffers[inputBufIndex]; in editVideoData()
504 decoder.queueInputBuffer(inputBufIndex, 0, inputBuf.position(), in editVideoData()
683 int inputBufIndex = decoder.dequeueInputBuffer(TIMEOUT_USEC); in checkVideoData() local
684 if (inputBufIndex >= 0) { in checkVideoData()
687 decoder.queueInputBuffer(inputBufIndex, 0, 0, 0L, in checkVideoData()
694 ByteBuffer inputBuf = decoderInputBuffers[inputBufIndex]; in checkVideoData()
699 decoder.queueInputBuffer(inputBufIndex, 0, inputBuf.position(), in checkVideoData()
DEncodeDecodeTest.java683 int inputBufIndex = encoder.dequeueInputBuffer(TIMEOUT_USEC); in doEncodeDecodeVideoFromBuffer() local
684 if (VERBOSE) Log.d(TAG, "inputBufIndex=" + inputBufIndex); in doEncodeDecodeVideoFromBuffer()
685 if (inputBufIndex >= 0) { in doEncodeDecodeVideoFromBuffer()
691 encoder.queueInputBuffer(inputBufIndex, 0, 0, ptsUsec, in doEncodeDecodeVideoFromBuffer()
698 ByteBuffer inputBuf = encoder.getInputBuffer(inputBufIndex); in doEncodeDecodeVideoFromBuffer()
704 encoder.queueInputBuffer(inputBufIndex, 0, frameData.length, ptsUsec, 0); in doEncodeDecodeVideoFromBuffer()
772 int inputBufIndex = decoder.dequeueInputBuffer(TIMEOUT_USEC); in doEncodeDecodeVideoFromBuffer() local
773 if (inputBufIndex >= 0) { in doEncodeDecodeVideoFromBuffer()
774 ByteBuffer inputBuf = decoderInputBuffers[inputBufIndex]; in doEncodeDecodeVideoFromBuffer()
777 decoder.queueInputBuffer(inputBufIndex, 0, info.size, in doEncodeDecodeVideoFromBuffer()
[all …]
DVideoDecoderPerfTest.java211 int inputBufIndex = codec.dequeueInputBuffer(kTimeOutUs); in doDecode() local
213 if (inputBufIndex >= 0) { in doDecode()
214 ByteBuffer dstBuf = codecInputBuffers[inputBufIndex]; in doDecode()
232 inputBufIndex, in doDecode()
239 … "codec.dequeueInputBuffer() unrecognized return value: " + inputBufIndex, in doDecode()
240 MediaCodec.INFO_TRY_AGAIN_LATER, inputBufIndex); in doDecode()
DDecoderTestAacDrc.java625 int inputBufIndex = codec.dequeueInputBuffer(kTimeOutUs); in decodeToMemory() local
627 if (inputBufIndex >= 0) { in decodeToMemory()
628 ByteBuffer dstBuf = codecInputBuffers[inputBufIndex]; in decodeToMemory()
650 inputBufIndex, in decodeToMemory()
DImageReaderDecoderTest.java517 int inputBufIndex = decoder.dequeueInputBuffer(DEFAULT_TIMEOUT_US); in decodeFramesToImage() local
518 if (inputBufIndex >= 0) { in decodeFramesToImage()
519 ByteBuffer dstBuf = decoderInputBuffers[inputBufIndex]; in decodeFramesToImage()
524 + inputBufIndex + "/" + sampleSize); in decodeFramesToImage()
537 inputBufIndex, in decodeFramesToImage()
DEncodeVirtualDisplayTest.java447 int inputBufIndex = decoder.dequeueInputBuffer(-1); in doTestEncodeVirtual() local
448 ByteBuffer inputBuf = decoderInputBuffers[inputBufIndex]; in doTestEncodeVirtual()
451 decoder.queueInputBuffer(inputBufIndex, 0, info.size, in doTestEncodeVirtual()
DDecoderTest.java2174 int inputBufIndex = codec.dequeueInputBuffer(kTimeOutUs);
2176 if (inputBufIndex >= 0) {
2177 ByteBuffer dstBuf = codecInputBuffers[inputBufIndex];
2199 inputBufIndex,
2307 int inputBufIndex = codec.dequeueInputBuffer(-1);
2308 if (inputBufIndex < 0) {
2313 codecInputBuffers[inputBufIndex].put(csd);
2315 inputBufIndex,
3111 int inputBufIndex = codec.dequeueInputBuffer(kTimeOutUs);
3113 if (inputBufIndex >= 0) {
[all …]
DDecoderTestXheAac.java1365 int inputBufIndex = codec.dequeueInputBuffer(kTimeOutUs);
1367 if (inputBufIndex >= 0) {
1368 ByteBuffer dstBuf = codecInputBuffers[inputBufIndex];
1392 inputBufIndex,
DVideoCodecTestBase.java611 int inputBufIndex = decoder.dequeueInputBuffer(DEFAULT_DEQUEUE_TIMEOUT_US); in decode() local
612 if (inputBufIndex >= 0) { in decode()
620 inputBuffers[inputBufIndex].clear(); in decode()
621 inputBuffers[inputBufIndex].put(frame); in decode()
622 inputBuffers[inputBufIndex].rewind(); in decode()
626 inputBufIndex, in decode()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DSoundPlayerObject.java152 final int inputBufIndex = mCodec.dequeueInputBuffer(TIME_OUT_US); in run() local
153 if (inputBufIndex >= 0) { in run()
154 ByteBuffer encodedBuf = mCodec.getInputBuffer(inputBufIndex); in run()
165 mCodec.queueInputBuffer(inputBufIndex, 0/*offset*/, in run()
/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/
DMediaTranscodingTestUtil.java246 int inputBufIndex = codec.dequeueInputBuffer(kTimeOutUs); in decodeMp4ToYuv() local
248 if (inputBufIndex >= 0) { in decodeMp4ToYuv()
249 ByteBuffer dstBuf = inputBuffers[inputBufIndex]; in decodeMp4ToYuv()
262 inputBufIndex, in decodeMp4ToYuv()