Skip to content

cvedia::rt::module

Classes

Name
struct cvedia::rt::module::ModelPaths
struct cvedia::rt::module::PluginInit
struct cvedia::rt::module::PluginInst
struct cvedia::rt::module::PluginLuaInit
struct cvedia::rt::module::PluginTpl

Types

Name
typedef expected< std::vector< std::vector< Tensor > > >(*)(InferenceContext &ctx, CValue *inferenceConf) preprocessHandler
typedef expected< cvec >(*)(InferenceContext &ctx, std::vector< xt::xarray< float > > &output, CValue *inferenceConf) postprocessHandler
typedef expected< std::vector< std::vector< cbuffer > > >(*)(InferenceContext &ctx, CValue *inferenceConf) preprocessBufferHandler
typedef expected< cvec >(*)(InferenceContext &ctx, std::vector< void * > &outputs, std::vector< iface::InferenceHandler::TensorInfo > const &meta, CValue *inferenceConf) postprocessCudaHandler
typedef expected< cvec >(*)(InferenceContext &ctx, std::vector< cbuffer > &outputs, std::vector< iface::InferenceHandler::TensorInfo > const &meta, CValue *inferenceConf) postprocessOpenClHandler
typedef const char ()() _PluginName
typedef void(*)() registerHandler
typedef void(*)(PluginInit *init) _Instantiate
typedef void(*)(PluginLuaInit *init) _InstantiateLua
using std::function< std::shared_ptr< iface::InferenceHandler >(std::string const &moduleName)> createInferenceHandler
using std::function< std::shared_ptr< iface::InferenceEngine >(std::string const &moduleName)> createInferenceEngine
using std::function< std::unique_ptr< iface::InputHandler >(std::string const &moduleName)> createInputHandler
using std::function< std::shared_ptr< iface::OutputHandler >(std::string const &moduleName, std::string const &schema, std::string const &sink, std::string const &path, pCValue config)> createOutputHandler
using std::function< std::unique_ptr< iface::VideoDecoder >(std::string const &deviceId, Codec const &codec)> createVideoDecoderHandler
using std::function< std::shared_ptr< iface::SolutionManager >()> createSolutionManagerHandler
using std::function< pCValue(std::string const &eventName, pCValue const &input)> uiHandler
using std::function< std::shared_ptr< iface::EventActionHandler >(std::string const &moduleName, iface::EventActionTypeEnum actionType, pCValue config)> createEventActionHandler
using std::function< bool(sol::state_view &engine)> createLuaInitHandler
using std::function< void(sol::table &)> createLuaCreateHandler

Types Documentation

typedef preprocessHandler

typedef expected< std::vector< std::vector< Tensor > > >(* preprocessHandler) (InferenceContext &ctx, CValue *inferenceConf);

typedef postprocessHandler

typedef expected< cvec >(* postprocessHandler) (InferenceContext &ctx, std::vector< xt::xarray< float > > &output, CValue *inferenceConf);

typedef preprocessBufferHandler

typedef expected< std::vector< std::vector< cbuffer > > >(* preprocessBufferHandler) (InferenceContext &ctx, CValue *inferenceConf);

typedef postprocessCudaHandler

typedef expected< cvec >(* postprocessCudaHandler) (InferenceContext &ctx, std::vector< void * > &outputs, std::vector< iface::InferenceHandler::TensorInfo > const  &meta, CValue *inferenceConf);

typedef postprocessOpenClHandler

typedef expected< cvec >(* postprocessOpenClHandler) (InferenceContext &ctx, std::vector< cbuffer > &outputs, std::vector< iface::InferenceHandler::TensorInfo > const  &meta, CValue *inferenceConf);

typedef _PluginName

typedef const char *(* _PluginName) ();

typedef registerHandler

typedef void(* registerHandler) ();

typedef _Instantiate

typedef void(* _Instantiate) (PluginInit *init);

typedef _InstantiateLua

typedef void(* _InstantiateLua) (PluginLuaInit *init);

using createInferenceHandler

using createInferenceHandler =  std::function<std::shared_ptr<iface::InferenceHandler>(std::string const& moduleName)>;

using createInferenceEngine

using createInferenceEngine =  std::function<std::shared_ptr<iface::InferenceEngine>(std::string const& moduleName)>;

using createInputHandler

using createInputHandler =  std::function<std::unique_ptr<iface::InputHandler>(std::string const& moduleName)>;

using createOutputHandler

using createOutputHandler =  std::function<std::shared_ptr<iface::OutputHandler>(std::string const& moduleName, std::string const& schema, std::string const& sink, std::string const& path, pCValue config)>;

using createVideoDecoderHandler

using createVideoDecoderHandler =  std::function<std::unique_ptr<iface::VideoDecoder>(std::string const& deviceId, Codec const& codec)>;

using createSolutionManagerHandler

using createSolutionManagerHandler =  std::function<std::shared_ptr<iface::SolutionManager>()>;

using uiHandler

using uiHandler =  std::function<pCValue(std::string const& eventName, pCValue const& input)>;

using createEventActionHandler

using createEventActionHandler =  std::function<std::shared_ptr<iface::EventActionHandler>(std::string const& moduleName, iface::EventActionTypeEnum actionType, pCValue config)>;

using createLuaInitHandler

using createLuaInitHandler =  std::function<bool(sol::state_view &engine)>;

using createLuaCreateHandler

using createLuaCreateHandler =  std::function<void(sol::table&)>;