|
|
NVIDIA DeepStream SDK API Reference
|
9.2 Release
|
Go to the documentation of this file.
18 #ifndef DS3D_DATARENDER_GLES_3D_ENSEMBLE_RENDER_IMPL_H
19 #define DS3D_DATARENDER_GLES_3D_ENSEMBLE_RENDER_IMPL_H
23 #include "ds3d/common/helper/safe_queue.h"
24 #include "ds3d/common/helper/signalshot.h"
25 #include "ds3d/common/hpp/datarender.hpp"
26 #include "ds3d/common/impl/impl_datarender.h"
27 #include "ds3d/glprocess/gl_render_ctx.h"
28 #include "ds3d/glprocess/window.h"
32 namespace ds3d {
namespace impl {
namespace render {
41 ErrCode startImpl(
const std::string& content,
const std::string& path)
override;
62 while (_renderQueue.size()) {
65 item = _renderQueue.pop();
81 EnsembleConfig _config;
82 std::vector<Ptr<gl::iGLRender>> _renders;
84 std::unique_ptr<std::thread> _renderThread;
87 uint32_t _maxQueueSize = 1;
88 std::atomic_bool _stopped{
false};
94 #endif // DS3D_DATARENDER_GLES_3D_ENSEMBLE_RENDER_IMPL_H
ErrCode flushImpl() override
std::function< void()> failed
std::function< void(ErrCode, GuardDataMap)> OnGuardDataCBImpl
Gl3DImplEnsembleRender()=default
const char * what() const noexcept override
#define LOG_WARNING(fmt,...)
ErrCode prerollImpl(GuardDataMap datamap) override
Ensemble render configuration.
std::function< ErrCode()> process
ErrCode startRenderTaskUnsafe(const EnsembleConfig &config)
Any custom datarender must derive from BaseImplDataRender,.
ErrCode startImpl(const std::string &content, const std::string &path) override
ErrCode renderImpl(GuardDataMap datamap, OnGuardDataCBImpl dataDoneCb) override
ErrCode stopImpl() override
~Gl3DImplEnsembleRender() override