Definition at line 213 of file gstnvinfer_impl.h.
Public Types | |
| using | ContextReplacementPtr = std::unique_ptr< std::tuple< NvDsInferContextPtr, NvDsInferContextInitParamsPtr, std::string > > |
Public Member Functions | |
| DsNvInferImpl (GstNvInfer *infer) | |
| ~DsNvInferImpl () | |
| NvDsInferStatus | start () |
| void | stop () |
| bool | isContextReady () const |
| bool | triggerNewModel (const std::string &modelPath, ModelLoadType loadType) |
| Load new model in separate thread. More... | |
| NvDsInferStatus | ensureReplaceNextContext () |
| replace context, action in submit_input_buffer More... | |
| void | notifyLoadModelStatus (const ModelStatus &res) |
Data Fields | |
| NvDsInferContextPtr | m_InferCtx |
| NvDsInferContext to be used for inferencing. More... | |
| NvDsInferContextInitParamsPtr | m_InitParams |
| NvDsInferContext initialization params. More... | |
| using gstnvinfer::DsNvInferImpl::ContextReplacementPtr = std::unique_ptr<std::tuple<NvDsInferContextPtr, NvDsInferContextInitParamsPtr, std::string> > |
Definition at line 217 of file gstnvinfer_impl.h.
| gstnvinfer::DsNvInferImpl::DsNvInferImpl | ( | GstNvInfer * | infer | ) |
| gstnvinfer::DsNvInferImpl::~DsNvInferImpl | ( | ) |
| NvDsInferStatus gstnvinfer::DsNvInferImpl::ensureReplaceNextContext | ( | ) |
replace context, action in submit_input_buffer
|
inline |
Definition at line 226 of file gstnvinfer_impl.h.
References m_InferCtx.
| void gstnvinfer::DsNvInferImpl::notifyLoadModelStatus | ( | const ModelStatus & | res | ) |
| NvDsInferStatus gstnvinfer::DsNvInferImpl::start | ( | ) |
| void gstnvinfer::DsNvInferImpl::stop | ( | ) |
| bool gstnvinfer::DsNvInferImpl::triggerNewModel | ( | const std::string & | modelPath, |
| ModelLoadType | loadType | ||
| ) |
Load new model in separate thread.
| NvDsInferContextPtr gstnvinfer::DsNvInferImpl::m_InferCtx |
NvDsInferContext to be used for inferencing.
Definition at line 236 of file gstnvinfer_impl.h.
Referenced by isContextReady().
| NvDsInferContextInitParamsPtr gstnvinfer::DsNvInferImpl::m_InitParams |
NvDsInferContext initialization params.
Definition at line 239 of file gstnvinfer_impl.h.