Home
last modified time | relevance | path

Searched refs:regInfo (Results 1 - 18 of 18) sorted by relevance

/foundation/multimedia/media_foundation/engine/plugin/core/
H A Dplugin_manager.cpp35 auto regInfo = pluginRegister_->GetPluginRegInfo(type, name); in GetPluginInfo() local
36 if (regInfo && regInfo->info && regInfo->info->pluginType == type) { in GetPluginInfo()
37 return regInfo->info; in GetPluginInfo()
47 auto regInfo = pluginRegister_->GetPluginRegInfo(PluginType::DEMUXER, name); in Sniffer() local
48 if (!regInfo) { in Sniffer()
51 if (regInfo->info->pluginType == PluginType::DEMUXER) { in Sniffer()
52 return regInfo->sniffer(name, std::make_shared<DataSourceWrapper>(regInfo in Sniffer()
[all...]
H A Dplugin_register.cpp75 auto regInfo = std::make_shared<PluginRegInfo>(); in UpdateRegisterTableAndRegisterNames() local
76 regInfo->packageDef = packageDef; in UpdateRegisterTableAndRegisterNames()
79 InitSourceInfo(regInfo, def); in UpdateRegisterTableAndRegisterNames()
82 InitDemuxerInfo(regInfo, def); in UpdateRegisterTableAndRegisterNames()
85 InitMuxerInfo(regInfo, def); in UpdateRegisterTableAndRegisterNames()
91 InitCodecInfo(regInfo, def); in UpdateRegisterTableAndRegisterNames()
94 InitAudioSinkInfo(regInfo, def); in UpdateRegisterTableAndRegisterNames()
97 InitVideoSinkInfo(regInfo, def); in UpdateRegisterTableAndRegisterNames()
100 InitOutputSinkInfo(regInfo, def); in UpdateRegisterTableAndRegisterNames()
103 InitGenericPlugin(regInfo, de in UpdateRegisterTableAndRegisterNames()
156 MoreAcceptable(std::shared_ptr<PluginRegInfo>& regInfo, const PluginDefBase& def) MoreAcceptable() argument
[all...]
H A Dplugin_register.h120 bool MoreAcceptable(std::shared_ptr<PluginRegInfo>& regInfo, const PluginDefBase& def);
/foundation/multimedia/media_foundation/test/unittest/plugins/
H A DUtDemuxerTest2.cpp27 DemuxerPluginDef regInfo; in RegisterPlugins() local
28 regInfo.name = "UtDemuxerTest2"; in RegisterPlugins()
29 regInfo.description = "unit test demuxer test2"; in RegisterPlugins()
30 regInfo.rank = 100; // 100 in RegisterPlugins()
31 regInfo.creator = [](const std::string& name) -> std::shared_ptr<DemuxerPlugin> { in RegisterPlugins()
34 regInfo.sniffer = Sniff; in RegisterPlugins()
35 return reg->AddPlugin(regInfo); in RegisterPlugins()
H A DUtDemuxerTest1.cpp35 DemuxerPluginDef regInfo; in RegisterPlugins() local
36 regInfo.name = "UtDemuxerTest1"; in RegisterPlugins()
37 regInfo.description = "unit test demuxer test1"; in RegisterPlugins()
38 regInfo.rank = 100; // 100 in RegisterPlugins()
39 regInfo.creator = [](const std::string& name) -> std::shared_ptr<DemuxerPlugin> { in RegisterPlugins()
42 regInfo.sniffer = Sniff; in RegisterPlugins()
43 return reg->AddPlugin(regInfo); in RegisterPlugins()
/foundation/multimedia/media_foundation/engine/include/plugin/core/
H A Dplugin_manager.h82 auto regInfo = pluginRegister_->GetPluginRegInfo(pluginType, name); in CreatePlugin() local
83 if (!regInfo) { in CreatePlugin()
86 auto plugin = ReinterpretPointerCast<U>(regInfo->creator(name)); in CreatePlugin()
91 new T(regInfo->packageDef->pkgVersion, regInfo->info->apiVersion, plugin)); in CreatePlugin()
/foundation/multimedia/media_foundation/engine/plugin/plugins/demuxer/wav_demuxer/
H A Dwav_demuxer_plugin.cpp238 DemuxerPluginDef regInfo; in RegisterPlugin() local
239 regInfo.name = pluginName; in RegisterPlugin()
240 regInfo.description = "adapter for wav demuxer plugin"; in RegisterPlugin()
241 regInfo.rank = MAX_RANK; in RegisterPlugin()
242 regInfo.creator = [](const std::string &name) -> std::shared_ptr<DemuxerPlugin> { in RegisterPlugin()
245 regInfo.sniffer = Sniff; in RegisterPlugin()
246 auto rtv = reg->AddPlugin(regInfo); in RegisterPlugin()
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/gap/
H A Dgap.c894 ProfileSecurityInfo *regInfo = NULL; in GAP_RegisterServiceSecurity() local
903 regInfo = (ProfileSecurityInfo *)ListGetNodeData(node); in GAP_RegisterServiceSecurity()
904 if ((addr == NULL || GapIsEmptyAddr(addr->addr) || GapAddrCompare(addr, &regInfo->addr)) && in GAP_RegisterServiceSecurity()
905 (regInfo->info.direction == serviceInfo->direction) && in GAP_RegisterServiceSecurity()
906 (regInfo->info.serviceId == serviceInfo->serviceId) && in GAP_RegisterServiceSecurity()
907 (regInfo->info.protocolId == serviceInfo->protocolId) && in GAP_RegisterServiceSecurity()
908 GapCompareChannelID(serviceInfo->protocolId, regInfo->info.channelId, serviceInfo->channelId)) { in GAP_RegisterServiceSecurity()
917 regInfo = MEM_MALLOC.alloc(sizeof(ProfileSecurityInfo)); in GAP_RegisterServiceSecurity()
918 if (regInfo == NULL) { in GAP_RegisterServiceSecurity()
921 (void)memset_s(regInfo, sizeo in GAP_RegisterServiceSecurity()
943 ProfileSecurityInfo *regInfo = NULL; GAP_DeregisterServiceSecurity() local
[all...]
H A Dgap_br_sec.c379 ProfileSecurityInfo *regInfo = NULL; in GAP_RequestSecurity() local
390 regInfo = ListGetNodeData(node); in GAP_RequestSecurity()
391 if ((GapIsEmptyAddr(regInfo->addr.addr) || GapAddrCompare(&regInfo->addr, addr)) && in GAP_RequestSecurity()
392 GapCompareServiceSecurityInfo(&regInfo->info, &param->info)) { in GAP_RequestSecurity()
405 RequestSecInfo *reqInfo = GapAllocReqSecInfo(addr, param->callback, param->context, regInfo); in GAP_RequestSecurity()
/foundation/multimedia/media_foundation/engine/plugin/plugins/demuxer/minimp4_demuxer/
H A Dminimp4_demuxer_plugin.cpp473 DemuxerPluginDef regInfo; in RegisterPlugins() local
474 regInfo.name = pluginName; in RegisterPlugins()
475 regInfo.description = "adapter for minimp4 demuxer plugin"; in RegisterPlugins()
476 regInfo.rank = RANK_MAX; in RegisterPlugins()
477 regInfo.creator = [](const std::string &name) -> std::shared_ptr<DemuxerPlugin> { in RegisterPlugins()
480 regInfo.sniffer = Sniff; in RegisterPlugins()
481 auto ret = reg->AddPlugin(regInfo); in RegisterPlugins()
/foundation/multimedia/media_foundation/engine/plugin/plugins/demuxer/aac_demuxer/
H A Daac_demuxer_plugin.cpp442 DemuxerPluginDef regInfo; in RegisterPlugin() local
443 regInfo.name = pluginName; in RegisterPlugin()
444 regInfo.description = "adapter for aac demuxer plugin"; in RegisterPlugin()
445 regInfo.rank = MAX_RANK; in RegisterPlugin()
446 regInfo.creator = [](const std::string &name) -> std::shared_ptr<DemuxerPlugin> { in RegisterPlugin()
449 regInfo.sniffer = Sniff; in RegisterPlugin()
450 auto rtv = reg->AddPlugin(regInfo); in RegisterPlugin()
/foundation/multimedia/media_foundation/engine/plugin/plugins/ffmpeg_adapter/demuxer/
H A Dffmpeg_demuxer_plugin.cpp693 DemuxerPluginDef regInfo; in RegisterPlugins() local
694 regInfo.name = pluginName; in RegisterPlugins()
695 regInfo.description = "adapter for ffmpeg demuxer plugin"; in RegisterPlugins()
696 regInfo.rank = 100; // 100 in RegisterPlugins()
697 SplitString(plugin->extensions, ',').swap(regInfo.extensions); in RegisterPlugins()
700 regInfo.creator = [](const std::string& name) -> std::shared_ptr<DemuxerPlugin> { in RegisterPlugins()
703 regInfo.sniffer = Sniff; in RegisterPlugins()
704 auto rtv = reg->AddPlugin(regInfo); in RegisterPlugins()
/foundation/multimedia/media_foundation/engine/plugin/plugins/minimp3_adapter/
H A Dminimp3_demuxer_plugin.cpp727 DemuxerPluginDef regInfo; in RegisterPlugin() local
728 regInfo.name = pluginName; in RegisterPlugin()
729 regInfo.description = "adapter for minimp3 demuxer plugin"; in RegisterPlugin()
730 regInfo.rank = MAX_RANK; in RegisterPlugin()
731 regInfo.creator = [](const std::string &name) -> std::shared_ptr<DemuxerPlugin> { in RegisterPlugin()
734 regInfo.sniffer = Sniff; in RegisterPlugin()
735 auto rtv = reg->AddPlugin(regInfo); in RegisterPlugin()
/foundation/communication/dsoftbus/components/nstackx/nstackx_ctrl/core/
H A Dnstackx_common.c1004 struct RegDeviceInfo *regInfo = (struct RegDeviceInfo *)arg; in RegisterDeviceV2() local
1005 regInfo->err = RegisterLocalDeviceV2(regInfo->info, regInfo->registerType); in RegisterDeviceV2()
1006 SemPost(&regInfo->wait); in RegisterDeviceV2()
1021 struct RegDeviceInfo regInfo; in RegisterDeviceWithType() local
1022 if (SemInit(&regInfo.wait, 0, 0)) { in RegisterDeviceWithType()
1027 regInfo.info = localDeviceInfo; in RegisterDeviceWithType()
1028 regInfo.registerType = registerType; in RegisterDeviceWithType()
1029 regInfo in RegisterDeviceWithType()
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/stack/src/avdtp/
H A Davdtp_int.h450 AvdtRegisterParam regInfo; /* Registration control block */ member
H A Davdtp_ctrl.c1073 sigCtrl->procCback = g_avdtCb.regInfo.ctrlCallback; in AvdtSigCtrlAllocate()
1686 return g_avdtCb.regInfo.mtu; in AvdtGetMtu()
1693 g_avdtCb.regInfo = *reg; in AvdtRegister()
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/demuxer/
H A Dffmpeg_demuxer_plugin.cpp1726 DemuxerPluginDef regInfo; in RegisterPlugins() local
1727 regInfo.name = pluginName; in RegisterPlugins()
1728 regInfo.description = "ffmpeg demuxer plugin"; in RegisterPlugins()
1729 regInfo.rank = RANK_MAX; in RegisterPlugins()
1730 regInfo.AddExtensions(SplitString(plugin->extensions, ',')); in RegisterPlugins()
1736 regInfo.SetCreator(func); in RegisterPlugins()
1737 regInfo.SetSniffer(Sniff); in RegisterPlugins()
1738 auto ret = reg->AddPlugin(regInfo); in RegisterPlugins()
/foundation/distributedhardware/distributed_input/services/source/sourcemanager/test/sourcemanagerunittest/
H A Ddistributed_input_sourcemanager_test.cpp1207 DistributedInputSourceManager::DInputClientRegistInfo regInfo {devId, dhId, callback}; in HWTEST_F()
1208 sourceManager_->regCallbacks_.push_back(regInfo); in HWTEST_F()

Completed in 22 milliseconds