Go to the source code of this file.
Data Structures | |
class | nvdsinfer::UniquePtrWDestroy< T > |
class | nvdsinfer::SharedPtrWDestroy< T > |
class | nvdsinfer::DlLibHandle |
class | nvdsinfer::GuardQueue< Container > |
Namespaces | |
nvdsinfer | |
Copyright (c) 2019-2021, NVIDIA CORPORATION. | |
Macros | |
#define | DISABLE_CLASS_COPY(NoCopyClass) |
Copyright (c) 2019-2023, NVIDIA CORPORATION. More... | |
#define | SIMPLE_MOVE_COPY(Cls) |
#define | CHECK_NVINFER_ERROR(err, action, fmt, ...) |
#define | RETURN_NVINFER_ERROR(err, fmt, ...) CHECK_NVINFER_ERROR(err, return ifStatus, fmt, ##__VA_ARGS__) |
#define | CHECK_CUDA_ERR_W_ACTION(err, action, fmt, ...) |
#define | CHECK_CUDA_ERR_NO_ACTION(err, fmt, ...) CHECK_CUDA_ERR_W_ACTION(err, , fmt, ##__VA_ARGS__) |
#define | RETURN_CUDA_ERR(err, fmt, ...) |
#define | READ_SYMBOL(lib, func_name) lib->symbol<decltype(&func_name)>(#func_name) |
Functions | |
const char * | nvdsinfer::safeStr (const char *str) |
const char * | nvdsinfer::safeStr (const std::string &str) |
bool | nvdsinfer::string_empty (const char *str) |
bool | nvdsinfer::file_accessible (const char *path) |
bool | nvdsinfer::file_accessible (const std::string &path) |
std::string | nvdsinfer::dims2Str (const nvinfer1::Dims &d) |
std::string | nvdsinfer::dims2Str (const NvDsInferDims &d) |
std::string | nvdsinfer::batchDims2Str (const NvDsInferBatchDims &d) |
std::string | nvdsinfer::dataType2Str (const nvinfer1::DataType type) |
std::string | nvdsinfer::dataType2Str (const NvDsInferDataType type) |
std::string | nvdsinfer::networkMode2Str (const NvDsInferNetworkMode type) |
uint32_t | nvdsinfer::getElementSize (NvDsInferDataType t) |
Get the size of the element from the data type. More... | |
nvinfer1::Dims | nvdsinfer::ds2TrtDims (const NvDsInferDimsCHW &dims) |
nvinfer1::Dims | nvdsinfer::ds2TrtDims (const NvDsInferDims &dims) |
NvDsInferDims | nvdsinfer::trt2DsDims (const nvinfer1::Dims &dims) |
nvinfer1::Dims | nvdsinfer::CombineDimsBatch (const NvDsInferDims &dims, int batch) |
void | nvdsinfer::SplitFullDims (const nvinfer1::Dims &fullDims, NvDsInferDims &dims, int &batch) |
void | nvdsinfer::convertFullDims (const nvinfer1::Dims &fullDims, NvDsInferBatchDims &batchDims) |
void | nvdsinfer::normalizeDims (NvDsInferDims &dims) |
bool | nvdsinfer::hasWildcard (const nvinfer1::Dims &dims) |
bool | nvdsinfer::hasWildcard (const NvDsInferDims &dims) |
bool | nvdsinfer::operator<= (const nvinfer1::Dims &a, const nvinfer1::Dims &b) |
bool | nvdsinfer::operator> (const nvinfer1::Dims &a, const nvinfer1::Dims &b) |
bool | nvdsinfer::operator== (const nvinfer1::Dims &a, const nvinfer1::Dims &b) |
bool | nvdsinfer::operator!= (const nvinfer1::Dims &a, const nvinfer1::Dims &b) |
bool | nvdsinfer::operator<= (const NvDsInferDims &a, const NvDsInferDims &b) |
bool | nvdsinfer::operator> (const NvDsInferDims &a, const NvDsInferDims &b) |
bool | nvdsinfer::operator== (const NvDsInferDims &a, const NvDsInferDims &b) |
bool | nvdsinfer::operator!= (const NvDsInferDims &a, const NvDsInferDims &b) |
bool | nvdsinfer::isValidOutputFormat (const std::string &fmt) |
bool | nvdsinfer::isValidOutputDataType (const std::string &dataType) |
nvinfer1::DataType | nvdsinfer::str2DataType (const std::string &dataType) |
uint32_t | nvdsinfer::str2TensorFormat (const std::string &fmt) |
bool | nvdsinfer::validateIOTensorNames (const BuildParams ¶ms, const nvinfer1::INetworkDefinition &network) |
bool | nvdsinfer::isValidDeviceType (const std::string &fmt) |
bool | nvdsinfer::isValidPrecisionType (const std::string &dataType) |
nvinfer1::DataType | nvdsinfer::str2PrecisionType (const std::string &dataType) |
nvinfer1::DeviceType | nvdsinfer::str2DeviceType (const std::string &deviceType) |
#define CHECK_CUDA_ERR_NO_ACTION | ( | err, | |
fmt, | |||
... | |||
) | CHECK_CUDA_ERR_W_ACTION(err, , fmt, ##__VA_ARGS__) |
Definition at line 68 of file nvdsinfer_func_utils.h.
#define CHECK_CUDA_ERR_W_ACTION | ( | err, | |
action, | |||
fmt, | |||
... | |||
) |
Definition at line 58 of file nvdsinfer_func_utils.h.
#define CHECK_NVINFER_ERROR | ( | err, | |
action, | |||
fmt, | |||
... | |||
) |
Definition at line 45 of file nvdsinfer_func_utils.h.
#define DISABLE_CLASS_COPY | ( | NoCopyClass | ) |
Copyright (c) 2019-2023, NVIDIA CORPORATION.
All rights reserved.
NVIDIA Corporation and its licensors retain all intellectual property and proprietary rights in and to this software, related documentation and any modifications thereto. Any use, reproduction, disclosure or distribution of this software and related documentation without an express license agreement from NVIDIA Corporation is strictly prohibited.
Definition at line 34 of file nvdsinfer_func_utils.h.
#define READ_SYMBOL | ( | lib, | |
func_name | |||
) | lib->symbol<decltype(&func_name)>(#func_name) |
Definition at line 75 of file nvdsinfer_func_utils.h.
#define RETURN_CUDA_ERR | ( | err, | |
fmt, | |||
... | |||
) |
Definition at line 71 of file nvdsinfer_func_utils.h.
#define RETURN_NVINFER_ERROR | ( | err, | |
fmt, | |||
... | |||
) | CHECK_NVINFER_ERROR(err, return ifStatus, fmt, ##__VA_ARGS__) |
Definition at line 55 of file nvdsinfer_func_utils.h.
#define SIMPLE_MOVE_COPY | ( | Cls | ) |
Definition at line 38 of file nvdsinfer_func_utils.h.