/cts/tests/tests/media/src/android/media/cts/ |
D | DecodeEditEncodeTest.java | 476 int inputBufIndex = decoder.dequeueInputBuffer(TIMEOUT_USEC); in editVideoData() local 477 if (inputBufIndex >= 0) { in editVideoData() 480 decoder.queueInputBuffer(inputBufIndex, 0, 0, 0L, in editVideoData() 487 ByteBuffer inputBuf = decoderInputBuffers[inputBufIndex]; in editVideoData() 492 decoder.queueInputBuffer(inputBufIndex, 0, inputBuf.position(), in editVideoData() 671 int inputBufIndex = decoder.dequeueInputBuffer(TIMEOUT_USEC); in checkVideoData() local 672 if (inputBufIndex >= 0) { in checkVideoData() 675 decoder.queueInputBuffer(inputBufIndex, 0, 0, 0L, in checkVideoData() 682 ByteBuffer inputBuf = decoderInputBuffers[inputBufIndex]; in checkVideoData() 687 decoder.queueInputBuffer(inputBufIndex, 0, inputBuf.position(), in checkVideoData()
|
D | EncodeDecodeTest.java | 672 int inputBufIndex = encoder.dequeueInputBuffer(TIMEOUT_USEC); in doEncodeDecodeVideoFromBuffer() local 673 if (VERBOSE) Log.d(TAG, "inputBufIndex=" + inputBufIndex); in doEncodeDecodeVideoFromBuffer() 674 if (inputBufIndex >= 0) { in doEncodeDecodeVideoFromBuffer() 680 encoder.queueInputBuffer(inputBufIndex, 0, 0, ptsUsec, in doEncodeDecodeVideoFromBuffer() 687 ByteBuffer inputBuf = encoder.getInputBuffer(inputBufIndex); in doEncodeDecodeVideoFromBuffer() 693 encoder.queueInputBuffer(inputBufIndex, 0, frameData.length, ptsUsec, 0); in doEncodeDecodeVideoFromBuffer() 761 int inputBufIndex = decoder.dequeueInputBuffer(TIMEOUT_USEC); in doEncodeDecodeVideoFromBuffer() local 762 if (inputBufIndex >= 0) { in doEncodeDecodeVideoFromBuffer() 763 ByteBuffer inputBuf = decoderInputBuffers[inputBufIndex]; in doEncodeDecodeVideoFromBuffer() 766 decoder.queueInputBuffer(inputBufIndex, 0, info.size, in doEncodeDecodeVideoFromBuffer() [all …]
|
D | DecoderTestAacDrc.java | 458 int inputBufIndex = codec.dequeueInputBuffer(kTimeOutUs); in decodeToMemory() local 460 if (inputBufIndex >= 0) { in decodeToMemory() 461 ByteBuffer dstBuf = codecInputBuffers[inputBufIndex]; in decodeToMemory() 483 inputBufIndex, in decodeToMemory()
|
D | VideoDecoderPerfTest.java | 244 int inputBufIndex = codec.dequeueInputBuffer(kTimeOutUs); in doDecode() local 246 if (inputBufIndex >= 0) { in doDecode() 247 ByteBuffer dstBuf = codecInputBuffers[inputBufIndex]; in doDecode() 265 inputBufIndex, in doDecode() 272 … "codec.dequeueInputBuffer() unrecognized return value: " + inputBufIndex, in doDecode() 273 MediaCodec.INFO_TRY_AGAIN_LATER, inputBufIndex); in doDecode()
|
D | DecoderTest.java | 1733 int inputBufIndex = codec.dequeueInputBuffer(kTimeOutUs); 1735 if (inputBufIndex >= 0) { 1736 ByteBuffer dstBuf = codecInputBuffers[inputBufIndex]; 1758 inputBufIndex, 1866 int inputBufIndex = codec.dequeueInputBuffer(-1); 1867 if (inputBufIndex < 0) { 1872 codecInputBuffers[inputBufIndex].put(csd); 1874 inputBufIndex, 2715 int inputBufIndex = codec.dequeueInputBuffer(kTimeOutUs); 2717 if (inputBufIndex >= 0) { [all …]
|
D | ImageReaderDecoderTest.java | 498 int inputBufIndex = decoder.dequeueInputBuffer(DEFAULT_TIMEOUT_US); in decodeFramesToImage() local 499 if (inputBufIndex >= 0) { in decodeFramesToImage() 500 ByteBuffer dstBuf = decoderInputBuffers[inputBufIndex]; in decodeFramesToImage() 505 + inputBufIndex + "/" + sampleSize); in decodeFramesToImage() 518 inputBufIndex, in decodeFramesToImage()
|
D | DecoderTestXheAac.java | 888 int inputBufIndex = codec.dequeueInputBuffer(kTimeOutUs); 890 if (inputBufIndex >= 0) { 891 ByteBuffer dstBuf = codecInputBuffers[inputBufIndex]; 915 inputBufIndex,
|
D | EncodeVirtualDisplayTest.java | 432 int inputBufIndex = decoder.dequeueInputBuffer(-1); in doTestEncodeVirtual() local 433 ByteBuffer inputBuf = decoderInputBuffers[inputBufIndex]; in doTestEncodeVirtual() 436 decoder.queueInputBuffer(inputBufIndex, 0, info.size, in doTestEncodeVirtual()
|
D | VpxCodecTestBase.java | 584 int inputBufIndex = decoder.dequeueInputBuffer(DEFAULT_DEQUEUE_TIMEOUT_US); in decode() local 585 if (inputBufIndex >= 0) { in decode() 593 inputBuffers[inputBufIndex].clear(); in decode() 594 inputBuffers[inputBufIndex].put(frame); in decode() 595 inputBuffers[inputBufIndex].rewind(); in decode() 599 inputBufIndex, in decode()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | SoundPlayerObject.java | 152 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/video/src/android/video/cts/ |
D | VideoEncoderDecoderTest.java | 1170 int inputBufIndex = codec.dequeueInputBuffer(VIDEO_CODEC_WAIT_TIME_US); in runDecoder() local 1172 if (inputBufIndex >= 0) { in runDecoder() 1173 ByteBuffer dstBuf = codecInputBuffers[inputBufIndex]; in runDecoder() 1186 inputBufIndex, in runDecoder()
|