Base preprocessor class.
Definition at line 79 of file sources/libs/nvdsinferserver/infer_iprocess.h.


Public Types | |
| using | PreprocessDone = std::function< void(NvDsInferStatus, SharedBatchArray)> |
| using | PreprocessDone = std::function< void(NvDsInferStatus, SharedBatchArray)> |
Public Member Functions | |
| ~BasePreprocessor () override=default | |
| Destructor default. More... | |
| NvDsInferStatus | transform (SharedBatchArray src, SharedCuStream mainStream, PreprocessDone done) override |
| Perform the transformation on the input buffer from the buffer array, indexed using m_TransformIdx. More... | |
| virtual NvDsInferStatus | allocateResource (const std::vector< int > &devIds)=0 |
| Allocate resource like output buffer pool. More... | |
| ~BasePreprocessor () override=default | |
| Destructor default. More... | |
| NvDsInferStatus | transform (SharedBatchArray src, SharedCuStream mainStream, PreprocessDone done) override |
| Perform the transformation on the input buffer from the buffer array, indexed using m_TransformIdx. More... | |
| virtual NvDsInferStatus | allocateResource (const std::vector< int > &devIds)=0 |
| Allocate resource like output buffer pool. More... | |
|
inherited |
Definition at line 44 of file sources/libs/nvdsinferserver/infer_iprocess.h.
|
inherited |
Definition at line 44 of file 9.0/sources/libs/nvdsinferserver/infer_iprocess.h.
|
overridedefault |
Destructor default.
|
overridedefault |
Destructor default.
|
pure virtual |
Allocate resource like output buffer pool.
| [in] | devIds | List of device IDs. |
Implemented in nvdsinferserver::NetworkPreprocessor, and nvdsinferserver::NetworkPreprocessor.
|
pure virtual |
Allocate resource like output buffer pool.
| [in] | devIds | List of device IDs. |
Implemented in nvdsinferserver::NetworkPreprocessor, and nvdsinferserver::NetworkPreprocessor.
|
inline |
Definition at line 92 of file 9.0/sources/libs/nvdsinferserver/infer_iprocess.h.
|
inline |
Definition at line 92 of file sources/libs/nvdsinferserver/infer_iprocess.h.
|
inline |
Definition at line 90 of file sources/libs/nvdsinferserver/infer_iprocess.h.
|
inline |
Definition at line 90 of file 9.0/sources/libs/nvdsinferserver/infer_iprocess.h.
|
inlineoverridevirtual |
Perform the transformation on the input buffer from the buffer array, indexed using m_TransformIdx.
| [in] | src | The input batch buffer array. |
| [in] | mainStream | The main processing CUDA stream. |
| [in] | done | The call function to be called after transformation. |
Implements nvdsinferserver::IPreprocessor.
Definition at line 103 of file 9.0/sources/libs/nvdsinferserver/infer_iprocess.h.
References NVDSINFER_RESOURCE_ERROR, and NVDSINFER_SUCCESS.
|
inlineoverridevirtual |
Perform the transformation on the input buffer from the buffer array, indexed using m_TransformIdx.
| [in] | src | The input batch buffer array. |
| [in] | mainStream | The main processing CUDA stream. |
| [in] | done | The call function to be called after transformation. |
Implements nvdsinferserver::IPreprocessor.
Definition at line 103 of file sources/libs/nvdsinferserver/infer_iprocess.h.
References NVDSINFER_RESOURCE_ERROR, and NVDSINFER_SUCCESS.
|
inline |
Definition at line 91 of file 9.0/sources/libs/nvdsinferserver/infer_iprocess.h.
|
inline |
Definition at line 91 of file sources/libs/nvdsinferserver/infer_iprocess.h.