Go to the source code of this file.
|
#define | CUSTOM_CONFIG_SUBSAMPLE "subsample" |
|
#define | CUSTOM_CONFIG_STRIDE "stride" |
|
#define | CUSTOM_CONFIG_CHANNEL_SCALE_FACTORS "channel-scale-factors" |
|
#define | CUSTOM_CONFIG_CHANNEL_MEANS "channel-mean-offsets" |
|
#define | DSASSERT assert |
|
#define | UNUSED(var) (void)(var) |
|
#define | LOG_PRINT_(out, level, fmt, ...) fprintf(out, "%s:%d, [%s: CUSTOM_LIB] " fmt "\n", __FILE__, __LINE__, #level, ##__VA_ARGS__) |
|
#define | LOG_DEBUG(fmt, ...) |
|
#define | LOG_INFO(fmt, ...) LOG_PRINT_(stdout, INFO, fmt, ##__VA_ARGS__) |
|
#define | LOG_ERROR(fmt, ...) LOG_PRINT_(stderr, ERROR, fmt, ##__VA_ARGS__) |
|
#define | CHECK_PROCESS_ERROR(err, fmt, ...) |
|
#define | CHECK_CUDA_ERR(err, fmt, ...) |
|
#define | PROCESS_EXPORT_API __attribute__((__visibility__("default"))) |
|
#define | NVDSPREPROCESS_SKIP_FRAME (NvDsPreProcessStatus)255 |
|
#define | FRAME_NO_NOT_SET UINT64_MAX |
|
◆ CHECK_CUDA_ERR
#define CHECK_CUDA_ERR |
( |
|
err, |
|
|
|
fmt, |
|
|
|
... |
|
) |
| |
Value: do { \
cudaError_t _errnum_ = (err); \
if (_errnum_ != cudaSuccess) { \
LOG_ERROR( \
fmt ", cuda err_no: %d, err_str: %s", ##__VA_ARGS__, (int)_errnum_, \
cudaGetErrorName(_errnum_)); \
} \
} while (0)
Definition at line 78 of file seq_process_common.h.
◆ CHECK_PROCESS_ERROR
#define CHECK_PROCESS_ERROR |
( |
|
err, |
|
|
|
fmt, |
|
|
|
... |
|
) |
| |
Value: do { \
NvDsPreProcessStatus _sno_ = (err); \
LOG_ERROR(fmt ", seq_process error: %d", ##__VA_ARGS__, (int)_sno_); \
return _sno_; \
} \
} while (0)
Definition at line 68 of file seq_process_common.h.
◆ CUSTOM_CONFIG_CHANNEL_MEANS
#define CUSTOM_CONFIG_CHANNEL_MEANS "channel-mean-offsets" |
◆ CUSTOM_CONFIG_CHANNEL_SCALE_FACTORS
#define CUSTOM_CONFIG_CHANNEL_SCALE_FACTORS "channel-scale-factors" |
◆ CUSTOM_CONFIG_STRIDE
#define CUSTOM_CONFIG_STRIDE "stride" |
◆ CUSTOM_CONFIG_SUBSAMPLE
#define CUSTOM_CONFIG_SUBSAMPLE "subsample" |
◆ DSASSERT
◆ FRAME_NO_NOT_SET
#define FRAME_NO_NOT_SET UINT64_MAX |
◆ LOG_DEBUG
#define LOG_DEBUG |
( |
|
fmt, |
|
|
|
... |
|
) |
| |
◆ LOG_ERROR
#define LOG_ERROR |
( |
|
fmt, |
|
|
|
... |
|
) |
| LOG_PRINT_(stderr, ERROR, fmt, ##__VA_ARGS__) |
◆ LOG_INFO
#define LOG_INFO |
( |
|
fmt, |
|
|
|
... |
|
) |
| LOG_PRINT_(stdout, INFO, fmt, ##__VA_ARGS__) |
◆ LOG_PRINT_
#define LOG_PRINT_ |
( |
|
out, |
|
|
|
level, |
|
|
|
fmt, |
|
|
|
... |
|
) |
| fprintf(out, "%s:%d, [%s: CUSTOM_LIB] " fmt "\n", __FILE__, __LINE__, #level, ##__VA_ARGS__) |
◆ NVDSPREPROCESS_SKIP_FRAME
◆ PROCESS_EXPORT_API
#define PROCESS_EXPORT_API __attribute__((__visibility__("default"))) |
◆ UNUSED
#define UNUSED |
( |
|
var | ) |
(void)(var) |
◆ SourceKey
using SourceKey = std::tuple<uint64_t, int64_t, int64_t> |
◆ SrcDestBufMap
◆ UniqPtr
template<class T >
using UniqPtr = std::unique_ptr<T, std::function<void(T*)> > |
◆ kEnableDebug