Base preprocessor class.
Definition at line 79 of file infer_iprocess.h.
◆ PreprocessDone
◆ ~BasePreprocessor()
nvdsinferserver::BasePreprocessor::~BasePreprocessor |
( |
| ) |
|
|
overridedefault |
◆ allocateResource()
virtual NvDsInferStatus nvdsinferserver::BasePreprocessor::allocateResource |
( |
const std::vector< int > & |
devIds | ) |
|
|
pure virtual |
◆ setTransformIdx()
void nvdsinferserver::BasePreprocessor::setTransformIdx |
( |
int |
idx | ) |
|
|
inline |
◆ setUniqueId()
void nvdsinferserver::BasePreprocessor::setUniqueId |
( |
int |
id | ) |
|
|
inline |
◆ transform()
Perform the transformation on the input buffer from the buffer array, indexed using m_TransformIdx.
- Parameters
-
[in] | src | The input batch buffer array. |
[in] | mainStream | The main processing CUDA stream. |
[in] | done | The call function to be called after transformation. |
- Returns
- NVDSINFER_SUCCESS or NVDSINFER_RESOURCE_ERROR.
Implements nvdsinferserver::IPreprocessor.
Definition at line 103 of file infer_iprocess.h.
References NVDSINFER_RESOURCE_ERROR, and NVDSINFER_SUCCESS.
◆ uniqueId()
int nvdsinferserver::BasePreprocessor::uniqueId |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: