Home
last modified time | relevance | path

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

/foundation/multimedia/histreamer/engine/plugin/core/
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->packageDef->pkgVersion,… in Sniffer()
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, def); in UpdateRegisterTableAndRegisterNames()
[all …]
Dplugin_register.h120 bool MoreAcceptable(std::shared_ptr<PluginRegInfo>& regInfo, const PluginDefBase& def);
/foundation/multimedia/histreamer/tests/ut/plugins/
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()
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/av_codec/services/engine/plugin/core/
Ddemuxer_factory.cpp53 std::shared_ptr<PluginRegInfo> regInfo = registerData_->registerTable[name]; in CreatePlugin() local
54 if (regInfo->info->pluginType == PluginType::DEMUXER) { in CreatePlugin()
55 auto rank = regInfo->info->rank; in CreatePlugin()
66 std::shared_ptr<PluginRegInfo> regInfo = registerData_->registerTable[pluginName]; in CreatePlugin() local
67 auto plugin = ReinterpretPointerCast<DemuxerPlugin>(regInfo->creator()); in CreatePlugin()
76 new Demuxer(regInfo->packageDef->pkgVersion, regInfo->info->apiVersion, plugin)); in CreatePlugin()
149 std::shared_ptr<PluginRegInfo> regInfo = std::make_shared<PluginRegInfo>(); in AddPlugin() local
150 regInfo->packageDef = packageDef; in AddPlugin()
151 regInfo->creator = reinterpret_cast<DemuxerPluginCreatorFunc>(pluginDef.creator); in AddPlugin()
152 regInfo->sniffer = reinterpret_cast<DemuxerPluginSnifferFunc>(pluginDef.sniffer); in AddPlugin()
[all …]
Dmuxer_factory.cpp51 std::shared_ptr<PluginRegInfo> regInfo = registerData_->registerTable[name]; in CreatePlugin() local
52 if (regInfo->pluginDef->pluginType == PluginType::MUXER) { in CreatePlugin()
53 auto prob = regInfo->pluginDef->sniffer(name, outputFormat); in CreatePlugin()
62 std::shared_ptr<PluginRegInfo> regInfo = registerData_->registerTable[pluginName]; in CreatePlugin() local
63 auto plugin = regInfo->pluginDef->creator(pluginName, fd); in CreatePlugin()
65 new Muxer(regInfo->packageDef->pkgVersion, regInfo->pluginDef->apiVersion, plugin)); in CreatePlugin()
133 std::shared_ptr<PluginRegInfo> regInfo = std::make_shared<PluginRegInfo>(); in AddPlugin() local
134 regInfo->packageDef = packageDef; in AddPlugin()
135 regInfo->pluginDef = std::make_shared<MuxerPluginDef>(pluginDef); in AddPlugin()
136 regInfo->loader = std::move(pluginLoader); in AddPlugin()
[all …]
/foundation/multimedia/histreamer/engine/include/plugin/core/
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/histreamer/engine/plugin/plugins/demuxer/wav_demuxer/
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/
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, sizeof(ProfileSecurityInfo), 0x00, sizeof(ProfileSecurityInfo)); in GAP_RegisterServiceSecurity()
[all …]
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/histreamer/engine/plugin/plugins/demuxer/aac_demuxer/
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/histreamer/engine/plugin/plugins/demuxer/minimp4_demuxer/
Dminimp4_demuxer_plugin.cpp475 DemuxerPluginDef regInfo; in RegisterPlugins() local
476 regInfo.name = pluginName; in RegisterPlugins()
477 regInfo.description = "adapter for minimp4 demuxer plugin"; in RegisterPlugins()
478 regInfo.rank = RANK_MAX; in RegisterPlugins()
479 regInfo.creator = [](const std::string &name) -> std::shared_ptr<DemuxerPlugin> { in RegisterPlugins()
482 regInfo.sniffer = Sniff; in RegisterPlugins()
483 auto ret = reg->AddPlugin(regInfo); in RegisterPlugins()
/foundation/multimedia/histreamer/engine/plugin/plugins/ffmpeg_adapter/demuxer/
Dffmpeg_demuxer_plugin.cpp683 DemuxerPluginDef regInfo; in RegisterPlugins() local
684 regInfo.name = pluginName; in RegisterPlugins()
685 regInfo.description = "adapter for ffmpeg demuxer plugin"; in RegisterPlugins()
686 regInfo.rank = 100; // 100 in RegisterPlugins()
687 SplitString(plugin->extensions, ',').swap(regInfo.extensions); in RegisterPlugins()
690 regInfo.creator = [](const std::string& name) -> std::shared_ptr<DemuxerPlugin> { in RegisterPlugins()
693 regInfo.sniffer = Sniff; in RegisterPlugins()
694 auto rtv = reg->AddPlugin(regInfo); in RegisterPlugins()
/foundation/multimedia/histreamer/engine/plugin/plugins/minimp3_adapter/
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/bluetooth_service/services/bluetooth/stack/src/avdtp/
Davdtp_int.h450 AvdtRegisterParam regInfo; /* Registration control block */ member
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/distributedhardware/distributed_input/services/source/sourcemanager/test/sourcemanagerunittest/
Ddistributed_input_sourcemanager_test.cpp1232 DistributedInputSourceManager::DInputClientRegistInfo regInfo {devId, dhId, callback}; variable
1233 sourceManager_->regCallbacks_.push_back(regInfo);