Home
last modified time | relevance | path

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

/frameworks/av/media/codec2/sfplugin/
DCodec2InfoBuilder.cpp466 std::unique_ptr<MediaCodecInfoWriter> codecInfo = writer->addMediaCodecInfo(); in buildMediaCodecList() local
467 codecInfo->setName(nameOrAlias.c_str()); in buildMediaCodecList()
468 codecInfo->setOwner(("codec2::" + trait.owner).c_str()); in buildMediaCodecList()
487 codecInfo->setAttributes(attrs); in buildMediaCodecList()
496 codecInfo->setRank(rank); in buildMediaCodecList()
500 codecInfo->addAlias(alias.c_str()); in buildMediaCodecList()
522 codecInfo->addMediaType(mediaType.c_str()); in buildMediaCodecList()
DCCodec.h85 void allocate(const sp<MediaCodecInfo> &codecInfo);
DCCodec.cpp591 sp<RefBase> codecInfo; in initiateAllocateComponent() local
592 CHECK(msg->findObject("codecInfo", &codecInfo)); in initiateAllocateComponent()
596 allocMsg->setObject("codecInfo", codecInfo); in initiateAllocateComponent()
600 void CCodec::allocate(const sp<MediaCodecInfo> &codecInfo) { in allocate() argument
601 if (codecInfo == nullptr) { in allocate()
605 ALOGD("allocate(%s)", codecInfo->getCodecName()); in allocate()
608 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.h189 status_t getCodecInfo(sp<MediaCodecInfo> *codecInfo) const;
/frameworks/av/media/libstagefright/
DMediaCodec.cpp1515 status_t MediaCodec::getCodecInfo(sp<MediaCodecInfo> *codecInfo) const { in getCodecInfo()
1526 *codecInfo = static_cast<MediaCodecInfo *>(obj.get()); in getCodecInfo()
2365 sp<RefBase> codecInfo; in onMessageReceived() local
2366 CHECK(msg->findObject("codecInfo", &codecInfo)); in onMessageReceived()
2371 format->setObject("codecInfo", codecInfo); in onMessageReceived()