/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 | 238 int inputBufIndex = codec.dequeueInputBuffer(kTimeOutUs); in doDecode() local 240 if (inputBufIndex >= 0) { in doDecode() 241 ByteBuffer dstBuf = codecInputBuffers[inputBufIndex]; in doDecode() 259 inputBufIndex, in doDecode() 266 … "codec.dequeueInputBuffer() unrecognized return value: " + inputBufIndex, in doDecode() 267 MediaCodec.INFO_TRY_AGAIN_LATER, inputBufIndex); in doDecode()
|
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 | DecoderTest.java | 1649 int inputBufIndex = codec.dequeueInputBuffer(kTimeOutUs); 1651 if (inputBufIndex >= 0) { 1652 ByteBuffer dstBuf = codecInputBuffers[inputBufIndex]; 1674 inputBufIndex, 1782 int inputBufIndex = codec.dequeueInputBuffer(-1); 1783 if (inputBufIndex < 0) { 1788 codecInputBuffers[inputBufIndex].put(csd); 1790 inputBufIndex, 2631 int inputBufIndex = codec.dequeueInputBuffer(kTimeOutUs); 2633 if (inputBufIndex >= 0) { [all …]
|
D | EncodeVirtualDisplayTest.java | 431 int inputBufIndex = decoder.dequeueInputBuffer(-1); in doTestEncodeVirtual() local 432 ByteBuffer inputBuf = decoderInputBuffers[inputBufIndex]; in doTestEncodeVirtual() 435 decoder.queueInputBuffer(inputBufIndex, 0, info.size, in doTestEncodeVirtual()
|
D | DecoderTestXheAac.java | 888 int inputBufIndex = codec.dequeueInputBuffer(kTimeOutUs); 890 if (inputBufIndex >= 0) { 891 ByteBuffer dstBuf = codecInputBuffers[inputBufIndex]; 915 inputBufIndex,
|
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/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()
|