|
#define | ENABLE_DEBUG NvDs3dEnableDebug() |
|
#define | DS3D_DISABLE_CLASS_COPY(NoCopyClass) |
|
#define | DS_ASSERT(...) assert((__VA_ARGS__)) |
|
#define | DS3D_FORMAT_(fmt, ...) "%s:%d, " fmt "\n", __FILE__, __LINE__, ##__VA_ARGS__ |
|
#define | DS3D_LOG_PRINT_(out, level, fmt, ...) |
|
#define | LOG_PRINT(fmt, ...) |
|
#define | LOG_DEBUG(fmt, ...) |
|
#define | LOG_ERROR(fmt, ...) DS3D_LOG_PRINT_(stderr, ERROR, fmt, ##__VA_ARGS__) |
|
#define | LOG_WARNING(fmt, ...) DS3D_LOG_PRINT_(stderr, WARNING, fmt, ##__VA_ARGS__) |
|
#define | LOG_INFO(fmt, ...) DS3D_LOG_PRINT_(stdout, INFO, fmt, ##__VA_ARGS__) |
|
#define | DS3D_FAILED_RETURN(condition, ret, fmt, ...) |
|
#define | DS3D_ERROR_RETURN(code, fmt, ...) |
|
#define | DS3D_THROW_ERROR(statement, code, msg) |
|
#define | DS3D_THROW_ERROR_FMT(statement, code, fmt, ...) |
|
#define | DS3D_CHECK_CUDA_ERROR(err, action, fmt, ...) |
|
#define | DS3D_UNUSED(a) (void)(a) |
|
#define | DS3D_TRY try |
|
#define | DS3D_CATCH_ERROR(type, errcode, fmt, ...) |
|
#define | DS3D_CATCH_ANY(errcode, fmt, ...) |
|
#define | DS3D_EXPORT_API __attribute__((__visibility__("default"))) |
|
#define | DS3D_EXTERN_C_BEGIN extern "C" { |
|
#define | DS3D_EXTERN_C_END } |
|
#define | DS3D_STR_PREFIX "DS3D::" |
|
#define | DS3D_KEY_NAME(name) DS3D_STR_PREFIX name |
|
#define | REGISTER_TYPE_ID(uint64Id) static constexpr TIdType __typeid() { return uint64Id; } |
|
#define | DS3D_ROUND_UP(value, align) (((value) + (align)-1) & (~((align)-1))) |
|