Home
last modified time | relevance | path

Searched refs:reg (Results 1 – 25 of 59) sorted by relevance

123

/foundation/multimedia/histreamer/engine/plugin/core/
Dplugin_register.cpp168 Status PluginRegister::RegisterImpl::InitSourceInfo(std::shared_ptr<PluginRegInfo>& reg, const Plug… in InitSourceInfo() argument
171 reg->creator = base.creator; in InitSourceInfo()
177 reg->info = info; in InitSourceInfo()
181 Status PluginRegister::RegisterImpl::InitDemuxerInfo(std::shared_ptr<PluginRegInfo>& reg, const Plu… in InitDemuxerInfo() argument
184 reg->creator = base.creator; in InitDemuxerInfo()
185 reg->sniffer = base.sniffer; in InitDemuxerInfo()
190 reg->info = info; in InitDemuxerInfo()
194 Status PluginRegister::RegisterImpl::InitMuxerInfo(std::shared_ptr<PluginRegInfo>& reg, const Plugi… in InitMuxerInfo() argument
197 reg->creator = base.creator; in InitMuxerInfo()
202 reg->info = info; in InitMuxerInfo()
[all …]
Dplugin_register.h90 Status InitSourceInfo(std::shared_ptr<PluginRegInfo>& reg, const PluginDefBase& def);
94 Status InitDemuxerInfo(std::shared_ptr<PluginRegInfo>& reg, const PluginDefBase& def);
98 Status InitMuxerInfo(std::shared_ptr<PluginRegInfo>& reg, const PluginDefBase& def);
100 Status InitCodecInfo(std::shared_ptr<PluginRegInfo>& reg, const PluginDefBase& def);
104 Status InitAudioSinkInfo(std::shared_ptr<PluginRegInfo>& reg, const PluginDefBase& def);
108 Status InitVideoSinkInfo(std::shared_ptr<PluginRegInfo>& reg, const PluginDefBase& def);
112 Status InitOutputSinkInfo(std::shared_ptr<PluginRegInfo>& reg, const PluginDefBase& def);
114 Status InitGenericPlugin(std::shared_ptr<PluginRegInfo>& reg, const PluginDefBase& def);
/foundation/distributedhardware/distributed_hardware_fwk/utils/include/eventbus/
Devent_bus.h102 for (auto &reg : *registrations) { in AddHandler()
103 if (reg->GetHandler() == static_cast<void *>(&handler) && reg->GetSender() == nullptr) { in AddHandler()
104 return reg; in AddHandler()
131 for (auto &reg : *registrations) { in AddHandler()
132 if (reg->GetHandler() == static_cast<void *>(&handler) && reg->GetSender() == &sender) { in AddHandler()
133 return reg; in AddHandler()
225 for (auto &reg : *registrations) { in PostEventInner()
226 if (reg->GetHandler() == nullptr) { in PostEventInner()
229 if ((reg->GetSender() == nullptr) || (reg->GetSender() == &e.GetSender())) { in PostEventInner()
230 … static_cast<EventBusHandler<Event> *>(const_cast<void *>(reg->GetHandler()))->Dispatch(e); in PostEventInner()
/foundation/multimedia/histreamer/engine/plugin/plugins/
Dall_plugin_static.h.in23 … name)(std::shared_ptr<OHOS::Media::Plugin::Register> reg); \
26 #define REGISTER_STATIC(name, reg) PLUGIN_PASTE(register_, name)(reg) argument
33 void RegisterPluginStatic(std::shared_ptr<OHOS::Media::Plugin::Register> reg) argument
/foundation/window/window_manager/utils/include/
Dwm_occlusion_region.h153 Region(const Region& reg) : rects_(reg.rects_), bound_(reg.bound_) {} in Region() argument
154 Region& operator=(const Region& reg)
156 rects_ = reg.rects_;
157 bound_ = reg.bound_;
/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/delegates/nnrt_delegate/
Dnnrt_delegate_kernel.cpp247 TfLiteRegistration* reg = nullptr; in AddOpsAndTensors() local
250 reg = nullptr; in AddOpsAndTensors()
252 …context->GetNodeAndRegistration(context, nodeIndex, &node, &reg)); // Obtain the op and registrati… in AddOpsAndTensors()
253 if ((node == nullptr) || (reg == nullptr)) { in AddOpsAndTensors()
258 const bool scalarAsTensor = IsScalarInputSupported(reg->builtin_code); in AddOpsAndTensors()
267 TF_LITE_ENSURE_STATUS(Map(reg->builtin_code, opMappingArgs, nnOpType)); in AddOpsAndTensors()
270 if ((reg->builtin_code == kTfLiteBuiltinFullyConnected) && in AddOpsAndTensors()
275 … TF_LITE_ENSURE_STATUS(builder.AddTensorInput(inputIndex, reg->builtin_code, inputTensorFlags)); in AddOpsAndTensors()
281 … TF_LITE_ENSURE_STATUS(builder.AddTensorOutput(outputIndex, reg->builtin_code, outputTensorFlags)); in AddOpsAndTensors()
/foundation/multimedia/histreamer/tests/ut/plugins/
DUtCodecTest1.cpp25 static Status CodecRegister(const std::shared_ptr<Register> &reg) in CodecRegister() argument
33 return reg->AddPlugin(definition); in CodecRegister()
DUtCodecTest2.cpp25 static Status CodecRegister(const std::shared_ptr<Register> &reg) in CodecRegister() argument
33 return reg->AddPlugin(definition); in CodecRegister()
DUtSourceTest2.cpp27 static Status SourceRegister(const std::shared_ptr<Register> &reg) in SourceRegister() argument
36 return reg->AddPlugin(definition); in SourceRegister()
DUtSourceTest1.cpp28 static Status SourceRegister(const std::shared_ptr<Register> &reg) in SourceRegister() argument
37 return reg->AddPlugin(definition); in SourceRegister()
DUtDemuxerTest2.cpp25 static Status RegisterPlugins(const std::shared_ptr<Register>& reg) in RegisterPlugins() argument
35 return reg->AddPlugin(regInfo); in RegisterPlugins()
DUtAudioSinkTest1.cpp25 static Status AudioSinkRegister(const std::shared_ptr<Register> &reg) in AudioSinkRegister() argument
32 return reg->AddPlugin(definition); in AudioSinkRegister()
DUtAudioSinkTest2.cpp25 static Status AudioSinkRegister(const std::shared_ptr<Register> &reg) in AudioSinkRegister() argument
32 return reg->AddPlugin(definition); in AudioSinkRegister()
DUtDemuxerTest1.cpp33 static Status RegisterPlugins(const std::shared_ptr<Register>& reg) in RegisterPlugins() argument
43 return reg->AddPlugin(regInfo); in RegisterPlugins()
/foundation/multimedia/histreamer/engine/plugin/plugins/sink/file_sink/
Dfile_fd_sink_plugin.cpp35 Status FileFdSinkRegister(const std::shared_ptr<Register>& reg) in FileFdSinkRegister() argument
44 return reg->AddPlugin(definition); in FileFdSinkRegister()
/foundation/filemanagement/app_file_service/utils/src/b_process/
Db_process.cpp48 regex reg("^\\W*$"); in WaitForChild() local
51 if (regex_match(buf.get(), reg)) { in WaitForChild()
/foundation/arkui/ace_engine/frameworks/bridge/common/utils/
Dengine_helper.cpp106 std::regex reg("\\d+:\\d+"); in GetPositionOnJsCode() local
108 if (std::regex_search(stack, match, reg)) { in GetPositionOnJsCode()
/foundation/multimedia/histreamer/engine/plugin/plugins/demuxer/wav_demuxer/
Dwav_demuxer_plugin.cpp51 Status RegisterPlugin(const std::shared_ptr<Register>& reg);
229 Status RegisterPlugin(const std::shared_ptr<Register>& reg) in RegisterPlugin() argument
232 if (!reg) { in RegisterPlugin()
246 auto rtv = reg->AddPlugin(regInfo); in RegisterPlugin()
/foundation/multimedia/histreamer/engine/plugin/plugins/source/stream_source/
Dstream_source_plugin.cpp30 const Status StreamSourceRegister(const std::shared_ptr<Register>& reg) in StreamSourceRegister() argument
38 return reg->AddPlugin(definition); in StreamSourceRegister()
/foundation/multimedia/histreamer/engine/plugin/plugins/codec_adapter/
Dcodec_manager.h43 …virtual Status RegisterCodecPlugins(const std::shared_ptr<OHOS::Media::Plugin::Register>& reg) = 0;
Dhdi_codec_manager.h38 Status RegisterCodecPlugins(const std::shared_ptr<OHOS::Media::Plugin::Register>& reg) override;
/foundation/multimedia/histreamer/engine/plugin/plugins/minimp3_adapter/
Dminimp3_decoder_plugin.cpp238 Status RegisterDecoderPlugin(const std::shared_ptr<Register>& reg) in RegisterDecoderPlugin() argument
241 if (!reg) { in RegisterDecoderPlugin()
252 if (reg->AddPlugin(definition) != Status::OK) { in RegisterDecoderPlugin()
/foundation/multimedia/histreamer/engine/plugin/plugins/lite_aac_decoder/
Dlite_aac_decoder_plugin.cpp41 Status RegisterDecoderPlugin(const std::shared_ptr<Register>& reg) in RegisterDecoderPlugin() argument
44 if (!reg) { in RegisterDecoderPlugin()
55 if (reg->AddPlugin(definition) != Status::OK) { in RegisterDecoderPlugin()
/foundation/multimedia/histreamer/engine/plugin/plugins/demuxer/aac_demuxer/
Daac_demuxer_plugin.cpp42 Status RegisterPlugin(const std::shared_ptr<Register>& reg);
433 Status RegisterPlugin(const std::shared_ptr<Register>& reg) in RegisterPlugin() argument
436 if (!reg) { in RegisterPlugin()
450 auto rtv = reg->AddPlugin(regInfo); in RegisterPlugin()
/foundation/multimedia/histreamer/engine/plugin/plugins/source/file_source/
Dfile_fd_source_plugin.cpp48 Status FileFdSourceRegister(const std::shared_ptr<Register>& reg) in FileFdSourceRegister() argument
58 return reg->AddPlugin(definition); in FileFdSourceRegister()

123