Lines Matching refs:mCodec

102     if (mCodec != NULL) {  in ~Decoder()
103 mCodec->release(); in ~Decoder()
235 if (mCodec != NULL && mSurface != NULL) { in onMessageReceived()
243 err = mCodec->setSurface(surface); in onMessageReceived()
279 CHECK(mCodec == NULL); in onConfigure()
296 mCodec = MediaCodec::CreateByType( in onConfigure()
300 if (mCodec != NULL) { in onConfigure()
301 mCodec->getName(&mComponentName); in onConfigure()
303 mCodec->release(); in onConfigure()
305 mCodec = MediaCodec::CreateByComponentName( in onConfigure()
309 if (mCodec == NULL) { in onConfigure()
317 mCodec->getName(&mComponentName); in onConfigure()
342 err = mCodec->configure( in onConfigure()
347 mCodec->release(); in onConfigure()
348 mCodec.clear(); in onConfigure()
355 CHECK_EQ((status_t)OK, mCodec->getOutputFormat(&mOutputFormat)); in onConfigure()
356 CHECK_EQ((status_t)OK, mCodec->getInputFormat(&mInputFormat)); in onConfigure()
371 mCodec->setCallback(reply); in onConfigure()
373 err = mCodec->start(); in onConfigure()
376 mCodec->release(); in onConfigure()
377 mCodec.clear(); in onConfigure()
442 if (mCodec == NULL) { in onSetParameters()
449 mCodec->setParameters(codecParams); in onSetParameters()
463 mCodec->start(); in onResume()
477 if (mCodec != NULL) { in doFlush()
478 err = mCodec->flush(); in doFlush()
515 if (mCodec != NULL) { in onShutdown()
516 err = mCodec->release(); in onShutdown()
517 mCodec = NULL; in onShutdown()
610 if (mCodec != NULL) { in onReleaseCrypto()
611 status = mCodec->releaseCrypto(); in onReleaseCrypto()
635 mCodec->getInputBuffer(index, &buffer); in handleAnInputBuffer()
702 mCodec->getOutputBuffer(index, &buffer); in handleAnOutputBuffer()
816 if (mCodec != NULL) { in requestCodecNotification()
819 mCodec->requestActivityNotification(reply); in requestCodecNotification()
968 status_t err = mCodec->queueInputBuffer( in onInputBufferFetched()
1051 err = mCodec->queueSecureInputBuffer( in onInputBufferFetched()
1066 err = mCodec->queueInputBuffer( in onInputBufferFetched()
1108 err = mCodec->renderOutputBufferAndRelease(bufferIx, timestampNs); in onRenderBuffer()
1111 err = mCodec->releaseOutputBuffer(bufferIx); in onRenderBuffer()
1211 seamless = (mCodec != NULL && in supportsSeamlessFormatChange()