Lines Matching defs:codec
45 // a limit to avoid allocating unreasonable number of codec instances in the measurement.
143 ALOGV("doProfileCodecs for codec #%zu", codecs.size());
148 sp<MediaCodec> codec = MediaCodec::CreateByComponentName(looper, name.c_str(), &err);
150 ALOGV("Failed to create codec: %s", name.c_str());
157 err = codec->configure(format, nativeWindow, crypto, flags);
159 ALOGV("Failed to configure codec: %s with mime: %s", name.c_str(), mime.c_str());
160 codec->release();
164 err = codec->start();
166 ALOGV("Failed to start codec: %s with mime: %s", name.c_str(), mime.c_str());
167 codec->release();
170 codecs.push_back(codec);
177 ALOGE("Failed to release codec: %s with mime: %s", name.c_str(), mime.c_str());
290 AString codec =
294 ret.append(codec);