Searched refs:mMediaCodec (Results 1 – 2 of 2) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | PreviewRecorder.java | 127 private MediaCodec mMediaCodec; field in PreviewRecorder 293 mMediaCodec = MediaCodec.createByCodecName(codecName); in setupMediaCodec() 298 mMediaCodec.configure(format, null, null, MediaCodec.CONFIGURE_FLAG_ENCODE); in setupMediaCodec() 300 mMediaCodec.setCallback( in setupMediaCodec() 303 mRecordSurface = mMediaCodec.createInputSurface(); in setupMediaCodec() 611 mMediaCodec.start(); in startRecording() 643 mMediaCodec.signalEndOfInputStream(); in stopRecordingLocked() 654 mMediaCodec.stop(); in stopRecordingLocked() 671 if (mMediaCodec != null) { in close() 672 mMediaCodec.release(); in close()
|
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/ |
D | DecoderTest.java | 199 MediaCodec mMediaCodec = MediaCodec.createDecoderByType(MediaFormat.MIMETYPE_AUDIO_AAC); in testBug11696552() local 204 mMediaCodec.configure(mFormat, null, null, 0); in testBug11696552() 205 mMediaCodec.start(); in testBug11696552() 206 int index = mMediaCodec.dequeueInputBuffer(250000); in testBug11696552() 207 mMediaCodec.queueInputBuffer(index, 0, 0, 0, MediaCodec.BUFFER_FLAG_END_OF_STREAM); in testBug11696552() 209 mMediaCodec.dequeueOutputBuffer(info, 250000); in testBug11696552()
|