Lines Matching defs:mCodec
51 private MediaCodec mCodec;
144 if (mCodec != null) {
145 mCodec.stop();
146 mCodec = null;
155 mCodec = MediaCodec.createDecoderByType("video/avc");
160 mCodec.configure(format, mSurface, null, 0);
161 mCodec.start();
179 if (mCodec == null) {
195 final int index = mCodec.dequeueInputBuffer(0);
200 mCodecInputBuffers = mCodec.getInputBuffers();
214 mCodec.queueInputBuffer(index, 0, buffer.limit(), 0, 0);
220 final int index = mCodec.dequeueOutputBuffer(mCodecBufferInfo, 0);
222 mCodec.releaseOutputBuffer(index, true /*render*/);
232 if (mCodec != null) {