Lines Matching defs:codec
59 sp<MediaCodec> codec;
67 ALOGV("Attempting to allocate codec '%s'", componentName.c_str());
69 codec = MediaCodec::CreateByComponentName(looper, componentName);
70 if (codec != NULL) {
71 ALOGI("Successfully allocated codec '%s'", componentName.c_str());
73 status_t err = codec->configure(format, surface, NULL /* crypto */, 0 /* flags */);
75 err = codec->getOutputFormat(&format);
78 return new SimpleDecodingSource(codec, source, looper,
84 ALOGD("Failed to configure codec '%s'", componentName.c_str());
85 codec->release();
86 codec = NULL;
96 const sp<MediaCodec> &codec, const sp<IMediaSource> &source, const sp<ALooper> &looper,
98 : mCodec(codec),
208 // flush codec on seek
222 // the codec produces at least one output buffer. Also, the codec