/cts/tests/media/common/src/android/mediav2/common/cts/ |
D | CodecDecoderMultiAccessUnitDrmTestBase.java | 110 ByteBuffer inputBuffer = mCodec.getInputBuffer(bufferIndex); in enqueueInput() local 111 Assert.assertNotNull("error, getInputBuffer returned null.\n", inputBuffer); in enqueueInput() 127 if (offset + size <= inputBuffer.capacity()) { in enqueueInput() 128 mExtractor.readSampleData(inputBuffer, offset); in enqueueInput() 133 + "queue input", size, inputBuffer.capacity())); in enqueueInput()
|
D | CodecDecoderMultiAccessUnitTestBase.java | 93 ByteBuffer inputBuffer = mCodec.getInputBuffer(bufferIndex); in enqueueInput() local 95 inputBuffer); in enqueueInput() 108 if (offset + size <= inputBuffer.capacity()) { in enqueueInput() 109 mExtractor.readSampleData(inputBuffer, offset); in enqueueInput() 114 + "queue input", size, inputBuffer.capacity())); in enqueueInput()
|
D | CodecDecoderTestBase.java | 193 ByteBuffer inputBuffer = mCodec.getInputBuffer(bufferIndex); in enqueueCodecConfig() local 195 inputBuffer.put((ByteBuffer) csdBuffer.rewind()); in enqueueCodecConfig() 207 ByteBuffer inputBuffer = mCodec.getInputBuffer(bufferIndex); in enqueueInput() local 208 mExtractor.readSampleData(inputBuffer, 0); in enqueueInput() 237 ByteBuffer inputBuffer = mCodec.getInputBuffer(bufferIndex); in enqueueInput() local 240 inputBuffer.put(buffer.get()); in enqueueInput()
|
D | CodecEncoderTestBase.java | 422 void fillByteBuffer(ByteBuffer inputBuffer) { in fillByteBuffer() argument 440 inputBuffer.position( in fillByteBuffer() 443 inputBuffer.put(mInputData, in fillByteBuffer() 458 ByteBuffer inputBuffer = mCodec.getInputBuffer(bufferIndex); in enqueueInput() local 468 size = Math.min(inputBuffer.capacity(), mInputData.length - mInputBufferReadOffset); in enqueueInput() 471 inputBuffer.put(mInputData, mInputBufferReadOffset, size); in enqueueInput()
|
D | CodecDecoderDrmTestBase.java | 206 ByteBuffer inputBuffer = mCodec.getInputBuffer(bufferIndex); in enqueueInput() local 207 mExtractor.readSampleData(inputBuffer, 0); in enqueueInput()
|
D | CodecEncoderSurfaceTestBase.java | 284 ByteBuffer inputBuffer = mDecoder.getInputBuffer(bufferIndex); in enqueueDecoderInput() local 285 mExtractor.readSampleData(inputBuffer, 0); in enqueueDecoderInput()
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | VideoDecoderCallback.java | 53 ByteBuffer inputBuffer = codec.getInputBuffer(index); in onInputBufferAvailable() local 54 int sampleSize = mVideoExtractor.readSampleData(inputBuffer, 0); in onInputBufferAvailable()
|
D | DecodeOnlyTest.java | 255 ByteBuffer inputBuffer = videoCodec.getInputBuffer(index); in testNonTunneledTrickPlay() 256 int sampleSize = videoExtractor.readSampleData(inputBuffer, 0); in testNonTunneledTrickPlay() 370 ByteBuffer inputBuffer = videoCodec.getInputBuffer(index); in testTunneledTrickPlay() 371 int sampleSize = videoExtractor.readSampleData(inputBuffer, 0); in testTunneledTrickPlay() 510 ByteBuffer inputBuffer = codec.getInputBuffer(index); in testTunneledPerfectSeek() 511 int sampleSize = videoExtractor.readSampleData(inputBuffer, 0); in testTunneledPerfectSeek()
|
D | HDRDecoderTest.java | 349 ByteBuffer inputBuffer = codec.getInputBuffer(index); in testHdrMetadata() 356 int size = mExtractor.readSampleData(inputBuffer, 0); in testHdrMetadata() 525 ByteBuffer inputBuffer = codec.getInputBuffer(index); in testHdrToSdr() 532 int size = mExtractor.readSampleData(inputBuffer, 0); in testHdrToSdr()
|
D | DecoderRenderTest.java | 398 ByteBuffer inputBuffer = videoCodec.getInputBuffer(ipBufferId); in primeVideoPipeline() local 399 int sampleSize = videoExtractor.readSampleData(inputBuffer, 0); in primeVideoPipeline()
|
D | DecodeAccuracyTestBase.java | 305 ByteBuffer inputBuffer; in queueDecoderInputBuffer() local 310 inputBuffer = inputBufferArray[inputBufferIndex]; in queueDecoderInputBuffer() 312 inputBuffer = decoder.getInputBuffer(inputBufferIndex); in queueDecoderInputBuffer() 314 final int sampleSize = extractor.readSampleData(inputBuffer, 0); in queueDecoderInputBuffer()
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | AudioPlaybackLoad.java | 108 ByteBuffer inputBuffer = mCodec.getInputBuffer(bufferIndex); in enqueueInput() local 109 int size = mExtractor.readSampleData(inputBuffer, 0); in enqueueInput()
|
D | CodecTestBase.java | 699 ByteBuffer inputBuffer = mCodec.getInputBuffer(bufferIndex); in enqueueInput() local 700 int size = mExtractor.readSampleData(inputBuffer, 0); in enqueueInput() 836 void fillByteBuffer(ByteBuffer inputBuffer) { in fillByteBuffer() argument 854 inputBuffer.position(offset + (k + j) * width + i); in fillByteBuffer() 855 inputBuffer.put(mInputData, frmOffset + j * tileWidth, colsToCopy); in fillByteBuffer() 865 ByteBuffer inputBuffer = mCodec.getInputBuffer(bufferIndex); in enqueueInput() local 874 size = Math.min(inputBuffer.capacity(), mInputData.length - mNumBytesSubmitted); in enqueueInput() 875 inputBuffer.put(mInputData, mNumBytesSubmitted, size); in enqueueInput() 893 inputBuffer.put(mInputData, mNumBytesSubmitted, size); in enqueueInput() 895 fillByteBuffer(inputBuffer); in enqueueInput()
|
D | CodecTranscoderTestBase.java | 158 ByteBuffer inputBuffer = mDecoder.getInputBuffer(bufferIndex); in enqueueDecoderInput() local 159 int size = mExtractor.readSampleData(inputBuffer, 0); in enqueueDecoderInput() 658 ByteBuffer inputBuffer = mDecoder.getInputBuffer(bufferIndex); in enqueueDecoderInput() local 659 int size = mExtractor.readSampleData(inputBuffer, 0); in enqueueDecoderInput()
|
/cts/tests/media/jni/ |
D | NativeCodecEncoderTest.cpp | 63 void fillByteBuffer(uint8_t* inputBuffer); 170 void CodecEncoderTest::fillByteBuffer(uint8_t* inputBuffer) { in fillByteBuffer() argument 201 memcpy(inputBuffer + (offset + (k + j) * width + i), in fillByteBuffer() 221 uint8_t* inputBuffer = AMediaCodec_getInputBuffer(mCodec, bufferIndex, &buffSize); in enqueueInput() local 222 RETURN_IF_NULL(inputBuffer, std::string{"AMediaCodec_getInputBuffer returned nullptr"}) in enqueueInput() 226 memcpy(inputBuffer, mInputData + mInputBufferReadOffset, size); in enqueueInput() 245 memcpy(inputBuffer, mInputData + mInputBufferReadOffset, size); in enqueueInput() 247 fillByteBuffer(inputBuffer); in enqueueInput()
|
/cts/tests/tests/mediaediting/src/android/media/mediaediting/cts/ |
D | VideoDecodingWrapper.java | 184 ByteBuffer inputBuffer = checkNotNull(mediaCodec.getInputBuffer(inputBufferIndex)); in queueOneFrameToDecoder() local 185 int sampleSize = mediaExtractor.readSampleData(inputBuffer, /* offset= */ 0); in queueOneFrameToDecoder()
|
/cts/tests/tests/media/codec/src/android/media/codec/cts/ |
D | MediaCodecTest.java | 1101 ByteBuffer inputBuffer = encoder.getInputBuffer(inputIndex);; in feedEncoder() local 1102 for (int i = 0; i < inputBuffer.capacity() / 2; i++) { in feedEncoder() 1103 inputBuffer.putShort((short)i); in feedEncoder() 1105 encoder.queueInputBuffer(inputIndex, 0, inputBuffer.limit(), 0, 0); in feedEncoder() 1913 ByteBuffer inputBuffer = inputBuffers[inputIndex]; in runAudioEncoding() local 1914 inputBuffer.rewind(); in runAudioEncoding() 1915 inputBuffer.put(source); in runAudioEncoding() 1918 encoder.queueInputBuffer(inputIndex, 0, inputBuffer.limit(), 0, 0); in runAudioEncoding() 2474 ByteBuffer inputBuffer = codec.getInputBuffer(inputIndex); in doFlushAfterFirstBuffer() local 2476 inputBuffer.clear(); in doFlushAfterFirstBuffer() [all …]
|
D | EncodeVirtualDisplayWithCompositionTestImpl.java | 232 ByteBuffer inputBuffer = mDecoderInputBuffers[inputBufferIndex]; in doTestRenderingOutput() 233 inputBuffer.clear(); in doTestRenderingOutput() 234 inputBuffer.put(data); in doTestRenderingOutput()
|
D | VideoCodecTestBase.java | 1205 ByteBuffer inputBuffer = mCodec.getInputBuffer(mInputBufIndex); in feedInputInternal() local 1206 inputBuffer.clear(); in feedInputInternal() 1207 inputBuffer.put(encFrame); in feedInputInternal() 1208 inputBuffer.rewind(); in feedInputInternal()
|
/cts/tests/tests/media/extractor/src/android/media/extractor/cts/ |
D | MediaExtractorTest.java | 694 final ByteBuffer inputBuffer = ByteBuffer.allocate((int)size); in read() local 695 final int red = mExtractor.readSampleData(inputBuffer, 0 /* offset */); // sic in read() 697 assertEquals("position must be zero", 0, inputBuffer.position()); in read() 698 assertEquals("limit must be read bytes", red, inputBuffer.limit()); in read() 700 return inputBuffer; in read()
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | BlockCipherTestBase.java | 765 ByteBuffer inputBuffer = ByteBuffer.wrap( in assertKatOneShotTransformUsingDoFinal() local 771 assertEquals(expectedOutput.length, doFinal(inputBuffer, actualOutputBuffer)); in assertKatOneShotTransformUsingDoFinal() 772 assertEquals(0, inputBuffer.remaining()); in assertKatOneShotTransformUsingDoFinal() 1343 ByteBuffer inputBuffer = ByteBuffer.wrap(buffer, inputOffsetInBuffer, input.length); in assertUpdateCopySafe() local 1348 outputLength = update(inputBuffer, outputBuffer); in assertUpdateCopySafe() 1421 ByteBuffer inputBuffer = ByteBuffer.wrap(buffer, inputOffsetInBuffer, input.length); in assertDoFinalCopySafe() local 1426 assertEquals(expectedOutput.length, doFinal(inputBuffer, outputBuffer)); in assertDoFinalCopySafe()
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | MediaCodecCryptoAsyncHelper.java | 108 ByteBuffer inputBuffer = codec.getInputBuffer(index); in onInputSlot() 109 final int sampleSize = mExtractor.readSampleData(inputBuffer, 0); in onInputSlot()
|