Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DDecodeEditEncodeTest.java326 ByteBuffer encodedData = encoderOutputBuffers[encoderStatus]; in generateVideoData() local
327 if (encodedData == null) { in generateVideoData()
338 encodedData.position(info.offset); in generateVideoData()
339 encodedData.limit(info.offset + info.size); in generateVideoData()
341 output.addChunk(encodedData, info.flags, info.presentationTimeUs); in generateVideoData()
537 ByteBuffer encodedData = encoderOutputBuffers[encoderStatus]; in editVideoData() local
538 if (encodedData == null) { in editVideoData()
544 encodedData.position(info.offset); in editVideoData()
545 encodedData.limit(info.offset + info.size); in editVideoData()
547 outputData.addChunk(encodedData, info.flags, info.presentationTimeUs); in editVideoData()
DEncodeDecodeTest.java739 ByteBuffer encodedData = encoder.getOutputBuffer(encoderStatus); in doEncodeDecodeVideoFromBuffer() local
740 if (encodedData == null) { in doEncodeDecodeVideoFromBuffer()
745 encodedData.position(info.offset); in doEncodeDecodeVideoFromBuffer()
746 encodedData.limit(info.offset + info.size); in doEncodeDecodeVideoFromBuffer()
760 format.setByteBuffer("csd-0", encodedData); in doEncodeDecodeVideoFromBuffer()
776 inputBuf.put(encodedData); in doEncodeDecodeVideoFromBuffer()
792 encodedData.position(info.offset); in doEncodeDecodeVideoFromBuffer()
793 encodedData.get(data); in doEncodeDecodeVideoFromBuffer()
1042 ByteBuffer encodedData = encoder.getOutputBuffer(encoderStatus); in doEncodeDecodeVideoFromSurfaceToSurface() local
1043 if (encodedData == null) { in doEncodeDecodeVideoFromSurfaceToSurface()
[all …]
DEncodeVirtualDisplayTest.java426 ByteBuffer encodedData = encoderOutputBuffers[encoderStatus]; in doTestEncodeVirtual() local
427 if (encodedData == null) { in doTestEncodeVirtual()
432 encodedData.position(info.offset); in doTestEncodeVirtual()
433 encodedData.limit(info.offset + info.size); in doTestEncodeVirtual()
436 muxer.writeSampleData(trackIndex, encodedData, info); in doTestEncodeVirtual()
450 inputBuf.put(encodedData); in doTestEncodeVirtual()
DEncodeVirtualDisplayWithCompositionTestImpl.java609 ByteBuffer encodedData = encoderOutputBuffers[index]; in doEncoding() local
610 encodedData.position(info.offset); in doEncoding()
611 encodedData.limit(info.offset + info.size); in doEncoding()
612 mEventListener.onCodecConfig(encodedData, info); in doEncoding()
618 ByteBuffer encodedData = encoderOutputBuffers[index]; in doEncoding() local
619 encodedData.position(info.offset); in doEncoding()
620 encodedData.limit(info.offset + info.size); in doEncoding()
621 mEventListener.onBufferReady(encodedData, info); in doEncoding()