Home
last modified time | relevance | path

Searched refs:inputBuf (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DDecodeEditEncodeTest.java487 ByteBuffer inputBuf = decoderInputBuffers[inputBufIndex]; in editVideoData() local
488 inputBuf.clear(); in editVideoData()
489 inputData.getChunkData(inputChunk, inputBuf); in editVideoData()
492 decoder.queueInputBuffer(inputBufIndex, 0, inputBuf.position(), in editVideoData()
496 inputBuf.position() + " flags=" + flags); in editVideoData()
682 ByteBuffer inputBuf = decoderInputBuffers[inputBufIndex]; in checkVideoData() local
683 inputBuf.clear(); in checkVideoData()
684 inputData.getChunkData(inputChunk, inputBuf); in checkVideoData()
687 decoder.queueInputBuffer(inputBufIndex, 0, inputBuf.position(), in checkVideoData()
691 inputBuf.position() + " flags=" + flags); in checkVideoData()
DEncodeDecodeTest.java687 ByteBuffer inputBuf = encoder.getInputBuffer(inputBufIndex); in doEncodeDecodeVideoFromBuffer() local
689 assertTrue(inputBuf.capacity() >= frameData.length); in doEncodeDecodeVideoFromBuffer()
690 inputBuf.clear(); in doEncodeDecodeVideoFromBuffer()
691 inputBuf.put(frameData); in doEncodeDecodeVideoFromBuffer()
763 ByteBuffer inputBuf = decoderInputBuffers[inputBufIndex]; in doEncodeDecodeVideoFromBuffer() local
764 inputBuf.clear(); in doEncodeDecodeVideoFromBuffer()
765 inputBuf.put(encodedData); in doEncodeDecodeVideoFromBuffer()
1060 ByteBuffer inputBuf = decoderInputBuffers[inputBufIndex]; in doEncodeDecodeVideoFromSurfaceToSurface() local
1061 inputBuf.clear(); in doEncodeDecodeVideoFromSurfaceToSurface()
1062 inputBuf.put(encodedData); in doEncodeDecodeVideoFromSurfaceToSurface()
DMediaCasTest.java597 ByteBuffer inputBuf = ByteBuffer.wrap( in descrambleTestInputBuffer() local
599 ByteBuffer outputBuf = ByteBuffer.allocate(inputBuf.capacity()); in descrambleTestInputBuffer()
600 descrambler.descramble(inputBuf, outputBuf, cryptoInfo); in descrambleTestInputBuffer()
DEncodeVirtualDisplayTest.java433 ByteBuffer inputBuf = decoderInputBuffers[inputBufIndex]; in doTestEncodeVirtual() local
434 inputBuf.clear(); in doTestEncodeVirtual()
435 inputBuf.put(encodedData); in doTestEncodeVirtual()