Go to the source code of this file.
Data Structures | |
| struct | CustomMeanSubandNormParams |
| Custom parameters for normalization and mean subtractions. More... | |
| class | CudaStream |
| Helper class for managing Cuda Streams. More... | |
| class | CudaBuffer |
| Helper base class for managing Cuda allocated buffers. More... | |
| class | CudaDeviceBuffer |
| CUDA device buffers. More... | |
| class | NvDsPreProcessTensorImpl |
| Provides pre-processing functionality like mean subtraction and normalization. More... | |
Macros | |
| #define | _MAX_CHANNELS 4 |
| Defines the maximum number of channels supported by the API for image input layers. More... | |
| #define | DISABLE_CLASS_COPY(NoCopyClass) |
| APIs/macros for some frequently used functionality. More... | |
| #define | SIMPLE_MOVE_COPY(Cls) |
| helper move function More... | |
Functions | |
| const char * | safeStr (const std::string &str) |
| helper check safe string in C More... | |
| bool | file_accessible (const char *path) |
| helper check if file accessible in C More... | |
| bool | file_accessible (const std::string &path) |
| helper check if file accessible in C++ More... | |
| NvDsPreProcessStatus | normalization_mean_subtraction_impl_initialize (CustomMeanSubandNormParams *custom_params, NvDsPreProcessTensorParams *tensor_params, std::unique_ptr< NvDsPreProcessTensorImpl > &m_Preprocessor, int unique_id) |
| Initialize for pixel normalization and mean subtraction. More... | |
| #define _MAX_CHANNELS 4 |
Defines the maximum number of channels supported by the API for image input layers.
Definition at line 33 of file nvdspreprocess_impl.h.
| #define DISABLE_CLASS_COPY | ( | NoCopyClass | ) |
APIs/macros for some frequently used functionality.
Definition at line 36 of file nvdspreprocess_impl.h.
| #define SIMPLE_MOVE_COPY | ( | Cls | ) |
helper move function
Definition at line 41 of file nvdspreprocess_impl.h.
|
inline |
helper check if file accessible in C
Definition at line 56 of file nvdspreprocess_impl.h.
Referenced by file_accessible().
|
inline |
helper check if file accessible in C++
Definition at line 63 of file nvdspreprocess_impl.h.
References file_accessible().
| NvDsPreProcessStatus normalization_mean_subtraction_impl_initialize | ( | CustomMeanSubandNormParams * | custom_params, |
| NvDsPreProcessTensorParams * | tensor_params, | ||
| std::unique_ptr< NvDsPreProcessTensorImpl > & | m_Preprocessor, | ||
| int | unique_id | ||
| ) |
Initialize for pixel normalization and mean subtraction.
|
inline |
helper check safe string in C
Definition at line 50 of file nvdspreprocess_impl.h.