NVIDIA DeepStream SDK API Reference

7.0 Release
func_utils.h File Reference

Go to the source code of this file.

Namespaces

 ds3d
 

Macros

#define __DS3D_ERR_STR_DEF(code)   {ErrCode::code, #code}
 
#define __DS3D_DATATYPE_BYTES(t)
 

Typedefs

using ds3d::LockMutex = std::unique_lock< std::mutex >
 

Functions

bool ds3d::isGood (ErrCode c)
 
bool ds3d::isNotBad (ErrCode c)
 
bool ds3d::isCpuMem (MemType t)
 
bool ds3d::isGpuMem (MemType t)
 
const char * ds3d::ErrCodeStr (ErrCode code)
 
void ds3d::throwError (ErrCode code, const std::string &msg)
 
template<class F , typename... Args>
ErrCode ds3d::CatchError (F f, Args... args)
 
ErrCode ds3d::CatchVoidCall (std::function< void()> f)
 
std::string ds3d::cppString (const char *str, size_t len=0)
 
template<typename T >
uint32_t ds3d::bytesPerPixel (FrameType f)
 
uint32_t ds3d::dataTypeBytes (DataType t)
 
size_t ds3d::ShapeSize (const Shape &shape)
 
bool ds3d::operator== (const Shape &a, const Shape &b)
 
bool ds3d::operator!= (const Shape &a, const Shape &b)
 
bool ds3d::readFile (const std::string &path, std::string &context)
 
bool ds3d::NvDs3dEnableDebug ()
 
template<typename Data >
void ds3d::array2Vec3 (Data *from, vec3< Data > &to)
 
bool ds3d::isNear (float a, float b)
 
TransformMatrix ds3d::getIntrinsicMat (IntrinsicsParam &param)
 
DS3D_EXTERN_C_BEGIN DS3D_EXPORT_API ds3d::abiRefDataMapNvDs3d_CreateDataHashMap ()
 

Macro Definition Documentation

◆ __DS3D_DATATYPE_BYTES

#define __DS3D_DATATYPE_BYTES (   t)
Value:
case DataType::t: \
return sizeof(NativeData<DataType::t>::type)

◆ __DS3D_ERR_STR_DEF

#define __DS3D_ERR_STR_DEF (   code)    {ErrCode::code, #code}

Function Documentation

◆ NvDs3d_CreateDataHashMap()