Searched refs:mediaCodec (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaCodecTest.java | 599 final MediaCodec mediaCodec = MediaCodec.createDecoderByType(mimeType); in testAsyncReset() local 602 mediaCodec.configure(mediaFormat, surface, null /* crypto */, 0 /* flags */); in testAsyncReset() 604 mediaCodec.start(); in testAsyncReset() 606 assertTrue(runDecodeTillFirstOutput(mediaCodec, mediaExtractor)); in testAsyncReset() 613 mediaCodec.stop(); in testAsyncReset() 615 mediaCodec.flush(); in testAsyncReset() 627 mediaCodec.reset(); in testAsyncReset() 647 if (mediaCodec != null) { in testAsyncReset() 648 mediaCodec.release(); in testAsyncReset() 1030 MediaCodec mediaCodec = null; in testDecodeAfterFlush() [all …]
|
D | VideoEncoderTest.java | 413 public void onInputBufferAvailable(MediaCodec mediaCodec, int ix) { in onInputBufferAvailable() argument 416 onInputBufferAvailableLocked(mediaCodec, ix); in onInputBufferAvailable() 423 MediaCodec mediaCodec, int ix, BufferInfo info) { in onOutputBufferAvailable() argument 426 onOutputBufferAvailableLocked(mediaCodec, ix, info); in onOutputBufferAvailable() 435 MediaCodec mediaCodec, int ix); in onInputBufferAvailableLocked() argument 437 MediaCodec mediaCodec, int ix, BufferInfo info); in onOutputBufferAvailableLocked() argument 528 public void onInputBufferAvailableLocked(MediaCodec mediaCodec, int ix) { in onInputBufferAvailableLocked() argument 529 if (mediaCodec == mDecoder) { in onInputBufferAvailableLocked() 532 } else if (mediaCodec == mEncoder) { in onInputBufferAvailableLocked() 541 fail("received input buffer on " + mediaCodec.getName()); in onInputBufferAvailableLocked() [all …]
|