Searched refs:inputBufIndex (Results 1 – 8 of 8) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | DecodeEditEncodeTest.java | 467 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()
|
D | EncodeDecodeTest.java | 641 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 …]
|
D | VideoDecoderPerfTest.java | 173 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()
|
D | DecoderTest.java | 1307 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 …]
|
D | EncodeVirtualDisplayTest.java | 427 int inputBufIndex = decoder.dequeueInputBuffer(-1); in doTestEncodeVirtual() local 428 ByteBuffer inputBuf = decoderInputBuffers[inputBufIndex]; in doTestEncodeVirtual() 431 decoder.queueInputBuffer(inputBufIndex, 0, info.size, in doTestEncodeVirtual()
|
D | ImageReaderDecoderTest.java | 495 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()
|
D | Vp8CodecTestBase.java | 572 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/ |
D | VideoEncoderDecoderTest.java | 1043 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()
|