Lines Matching refs:mCodec
102 if (mCodec != NULL) { in ~Decoder()
103 mCodec->release(); in ~Decoder()
242 if (mCodec != NULL && mSurface != NULL) { in onMessageReceived()
250 err = mCodec->setSurface(surface); in onMessageReceived()
286 CHECK(mCodec == NULL); in onConfigure()
303 mCodec = MediaCodec::CreateByType( in onConfigure()
307 if (mCodec != NULL) { in onConfigure()
308 mCodec->getName(&mComponentName); in onConfigure()
310 mCodec->release(); in onConfigure()
312 mCodec = MediaCodec::CreateByComponentName( in onConfigure()
316 if (mCodec == NULL) { in onConfigure()
324 mCodec->getName(&mComponentName); in onConfigure()
349 err = mCodec->configure( in onConfigure()
354 mCodec->release(); in onConfigure()
355 mCodec.clear(); in onConfigure()
362 CHECK_EQ((status_t)OK, mCodec->getOutputFormat(&mOutputFormat)); in onConfigure()
363 CHECK_EQ((status_t)OK, mCodec->getInputFormat(&mInputFormat)); in onConfigure()
382 mCodec->setCallback(reply); in onConfigure()
384 err = mCodec->start(); in onConfigure()
387 mCodec->release(); in onConfigure()
388 mCodec.clear(); in onConfigure()
453 if (mCodec == NULL) { in onSetParameters()
460 mCodec->setParameters(codecParams); in onSetParameters()
465 && mCodec != NULL) { in onSetParameters()
468 mCodec->setParameters(codecParams); in onSetParameters()
483 if (mCodec == NULL) { in onResume()
488 mCodec->start(); in onResume()
502 if (mCodec != NULL) { in doFlush()
503 err = mCodec->flush(); in doFlush()
540 if (mCodec != NULL) { in onShutdown()
541 err = mCodec->release(); in onShutdown()
542 mCodec = NULL; in onShutdown()
635 if (mCodec != NULL) { in onReleaseCrypto()
636 status = mCodec->releaseCrypto(); in onReleaseCrypto()
659 if (mCodec == NULL) { in handleAnInputBuffer()
666 mCodec->getInputBuffer(index, &buffer); in handleAnInputBuffer()
732 if (mCodec == NULL) { in handleAnOutputBuffer()
740 mCodec->getOutputBuffer(index, &buffer); in handleAnOutputBuffer()
871 if (mCodec != NULL) { in requestCodecNotification()
874 mCodec->requestActivityNotification(reply); in requestCodecNotification()
1008 if (mCodec == NULL) { in onInputBufferFetched()
1030 status_t err = mCodec->queueInputBuffer( in onInputBufferFetched()
1138 err = mCodec->queueSecureInputBuffer( in onInputBufferFetched()
1153 err = mCodec->queueInputBuffer( in onInputBufferFetched()
1193 if (mCodec == NULL) { in onRenderBuffer()
1198 err = mCodec->renderOutputBufferAndRelease(bufferIx, timestampNs); in onRenderBuffer()
1204 err = mCodec->releaseOutputBuffer(bufferIx); in onRenderBuffer()
1304 seamless = (mCodec != NULL && in supportsSeamlessFormatChange()