Searched refs:StreamUtils (Results 1 – 4 of 4) sorted by relevance
38 import android.media.cts.StreamUtils;580 public ByteBufferDataSource(StreamUtils.ByteBufferStream bufferStream) in ByteBufferDataSource()641 extends StreamUtils.ByteBufferStream implements Closeable {647 private StreamUtils.MediaCodecStream mDecoderStream;665 mDecoderStream = new StreamUtils.MediaCodecStream( in MediaExtractorStream()678 StreamUtils.ByteBufferStream inputStream) throws Exception { in MediaExtractorStream()
49 import android.media.cts.StreamUtils;2215 final StreamUtils.PcmAudioBufferStream audioStream = in testFlacIdentity()2216 new StreamUtils.PcmAudioBufferStream(SAMPLES, sampleRate, 1000 /* frequency */, in testFlacIdentity()2224 final StreamUtils.MediaCodecStream rawToFlac = new StreamUtils.MediaCodecStream( in testFlacIdentity()2225 new StreamUtils.ByteBufferInputStream(audioStream), format, true /* encode */); in testFlacIdentity()2226 final StreamUtils.MediaCodecStream flacToRaw = new StreamUtils.MediaCodecStream( in testFlacIdentity()2241 StreamUtils.compareStreams(new StreamUtils.ByteBufferInputStream(flacToRaw), in testFlacIdentity()2242 new StreamUtils.ByteBufferInputStream( in testFlacIdentity()2243 new StreamUtils.PcmAudioBufferStream(audioStream)))); in testFlacIdentity()
36 public class StreamUtils { class
46 import android.media.cts.StreamUtils;1943 class ByteBufferImpl extends StreamUtils.ByteBufferStream { in testCompressedCaptureAAC()1963 final StreamUtils.MediaCodecStream decodingStream in testCompressedCaptureAAC()1964 = new StreamUtils.MediaCodecStream(byteBufferImpl, format, false); in testCompressedCaptureAAC()