|
|
NVIDIA DeepStream SDK API Reference
|
9.1 Release
|
Go to the documentation of this file.
19 #include <ds3d/gst/nvds3d_gst_plugin.h>
20 #include <ds3d/common/defines.h>
21 #include <ds3d/common/hpp/datamap.hpp>
23 #include "data_receiver.hpp"
35 std::string configPath;
37 std::string configContent;
38 receiver.getProperty(
"config-path", configPath);
39 std::cout <<
"ensemble_render plugin config-path: " << configPath << std::endl;
44 c = render.start(config.rawContent, config.filePath);
55 gst_buffer_unref(buf);
69 bool _initialized =
false;
struct _GstBuffer OpaqueBuffer
required interface for a data receiver
ErrCode loadCustomProcessor(const config::ComponentConfig &compConfig, GuardProcess &customProcessor, Ptr< CustomLibFactory > &lib)
bool readFile(const std::string &path, std::string &context)
ErrCode parseComponentConfig(const std::string &yamlComp, const std::string &path, ComponentConfig &config)
virtual int consume(DataReceiver &receiver, Buffer buffer)
ErrCode render(GuardDataMap datamap, abiOnDataCB::CppFunc dataDoneCB)
GuardDataRender is the safe access entry for abiDataRender.
A specific signal handler for consuming data.
static deepstream::Cloud2DeviceReceiver receiver
void initialize(DataReceiver &receiver)
OpaqueBuffer * give()
Give up the ownership of this buffer and return the opaque buffer pointer.
struct _GstBuffer GstBuffer