Home
last modified time | relevance | path

Searched refs:codecInfo (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DCodecUtils.java23 for (MediaCodecInfo codecInfo : codecInfos) { in selectCodecs()
24 if (isEncoder != codecInfo.isEncoder()) { in selectCodecs()
27 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q && codecInfo.isAlias()) { in selectCodecs()
30 String[] types = codecInfo.getSupportedTypes(); in selectCodecs()
33 supportedCodecs.add(codecInfo.getName()); in selectCodecs()
/frameworks/av/media/codec2/sfplugin/
DCodec2InfoBuilder.cpp467 std::unique_ptr<MediaCodecInfoWriter> codecInfo = writer->addMediaCodecInfo(); in buildMediaCodecList() local
468 codecInfo->setName(nameOrAlias.c_str()); in buildMediaCodecList()
469 codecInfo->setOwner(("codec2::" + trait.owner).c_str()); in buildMediaCodecList()
488 codecInfo->setAttributes(attrs); in buildMediaCodecList()
497 codecInfo->setRank(rank); in buildMediaCodecList()
501 codecInfo->addAlias(alias.c_str()); in buildMediaCodecList()
523 codecInfo->addMediaType(mediaType.c_str()); in buildMediaCodecList()
DCCodec.h86 void allocate(const sp<MediaCodecInfo> &codecInfo);
DCCodec.cpp595 sp<RefBase> codecInfo; in initiateAllocateComponent() local
596 CHECK(msg->findObject("codecInfo", &codecInfo)); in initiateAllocateComponent()
600 allocMsg->setObject("codecInfo", codecInfo); in initiateAllocateComponent()
604 void CCodec::allocate(const sp<MediaCodecInfo> &codecInfo) { in allocate() argument
605 if (codecInfo == nullptr) { in allocate()
609 ALOGD("allocate(%s)", codecInfo->getCodecName()); in allocate()
612 AString componentName = codecInfo->getCodecName(); in allocate()
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.h125 status_t getCodecInfo(JNIEnv *env, jobject *codecInfo) const;
Dandroid_media_MediaCodec.cpp699 sp<MediaCodecInfo> codecInfo; in getCodecInfo() local
701 status_t err = mCodec->getCodecInfo(&codecInfo); in getCodecInfo()
711 env->NewStringUTF(codecInfo->getCodecName())); in getCodecInfo()
713 MediaCodecInfo::Attributes attributes = codecInfo->getAttributes(); in getCodecInfo()
714 bool isEncoder = codecInfo->isEncoder(); in getCodecInfo()
717 codecInfo->getSupportedMediaTypes(&mediaTypes); in getCodecInfo()
724 codecInfo->getCapabilitiesFor(mediaTypes[i].c_str()); in getCodecInfo()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaCodec.h190 status_t getCodecInfo(sp<MediaCodecInfo> *codecInfo) const;
/frameworks/av/media/libstagefright/
DMediaCodec.cpp1550 status_t MediaCodec::getCodecInfo(sp<MediaCodecInfo> *codecInfo) const { in getCodecInfo()
1561 *codecInfo = static_cast<MediaCodecInfo *>(obj.get()); in getCodecInfo()
2464 sp<RefBase> codecInfo; in onMessageReceived() local
2465 CHECK(msg->findObject("codecInfo", &codecInfo)); in onMessageReceived()
2470 format->setObject("codecInfo", codecInfo); in onMessageReceived()