Lines Matching refs:mCodec

103     if (mCodec != NULL) {  in ~Decoder()
104 mCodec->release(); in ~Decoder()
243 if (mCodec != NULL && mSurface != NULL) { in onMessageReceived()
251 err = mCodec->setSurface(surface); in onMessageReceived()
287 CHECK(mCodec == NULL); in onConfigure()
304 mCodec = MediaCodec::CreateByType( in onConfigure()
308 if (mCodec != NULL) { in onConfigure()
309 mCodec->getName(&mComponentName); in onConfigure()
311 mCodec->release(); in onConfigure()
313 mCodec = MediaCodec::CreateByComponentName( in onConfigure()
317 if (mCodec == NULL) { in onConfigure()
325 mCodec->getName(&mComponentName); in onConfigure()
350 err = mCodec->configure( in onConfigure()
355 mCodec->release(); in onConfigure()
356 mCodec.clear(); in onConfigure()
363 CHECK_EQ((status_t)OK, mCodec->getOutputFormat(&mOutputFormat)); in onConfigure()
364 CHECK_EQ((status_t)OK, mCodec->getInputFormat(&mInputFormat)); in onConfigure()
383 mCodec->setCallback(reply); in onConfigure()
385 err = mCodec->start(); in onConfigure()
388 mCodec->release(); in onConfigure()
389 mCodec.clear(); in onConfigure()
454 if (mCodec == NULL) { in onSetParameters()
461 mCodec->setParameters(codecParams); in onSetParameters()
476 if (mCodec == NULL) { in onResume()
481 mCodec->start(); in onResume()
495 if (mCodec != NULL) { in doFlush()
496 err = mCodec->flush(); in doFlush()
533 if (mCodec != NULL) { in onShutdown()
534 err = mCodec->release(); in onShutdown()
535 mCodec = NULL; in onShutdown()
628 if (mCodec != NULL) { in onReleaseCrypto()
629 status = mCodec->releaseCrypto(); in onReleaseCrypto()
652 if (mCodec == NULL) { in handleAnInputBuffer()
659 mCodec->getInputBuffer(index, &buffer); in handleAnInputBuffer()
725 if (mCodec == NULL) { in handleAnOutputBuffer()
733 mCodec->getOutputBuffer(index, &buffer); in handleAnOutputBuffer()
858 if (mCodec != NULL) { in requestCodecNotification()
861 mCodec->requestActivityNotification(reply); in requestCodecNotification()
995 if (mCodec == NULL) { in onInputBufferFetched()
1017 status_t err = mCodec->queueInputBuffer( in onInputBufferFetched()
1107 err = mCodec->queueSecureInputBuffer( in onInputBufferFetched()
1122 err = mCodec->queueInputBuffer( in onInputBufferFetched()
1162 if (mCodec == NULL) { in onRenderBuffer()
1167 err = mCodec->renderOutputBufferAndRelease(bufferIx, timestampNs); in onRenderBuffer()
1173 err = mCodec->releaseOutputBuffer(bufferIx); in onRenderBuffer()
1273 seamless = (mCodec != NULL && in supportsSeamlessFormatChange()