/foundation/multimedia/histreamer/engine/plugin/core/ |
D | plugin_register.cpp | 168 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 …]
|
D | plugin_register.h | 90 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/ |
D | event_bus.h | 102 for (auto ® : *registrations) { in AddHandler() 103 if (reg->GetHandler() == static_cast<void *>(&handler) && reg->GetSender() == nullptr) { in AddHandler() 104 return reg; in AddHandler() 131 for (auto ® : *registrations) { in AddHandler() 132 if (reg->GetHandler() == static_cast<void *>(&handler) && reg->GetSender() == &sender) { in AddHandler() 133 return reg; in AddHandler() 225 for (auto ® : *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/ |
D | all_plugin_static.h.in | 23 … 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/ |
D | wm_occlusion_region.h | 153 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/ |
D | nnrt_delegate_kernel.cpp | 247 TfLiteRegistration* reg = nullptr; in AddOpsAndTensors() local 250 reg = nullptr; in AddOpsAndTensors() 252 …context->GetNodeAndRegistration(context, nodeIndex, &node, ®)); // 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/ |
D | UtCodecTest1.cpp | 25 static Status CodecRegister(const std::shared_ptr<Register> ®) in CodecRegister() argument 33 return reg->AddPlugin(definition); in CodecRegister()
|
D | UtCodecTest2.cpp | 25 static Status CodecRegister(const std::shared_ptr<Register> ®) in CodecRegister() argument 33 return reg->AddPlugin(definition); in CodecRegister()
|
D | UtSourceTest2.cpp | 27 static Status SourceRegister(const std::shared_ptr<Register> ®) in SourceRegister() argument 36 return reg->AddPlugin(definition); in SourceRegister()
|
D | UtSourceTest1.cpp | 28 static Status SourceRegister(const std::shared_ptr<Register> ®) in SourceRegister() argument 37 return reg->AddPlugin(definition); in SourceRegister()
|
D | UtDemuxerTest2.cpp | 25 static Status RegisterPlugins(const std::shared_ptr<Register>& reg) in RegisterPlugins() argument 35 return reg->AddPlugin(regInfo); in RegisterPlugins()
|
D | UtAudioSinkTest1.cpp | 25 static Status AudioSinkRegister(const std::shared_ptr<Register> ®) in AudioSinkRegister() argument 32 return reg->AddPlugin(definition); in AudioSinkRegister()
|
D | UtAudioSinkTest2.cpp | 25 static Status AudioSinkRegister(const std::shared_ptr<Register> ®) in AudioSinkRegister() argument 32 return reg->AddPlugin(definition); in AudioSinkRegister()
|
D | UtDemuxerTest1.cpp | 33 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/ |
D | file_fd_sink_plugin.cpp | 35 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/ |
D | b_process.cpp | 48 regex reg("^\\W*$"); in WaitForChild() local 51 if (regex_match(buf.get(), reg)) { in WaitForChild()
|
/foundation/arkui/ace_engine/frameworks/bridge/common/utils/ |
D | engine_helper.cpp | 106 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/ |
D | wav_demuxer_plugin.cpp | 51 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/ |
D | stream_source_plugin.cpp | 30 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/ |
D | codec_manager.h | 43 …virtual Status RegisterCodecPlugins(const std::shared_ptr<OHOS::Media::Plugin::Register>& reg) = 0;
|
D | hdi_codec_manager.h | 38 Status RegisterCodecPlugins(const std::shared_ptr<OHOS::Media::Plugin::Register>& reg) override;
|
/foundation/multimedia/histreamer/engine/plugin/plugins/minimp3_adapter/ |
D | minimp3_decoder_plugin.cpp | 238 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/ |
D | lite_aac_decoder_plugin.cpp | 41 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/ |
D | aac_demuxer_plugin.cpp | 42 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/ |
D | file_fd_source_plugin.cpp | 48 Status FileFdSourceRegister(const std::shared_ptr<Register>& reg) in FileFdSourceRegister() argument 58 return reg->AddPlugin(definition); in FileFdSourceRegister()
|