Searched refs:codecInfo (Results 1 – 8 of 8) sorted by relevance
23 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()
467 std::unique_ptr<MediaCodecInfoWriter> codecInfo = writer->addMediaCodecInfo(); in buildMediaCodecList() local468 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()
86 void allocate(const sp<MediaCodecInfo> &codecInfo);
595 sp<RefBase> codecInfo; in initiateAllocateComponent() local596 CHECK(msg->findObject("codecInfo", &codecInfo)); in initiateAllocateComponent()600 allocMsg->setObject("codecInfo", codecInfo); in initiateAllocateComponent()604 void CCodec::allocate(const sp<MediaCodecInfo> &codecInfo) { in allocate() argument605 if (codecInfo == nullptr) { in allocate()609 ALOGD("allocate(%s)", codecInfo->getCodecName()); in allocate()612 AString componentName = codecInfo->getCodecName(); in allocate()
125 status_t getCodecInfo(JNIEnv *env, jobject *codecInfo) const;
699 sp<MediaCodecInfo> codecInfo; in getCodecInfo() local701 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()
190 status_t getCodecInfo(sp<MediaCodecInfo> *codecInfo) const;
1550 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() local2465 CHECK(msg->findObject("codecInfo", &codecInfo)); in onMessageReceived()2470 format->setObject("codecInfo", codecInfo); in onMessageReceived()