Lines Matching defs:codec
47 // a limit to avoid allocating unreasonable number of codec instances in the measurement.
145 ALOGV("doProfileCodecs for codec #%zu", codecs.size());
150 sp<MediaCodec> codec = MediaCodec::CreateByComponentName(looper, name.c_str(), &err);
152 ALOGV("Failed to create codec: %s", name.c_str());
159 err = codec->configure(format, nativeWindow, crypto, flags);
161 ALOGV("Failed to configure codec: %s with mime: %s", name.c_str(), mime.c_str());
162 codec->release();
166 err = codec->start();
168 ALOGV("Failed to start codec: %s with mime: %s", name.c_str(), mime.c_str());
169 codec->release();
172 codecs.push_back(codec);
179 ALOGE("Failed to release codec: %s with mime: %s", name.c_str(), mime.c_str());
292 AString codec =
296 ret.append(codec);