|
NVIDIA DeepStream SDK API Reference
|
8.0 Release
|
Go to the documentation of this file.
30 std::string configPath;
32 std::string configContent;
33 receiver.getProperty(
"config-path", configPath);
34 std::cout <<
"ensemble_render plugin config-path: " << configPath << std::endl;
39 c = render.start(config.rawContent, config.filePath);
50 gst_buffer_unref(buf);
64 bool _initialized =
false;
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)
static deepstream::Cloud2DeviceReceiver receiver
virtual int consume(DataReceiver &receiver, Buffer buffer)
ErrCode render(GuardDataMap datamap, abiOnDataCB::CppFunc dataDoneCB)
struct _GstBuffer OpaqueBuffer
struct _GstBuffer GstBuffer
GuardDataRender is the safe access entry for abiDataRender.
A specific signal handler for consuming data.
void initialize(DataReceiver &receiver)
OpaqueBuffer * give()
Give up the ownership of this buffer and return the opaque buffer pointer.