Lines Matching refs:mCodec
94 mCodec->release();
213 if (mCodec != NULL && mSurface != NULL) {
221 err = mCodec->setSurface(surface);
250 CHECK(mCodec == NULL);
267 mCodec = MediaCodec::CreateByType(
271 if (mCodec != NULL) {
272 mCodec->getName(&mComponentName);
274 mCodec->release();
276 mCodec = MediaCodec::CreateByComponentName(
280 if (mCodec == NULL) {
288 mCodec->getName(&mComponentName);
300 err = mCodec->configure(
304 mCodec->release();
305 mCodec.clear();
312 CHECK_EQ((status_t)OK, mCodec->getOutputFormat(&mOutputFormat));
313 CHECK_EQ((status_t)OK, mCodec->getInputFormat(&mInputFormat));
328 mCodec->setCallback(reply);
330 err = mCodec->start();
333 mCodec->release();
334 mCodec.clear();
399 if (mCodec == NULL) {
406 mCodec->setParameters(codecParams);
421 CHECK_EQ((status_t)OK, mCodec->getWidevineLegacyBuffers(dstBuffers));
430 mCodec->start();
444 if (mCodec != NULL) {
445 err = mCodec->flush();
482 if (mCodec != NULL) {
483 err = mCodec->release();
484 mCodec = NULL;
565 mCodec->getInputBuffer(index, &buffer);
632 mCodec->getOutputBuffer(index, &buffer);
742 if (mCodec != NULL) {
745 mCodec->requestActivityNotification(reply);
913 status_t err = mCodec->queueInputBuffer(
968 status_t err = mCodec->queueInputBuffer(
1012 err = mCodec->renderOutputBufferAndRelease(bufferIx, timestampNs);
1015 err = mCodec->releaseOutputBuffer(bufferIx);
1115 seamless = (mCodec != NULL &&