Namespaces | |
| app | |
| config | |
| gst | |
| impl | |
| lidarinfer | |
| profiling | |
| v2xinfer | |
Typedefs | |
| typedef abiRefT< abiDataLoader > | abiRefDataLoader |
| typedef abiRefT< abiDataFilter > | abiRefDataFilter |
| typedef abiRefT< abiDataBridge > | abiRefDataBridge |
| typedef abiRefT< abiDataRender > | abiRefDataRender |
| typedef abiRefT< abiDataMixer > | abiRefDataMixer |
| typedef abiRefT< abiFrame > | abiRefFrame |
| typedef abiRefT< abi2DFrame > | abiRef2DFrame |
| typedef abiRefT< void > | abiRefAny |
| typedef abiRefT< abiDataMap > | abiRefDataMap |
| typedef abiCallBackT< ErrCode, const char * > | abiErrorCB |
| typedef abiCallBackT< ErrCode, const abiRefDataMap * > | abiOnDataCB |
| typedef abiCallBackT< ErrCode, const struct VideoBridge2dInput * > | abiOnBridgeDataCB |
| typedef abiRefT< abiWindow > | abiRefWindow |
| using | TIdType = uint64_t |
| using | LockMutex = std::unique_lock< std::mutex > |
| template<typename T > | |
| using | vec4 = __xyzw< T > |
| template<typename T > | |
| using | vec3 = __xyz< T > |
| template<typename T > | |
| using | vec2 = __xy< T > |
| template<typename T > | |
| using | vec1 = __x< T > |
| using | vec4f = vec4< float > |
| using | vec3f = vec3< float > |
| using | vec2f = vec2< float > |
| using | vec1f = vec1< float > |
| using | vec4b = vec4< uint8_t > |
| using | vec3b = vec3< uint8_t > |
| using | vec2b = vec2< uint8_t > |
| using | vec1b = vec1< uint8_t > |
| using | GuardWindow = GuardDataT< abiWindow > |
| using | FrameGuard = GuardDataT< abiFrame > |
| using | Frame2DGuard = GuardDataT< abi2DFrame > |
| template<class T > | |
| using | ShrdPtr = std::shared_ptr< T > |
| template<class T > | |
| using | UniqPtr = std::unique_ptr< T, std::function< void(T *)> > |
| template<class T > | |
| using | Ptr = ShrdPtr< T > |
| template<typename T > | |
| using | _EnableIfValidIdType = typename std::enable_if_t< TpId< std::remove_cv_t< T > >::__typeid() >=0, bool > |
| template<typename T , typename... Args> | |
| using | _IsConstructible = typename std::is_constructible< T, Args... >::value |
| template<typename T , typename... Args> | |
| using | _EnableIfConstructible = typename std::enable_if< std::is_constructible< T, Args... >::value, bool >::type |
| template<class From , class To > | |
| using | _Convertible = std::enable_if_t< std::is_convertible< From, To >::value||std::is_constructible< std::remove_reference< To >, std::remove_reference< From > >::value, bool > |
| template<class Base , class Derived > | |
| using | _EnableIfBaseOf = std::enable_if_t< std::is_base_of< Base, Derived >::value, bool > |
| template<class From , class To > | |
| using | _PtrConvertible = std::enable_if_t< std::is_convertible< From *, To * >::value||std::is_constructible< std::remove_reference< To * >, std::remove_reference< From * > >::value||std::is_base_of< From, To >::value, bool > |
| using | RefDataMapObj = SharedRefObj< abiRefDataMap > |
Functions | |
| bool | isGood (ErrCode c) |
| bool | isNotBad (ErrCode c) |
| bool | isCpuMem (MemType t) |
| bool | isGpuMem (MemType t) |
| const char * | ErrCodeStr (ErrCode code) |
| void | throwError (ErrCode code, const std::string &msg) |
| template<class F , typename... Args> | |
| ErrCode | CatchError (F f, Args... args) |
| ErrCode | CatchVoidCall (std::function< void()> f) |
| std::string | cppString (const char *str, size_t len=0) |
| template<typename T > | |
| uint32_t | bytesPerPixel (FrameType f) |
| uint32_t | dataTypeBytes (DataType t) |
| size_t | ShapeSize (const Shape &shape) |
| bool | operator== (const Shape &a, const Shape &b) |
| bool | operator!= (const Shape &a, const Shape &b) |
| bool | readFile (const std::string &path, std::string &context) |
| bool | NvDs3dEnableDebug () |
| template<typename Data > | |
| void | array2Vec3 (Data *from, vec3< Data > &to) |
| bool | isNear (float a, float b) |
| TransformMatrix | getIntrinsicMat (IntrinsicsParam ¶m) |
| template<class T > | |
| T * | dlsym_ptr (void *handle, char const *name) |
| static bool | check_runtime (cudaError_t e, const char *call, int line, const char *file) |
| template<class T > | |
| void | DeleteTFunc (T *t) |
| template<class From , class To , class convertType > | |
| To * | pointerCast (From *a) |
| template<class Tp > | |
| abiRefT< Tp > * | NewAbiRef (Tp *rawAbiObj) |
| template<class From , class To = From> | |
| SharedRefObj< To > * | PtrToAbiRef (ShrdPtr< From > &&p) |
| template<class From , class To = From> | |
| ShrdPtr< To > | AbiRefToPtr (const abiRefT< From > &p) |
| static bool | check_runtime (cudaError_t e, const char *call, int line, const char *file) |
Variables | |
| static constexpr const char * | kTimeStamp = DS3D_KEY_NAME("Timestamp") |
| static constexpr const char * | kColorFrame = DS3D_KEY_NAME("ColorFrame") |
| static constexpr const char * | kDepthFrame = DS3D_KEY_NAME("DepthFrame") |
| static constexpr const char * | kVideoPreProcTensor = DS3D_KEY_NAME("VideoPreprocessTensor") |
| static constexpr const char * | kDepthScaleUnit = DS3D_KEY_NAME("DepthScaleUnit") |
| static constexpr const char * | kDepthIntrinsics = DS3D_KEY_NAME("DepthIntrinsics") |
| static constexpr const char * | kColorIntrinsics = DS3D_KEY_NAME("ColorIntrinsics") |
| static constexpr const char * | kDepth2ColorExtrinsics = DS3D_KEY_NAME("Depth2ColorExtrinsics") |
| static constexpr const char * | kColorDepthAligned = DS3D_KEY_NAME("ColorDepthAligned") |
| static constexpr const char * | kTextureVertexKey = DS3D_KEY_NAME("TextureVertexKey") |
| static constexpr const char * | kTextureCoordinateKey = DS3D_KEY_NAME("TextureCoordKey") |
| static constexpr const char * | kEOS = DS3D_KEY_NAME("EndOfStream") |
| static constexpr const char * | kPointXYZ = DS3D_KEY_NAME("PointXYZ") |
| static constexpr const char * | kPointCoordUV = DS3D_KEY_NAME("PointColorCoord") |
| static constexpr const char * | kLidarXYZI = DS3D_KEY_NAME("LidarXYZI") |
| static constexpr const char * | kLidarFeatureTensor = DS3D_KEY_NAME("LidarFeatureTensor") |
| static constexpr const char * | kLidarCoordTensor = DS3D_KEY_NAME("LidarCoordTensor") |
| static constexpr const char * | kLidarPointNumTensor = DS3D_KEY_NAME("LidarPointNumTensor") |
| static constexpr const char * | kLidarInferenceParas = DS3D_KEY_NAME("LidarInferenceParas") |
| static constexpr const char * | kDs3dInferenceParas = DS3D_KEY_NAME("DS3DInferneceParasKey") |
| static constexpr const char * | kLidarRefDataMap = DS3D_KEY_NAME("LidarRefDataMap") |
| static constexpr const char * | kLidar3DBboxRawData = DS3D_KEY_NAME("Lidar3DBboxRawData") |
| get array of Lidar3DBbox from FrameGuard [N, sizeof(Lidar3DBbox)] More... | |
| static constexpr const char * | kLidarAlignedXYZI = DS3D_KEY_NAME("LidarAlignedXYZIKey") |
| static constexpr const char * | kCamIntrinsicParm = DS3D_KEY_NAME("CameraIntrinsicParm") |
| static constexpr const char * | kCamIntrinsicMat = DS3D_KEY_NAME("CameraIntrinsicMatrix") |
| static constexpr const char * | kLidarToCamExtrinsicMat = DS3D_KEY_NAME("LidarToCameraExtrinsicMatrix") |
| static constexpr const char * | kVideoBridge2dData = DS3D_KEY_NAME("VideoBridge2dInput") |
| static constexpr const char * | kGstBuffer = DS3D_KEY_NAME("GstBuffer") |
| static constexpr const char * | kNvBufSurface = DS3D_KEY_NAME("NvBufSurface") |
| static constexpr const char * | kNvDsBatchMeta = DS3D_KEY_NAME("NvDsBatchMeta") |
| static constexpr const char * | kFirstSourceFrame = DS3D_KEY_NAME("FirstSourceFrame") |
| static constexpr const char * | kSourceId = DS3D_KEY_NAME("SourceId") |
| static constexpr const char * | kObject2DBboxKey = DS3D_KEY_NAME("Object2DBboxKey") |
| get array of Object2DBbox from FrameGuard [N, sizeof(Object2DBbox)] More... | |
| static constexpr const char * | kFusedDetectionKey = DS3D_KEY_NAME("FusedDetectionKey") |
| get array of FusedDetection from FrameGuard [N, sizeof(FusedDetection)] More... | |
| static constexpr const char * | kDefaultDs3dCaps = "ds3d/datamap" |
| constexpr const size_t | kMaxShapeDims = 8 |
| constexpr uint32_t | kDataProcessUserDataMagic = NVDS3D_MAGIC_ID('D', '3', 'U', 'D') |
| static constexpr const char * | kTimeStamp = DS3D_KEY_NAME("Timestamp") |
| static constexpr const char * | kColorFrame = DS3D_KEY_NAME("ColorFrame") |
| static constexpr const char * | kDepthFrame = DS3D_KEY_NAME("DepthFrame") |
| static constexpr const char * | kVideoPreProcTensor = DS3D_KEY_NAME("VideoPreprocessTensor") |
| static constexpr const char * | kDepthScaleUnit = DS3D_KEY_NAME("DepthScaleUnit") |
| static constexpr const char * | kDepthIntrinsics = DS3D_KEY_NAME("DepthIntrinsics") |
| static constexpr const char * | kColorIntrinsics = DS3D_KEY_NAME("ColorIntrinsics") |
| static constexpr const char * | kDepth2ColorExtrinsics = DS3D_KEY_NAME("Depth2ColorExtrinsics") |
| static constexpr const char * | kColorDepthAligned = DS3D_KEY_NAME("ColorDepthAligned") |
| static constexpr const char * | kTextureVertexKey = DS3D_KEY_NAME("TextureVertexKey") |
| static constexpr const char * | kTextureCoordinateKey = DS3D_KEY_NAME("TextureCoordKey") |
| static constexpr const char * | kEOS = DS3D_KEY_NAME("EndOfStream") |
| static constexpr const char * | kPointXYZ = DS3D_KEY_NAME("PointXYZ") |
| static constexpr const char * | kPointCoordUV = DS3D_KEY_NAME("PointColorCoord") |
| static constexpr const char * | kLidarXYZI = DS3D_KEY_NAME("LidarXYZI") |
| static constexpr const char * | kLidarFeatureTensor = DS3D_KEY_NAME("LidarFeatureTensor") |
| static constexpr const char * | kLidarCoordTensor = DS3D_KEY_NAME("LidarCoordTensor") |
| static constexpr const char * | kLidarPointNumTensor = DS3D_KEY_NAME("LidarPointNumTensor") |
| static constexpr const char * | kLidarInferenceParas = DS3D_KEY_NAME("LidarInferenceParas") |
| static constexpr const char * | kDs3dInferenceParas = DS3D_KEY_NAME("DS3DInferneceParasKey") |
| static constexpr const char * | kLidarRefDataMap = DS3D_KEY_NAME("LidarRefDataMap") |
| static constexpr const char * | kLidar3DBboxRawData = DS3D_KEY_NAME("Lidar3DBboxRawData") |
| get array of Lidar3DBbox from FrameGuard [N, sizeof(Lidar3DBbox)] More... | |
| static constexpr const char * | kLidarAlignedXYZI = DS3D_KEY_NAME("LidarAlignedXYZIKey") |
| static constexpr const char * | kCamIntrinsicParm = DS3D_KEY_NAME("CameraIntrinsicParm") |
| static constexpr const char * | kCamIntrinsicMat = DS3D_KEY_NAME("CameraIntrinsicMatrix") |
| static constexpr const char * | kLidarToCamExtrinsicMat = DS3D_KEY_NAME("LidarToCameraExtrinsicMatrix") |
| static constexpr const char * | kVideoBridge2dData = DS3D_KEY_NAME("VideoBridge2dInput") |
| static constexpr const char * | kGstBuffer = DS3D_KEY_NAME("GstBuffer") |
| static constexpr const char * | kNvBufSurface = DS3D_KEY_NAME("NvBufSurface") |
| static constexpr const char * | kNvDsBatchMeta = DS3D_KEY_NAME("NvDsBatchMeta") |
| static constexpr const char * | kFirstSourceFrame = DS3D_KEY_NAME("FirstSourceFrame") |
| static constexpr const char * | kSourceId = DS3D_KEY_NAME("SourceId") |
| static constexpr const char * | kObject2DBboxKey = DS3D_KEY_NAME("Object2DBboxKey") |
| get array of Object2DBbox from FrameGuard [N, sizeof(Object2DBbox)] More... | |
| static constexpr const char * | kFusedDetectionKey = DS3D_KEY_NAME("FusedDetectionKey") |
| get array of FusedDetection from FrameGuard [N, sizeof(FusedDetection)] More... | |
| static constexpr const char * | kDefaultDs3dCaps = "ds3d/datamap" |
| using ds3d::_Convertible = typedef std::enable_if_t< std::is_convertible<From, To>::value || std::is_constructible<std::remove_reference<To>, std::remove_reference<From> >::value, bool> |
Definition at line 59 of file sources/includes/ds3d/common/hpp/obj.hpp.
| using ds3d::_EnableIfBaseOf = typedef std::enable_if_t<std::is_base_of<Base, Derived>::value, bool> |
Definition at line 61 of file sources/includes/ds3d/common/hpp/obj.hpp.
| using ds3d::_EnableIfConstructible = typedef typename std::enable_if<std::is_constructible<T, Args...>::value, bool>::type |
Definition at line 53 of file sources/includes/ds3d/common/hpp/obj.hpp.
| using ds3d::_EnableIfValidIdType = typedef typename std::enable_if_t<TpId<std::remove_cv_t<T> >::__typeid() >= 0, bool> |
Definition at line 46 of file sources/includes/ds3d/common/hpp/obj.hpp.
| using ds3d::_IsConstructible = typedef typename std::is_constructible<T, Args...>::value |
Definition at line 49 of file sources/includes/ds3d/common/hpp/obj.hpp.
| using ds3d::_PtrConvertible = typedef std::enable_if_t< std::is_convertible<From*, To*>::value || std::is_constructible<std::remove_reference<To*>, std::remove_reference<From*> >::value || std::is_base_of<From, To>::value, bool> |
Definition at line 68 of file sources/includes/ds3d/common/hpp/obj.hpp.
| typedef abiCallBackT< ErrCode, const char * > ds3d::abiErrorCB |
Definition at line 77 of file sources/includes/ds3d/common/abi_obj.h.
| typedef abiCallBackT< ErrCode, const struct VideoBridge2dInput * > ds3d::abiOnBridgeDataCB |
Definition at line 79 of file sources/includes/ds3d/common/abi_obj.h.
| typedef abiCallBackT< ErrCode, const abiRefDataMap * > ds3d::abiOnDataCB |
Definition at line 78 of file sources/includes/ds3d/common/abi_obj.h.
| typedef abiRefT< abi2DFrame > ds3d::abiRef2DFrame |
Definition at line 58 of file sources/includes/ds3d/common/abi_frame.h.
| typedef abiRefT< void > ds3d::abiRefAny |
Definition at line 44 of file sources/includes/ds3d/common/abi_obj.h.
| typedef abiRefT< abiDataBridge > ds3d::abiRefDataBridge |
Definition at line 171 of file sources/includes/ds3d/common/abi_dataprocess.h.
| typedef abiRefT< abiDataFilter > ds3d::abiRefDataFilter |
Definition at line 168 of file sources/includes/ds3d/common/abi_dataprocess.h.
| typedef abiRefT< abiDataLoader > ds3d::abiRefDataLoader |
Definition at line 165 of file sources/includes/ds3d/common/abi_dataprocess.h.
| typedef abiRefT< abiDataMap > ds3d::abiRefDataMap |
Definition at line 67 of file sources/includes/ds3d/common/abi_obj.h.
| typedef abiRefT< abiDataMixer > ds3d::abiRefDataMixer |
Definition at line 177 of file sources/includes/ds3d/common/abi_dataprocess.h.
| typedef abiRefT< abiDataRender > ds3d::abiRefDataRender |
Definition at line 174 of file sources/includes/ds3d/common/abi_dataprocess.h.
| typedef abiRefT< abiFrame > ds3d::abiRefFrame |
Definition at line 41 of file sources/includes/ds3d/common/abi_frame.h.
| typedef abiRefT< abiWindow > ds3d::abiRefWindow |
Definition at line 52 of file sources/includes/ds3d/common/abi_window.h.
| typedef GuardDataT< abi2DFrame > ds3d::Frame2DGuard |
Definition at line 53 of file sources/includes/ds3d/common/hpp/frame.hpp.
| typedef GuardDataT< abiFrame > ds3d::FrameGuard |
Definition at line 25 of file sources/includes/ds3d/common/hpp/frame.hpp.
| typedef GuardDataT< abiWindow > ds3d::GuardWindow |
Definition at line 23 of file sources/includes/ds3d/common/hpp/datarender.hpp.
| typedef std::unique_lock< std::mutex > ds3d::LockMutex |
Definition at line 25 of file sources/includes/ds3d/common/func_utils.h.
Definition at line 33 of file sources/includes/ds3d/common/hpp/obj.hpp.
| typedef SharedRefObj< abiRefDataMap > ds3d::RefDataMapObj |
Definition at line 160 of file sources/includes/ds3d/common/hpp/obj.hpp.
| using ds3d::ShrdPtr = typedef std::shared_ptr<T> |
Definition at line 29 of file sources/includes/ds3d/common/hpp/obj.hpp.
| typedef uint64_t ds3d::TIdType |
Definition at line 69 of file sources/includes/ds3d/common/common.h.
| using ds3d::UniqPtr = typedef std::unique_ptr<T, std::function<void(T*)> > |
Definition at line 31 of file sources/includes/ds3d/common/hpp/obj.hpp.
| using ds3d::vec1 = typedef __x<T> |
Definition at line 64 of file sources/includes/ds3d/common/idatatype.h.
| typedef vec1< uint8_t > ds3d::vec1b |
Definition at line 74 of file sources/includes/ds3d/common/idatatype.h.
| typedef vec1< float > ds3d::vec1f |
Definition at line 69 of file sources/includes/ds3d/common/idatatype.h.
| using ds3d::vec2 = typedef __xy<T> |
Definition at line 62 of file sources/includes/ds3d/common/idatatype.h.
| typedef vec2< uint8_t > ds3d::vec2b |
Definition at line 73 of file sources/includes/ds3d/common/idatatype.h.
| typedef vec2< float > ds3d::vec2f |
Definition at line 68 of file sources/includes/ds3d/common/idatatype.h.
| using ds3d::vec3 = typedef __xyz<T> |
Definition at line 60 of file sources/includes/ds3d/common/idatatype.h.
| typedef vec3< uint8_t > ds3d::vec3b |
Definition at line 72 of file sources/includes/ds3d/common/idatatype.h.
| typedef vec3< float > ds3d::vec3f |
Definition at line 67 of file sources/includes/ds3d/common/idatatype.h.
| using ds3d::vec4 = typedef __xyzw<T> |
Definition at line 58 of file sources/includes/ds3d/common/idatatype.h.
| typedef vec4< uint8_t > ds3d::vec4b |
Definition at line 71 of file sources/includes/ds3d/common/idatatype.h.
| typedef vec4< float > ds3d::vec4f |
Definition at line 66 of file sources/includes/ds3d/common/idatatype.h.
|
strong |
| Enumerator | |
|---|---|
| kInput | |
| kOutput | |
| kInput | |
| kOutput | |
Definition at line 61 of file sources/includes/ds3d/common/abi_dataprocess.h.
|
strong |
| Enumerator | |
|---|---|
| kInput | |
| kOutput | |
| kInput | |
| kOutput | |
Definition at line 61 of file 9.0/sources/includes/ds3d/common/abi_dataprocess.h.
|
strong |
Definition at line 29 of file sources/includes/ds3d/common/abi_obj.h.
|
strong |
Definition at line 29 of file 9.0/sources/includes/ds3d/common/abi_obj.h.
|
strong |
| Enumerator | |
|---|---|
| kFp32 | |
| kFp16 | |
| kInt8 | |
| kInt32 | |
| kInt16 | |
| kUint8 | |
| kUint16 | |
| kUint32 | |
| kDouble | |
| kInt64 | |
| kFp32 | |
| kFp16 | |
| kInt8 | |
| kInt32 | |
| kInt16 | |
| kUint8 | |
| kUint16 | |
| kUint32 | |
| kDouble | |
| kInt64 | |
Definition at line 77 of file sources/includes/ds3d/common/idatatype.h.
|
strong |
| Enumerator | |
|---|---|
| kFp32 | |
| kFp16 | |
| kInt8 | |
| kInt32 | |
| kInt16 | |
| kUint8 | |
| kUint16 | |
| kUint32 | |
| kDouble | |
| kInt64 | |
| kFp32 | |
| kFp16 | |
| kInt8 | |
| kInt32 | |
| kInt16 | |
| kUint8 | |
| kUint16 | |
| kUint32 | |
| kDouble | |
| kInt64 | |
Definition at line 77 of file 9.0/sources/includes/ds3d/common/idatatype.h.
|
strong |
Definition at line 43 of file sources/includes/ds3d/common/common.h.
|
strong |
Definition at line 43 of file 9.0/sources/includes/ds3d/common/common.h.
|
strong |
| Enumerator | |
|---|---|
| kUnknown | |
| kDepth | |
| kColorRGBA | |
| kColorRGB | |
| kPointXYZ | |
| kPointCoordUV | |
| kLidarXYZI | |
| kCustom | |
| kUnknown | |
| kDepth | |
| kColorRGBA | |
| kColorRGB | |
| kPointXYZ | |
| kPointCoordUV | |
| kLidarXYZI | |
| kCustom | |
Definition at line 90 of file 9.0/sources/includes/ds3d/common/idatatype.h.
|
strong |
| Enumerator | |
|---|---|
| kUnknown | |
| kDepth | |
| kColorRGBA | |
| kColorRGB | |
| kPointXYZ | |
| kPointCoordUV | |
| kLidarXYZI | |
| kCustom | |
| kUnknown | |
| kDepth | |
| kColorRGBA | |
| kColorRGB | |
| kPointXYZ | |
| kPointCoordUV | |
| kLidarXYZI | |
| kCustom | |
Definition at line 90 of file sources/includes/ds3d/common/idatatype.h.
|
strong |
| Enumerator | |
|---|---|
| kNone | |
| kGpuCuda | |
| kCpu | |
| kCpuPinned | |
| kNone | |
| kGpuCuda | |
| kCpu | |
| kCpuPinned | |
Definition at line 101 of file sources/includes/ds3d/common/idatatype.h.
|
strong |
| Enumerator | |
|---|---|
| kNone | |
| kGpuCuda | |
| kCpu | |
| kCpuPinned | |
| kNone | |
| kGpuCuda | |
| kCpu | |
| kCpuPinned | |
Definition at line 101 of file 9.0/sources/includes/ds3d/common/idatatype.h.
|
strong |
| Enumerator | |
|---|---|
| kPortAdded | |
| kPortRemoved | |
| kPortAdded | |
| kPortRemoved | |
Definition at line 58 of file 9.0/sources/includes/ds3d/common/abi_dataprocess.h.
|
strong |
| Enumerator | |
|---|---|
| kPortAdded | |
| kPortRemoved | |
| kPortAdded | |
| kPortRemoved | |
Definition at line 58 of file sources/includes/ds3d/common/abi_dataprocess.h.
|
strong |
All custom-libs need create the abi reference for DataLoader, DataRender, and DataFilter.
Take dataloader for example, custom-lib: libnvds_custom_loader.so has exported function: NvDsCreateFakeDataloader Users can get this loader through typedef abiRefDataLoader*(LoaderCreateFunc)(); void handle = dlopen("libnvds_custom_loader.so"); auto creator = (LoaderCreateFunc)dlsym(handle, "NvDsCreateFakeDataloader"); abiRefDataLoader* loader = creator(); GuardDataLoader guardLoader(loader, true); // true for take ownership loader.setUserData(ctx, [ctx](void*){ delete ctx }); loader.setErrorCallback([](ErrCode c, const char* msg){ printf("error msg: %s", msg); }); ErrCode c = loader.start(config, configpath); DS_ASSERT(isGood(c)); DS_ASSERT(loader.getState() == State::kRunning) while(...) { GuardDataMap datamap; ErrCode c = loader.readData(datamap); // process datamap } c = loader.stop(); DS_ASSERT(loader.getState() == State::kStopped) loader.reset(); // destroy dataloader reference, when last reference // destroyed, actual derived dataLoader will be deleted.
| Enumerator | |
|---|---|
| kNone | |
| kStarting | |
| kRunning | |
| kStopped | |
| kNone | |
| kStarting | |
| kRunning | |
| kStopped | |
Definition at line 51 of file sources/includes/ds3d/common/abi_dataprocess.h.
|
strong |
All custom-libs need create the abi reference for DataLoader, DataRender, and DataFilter.
Take dataloader for example, custom-lib: libnvds_custom_loader.so has exported function: NvDsCreateFakeDataloader Users can get this loader through typedef abiRefDataLoader*(LoaderCreateFunc)(); void handle = dlopen("libnvds_custom_loader.so"); auto creator = (LoaderCreateFunc)dlsym(handle, "NvDsCreateFakeDataloader"); abiRefDataLoader* loader = creator(); GuardDataLoader guardLoader(loader, true); // true for take ownership loader.setUserData(ctx, [ctx](void*){ delete ctx }); loader.setErrorCallback([](ErrCode c, const char* msg){ printf("error msg: %s", msg); }); ErrCode c = loader.start(config, configpath); DS_ASSERT(isGood(c)); DS_ASSERT(loader.getState() == State::kRunning) while(...) { GuardDataMap datamap; ErrCode c = loader.readData(datamap); // process datamap } c = loader.stop(); DS_ASSERT(loader.getState() == State::kStopped) loader.reset(); // destroy dataloader reference, when last reference // destroyed, actual derived dataLoader will be deleted.
| Enumerator | |
|---|---|
| kNone | |
| kStarting | |
| kRunning | |
| kStopped | |
| kNone | |
| kStarting | |
| kRunning | |
| kStopped | |
Definition at line 51 of file 9.0/sources/includes/ds3d/common/abi_dataprocess.h.
|
inline |
Definition at line 171 of file sources/includes/ds3d/common/hpp/obj.hpp.
References ds3d::abiRefT< T >::data(), DS_ASSERT, and ds3d::abiRefT< T >::refCopy().
Referenced by ds3d::GuardDataT< void >::operator ShrdPtr< void >().
| void ds3d::array2Vec3 | ( | Data * | from, |
| vec3< Data > & | to | ||
| ) |
Definition at line 222 of file sources/includes/ds3d/common/func_utils.h.
References ds3d::__xyz< T >::data.
|
inline |
Definition at line 118 of file sources/includes/ds3d/common/func_utils.h.
References DS_ASSERT, kColorRGB, kColorRGBA, kDepth, kLidarXYZI, kPointCoordUV, kPointXYZ, and LOG_ERROR.
|
inline |
Definition at line 87 of file sources/includes/ds3d/common/func_utils.h.
References ds3d::Exception::code(), DS3D_CATCH_ANY, DS3D_CATCH_ERROR, DS3D_TRY, kGood, and kUnknown.
|
inline |
Definition at line 98 of file sources/includes/ds3d/common/func_utils.h.
References ds3d::Exception::code(), DS3D_CATCH_ANY, DS3D_CATCH_ERROR, DS3D_TRY, kGood, and kUnknown.
|
inlinestatic |
Definition at line 86 of file sources/includes/ds3d/common/helper/check.hpp.
|
inlinestatic |
Definition at line 86 of file 9.0/sources/includes/ds3d/common/helper/check.hpp.
|
inline |
Definition at line 108 of file sources/includes/ds3d/common/func_utils.h.
Referenced by ds3d::GuardDataProcess< abiDataBridge >::getCaps(), ds3d::GuardDataLoader::getOutputCaps(), and ds3d::impl::BaseImplDataProcessor< abiDataBridge >::start_i().
|
inline |
| void ds3d::DeleteTFunc | ( | T * | t | ) |
Definition at line 37 of file sources/includes/ds3d/common/hpp/obj.hpp.
| T * ds3d::dlsym_ptr | ( | void * | handle, |
| char const * | name | ||
| ) |
Definition at line 27 of file sources/libs/ds3d/gst/custom_lib_factory.h.
Referenced by ds3d::CustomLibFactory::CreateCtx().
|
inline |
Definition at line 52 of file sources/includes/ds3d/common/func_utils.h.
References __DS3D_ERR_STR_DEF, kByPass, kConfig, kCuda, kGL, kGood, kGst, kIncompatible, kLoadLib, kLockWakeup, kMem, kNotFound, kNullPtr, kNvDsMeta, kOutOfRange, kParam, kRealSense, kState, kTimeOut, kTypeId, kUnknown, and kUnsupported.
|
inline |
Definition at line 238 of file sources/includes/ds3d/common/func_utils.h.
References ds3d::IntrinsicsParam::centerX, ds3d::IntrinsicsParam::centerY, ds3d::IntrinsicsParam::fx, and ds3d::IntrinsicsParam::fy.
|
inline |
Definition at line 40 of file sources/includes/ds3d/common/func_utils.h.
References kCpu, and kCpuPinned.
|
inline |
Definition at line 28 of file sources/includes/ds3d/common/func_utils.h.
References kGood.
Referenced by ds3d::GuardDataMap::getData(), ds3d::GuardDataMap::getPtrData(), ds3d::GuardDataMap::getRefData(), ds3d::GuardDataMap::setPtrData(), ds3d::GuardDataMap::setRefData(), ds3d::impl::BaseImplDataProcessor< abiDataBridge >::start_i(), ds3d::lidarinfer::DsLidarInferAppContext::stop(), ds3d::app::Ds3dAppContext::stop(), Ds3dAppContext::stop(), ds3d::gst::PipelineContext::stopPipeline(), and throwError().
|
inline |
Definition at line 46 of file sources/includes/ds3d/common/func_utils.h.
References kGpuCuda.
|
inline |
Definition at line 230 of file sources/includes/ds3d/common/func_utils.h.
|
inline |
Definition at line 34 of file sources/includes/ds3d/common/func_utils.h.
References kGood.
| abiRefT< Tp > * ds3d::NewAbiRef | ( | Tp * | rawAbiObj | ) |
Definition at line 155 of file sources/includes/ds3d/common/hpp/obj.hpp.
|
inline |
Definition at line 214 of file sources/includes/ds3d/common/func_utils.h.
Definition at line 194 of file sources/includes/ds3d/common/func_utils.h.
Definition at line 180 of file sources/includes/ds3d/common/func_utils.h.
References ds3d::Shape::d, and ds3d::Shape::numDims.
| To * ds3d::pointerCast | ( | From * | a | ) |
Definition at line 75 of file sources/includes/ds3d/common/hpp/obj.hpp.
|
inline |
Definition at line 164 of file sources/includes/ds3d/common/hpp/obj.hpp.
|
inline |
Definition at line 200 of file sources/includes/ds3d/common/func_utils.h.
References DS3D_FAILED_RETURN.
Referenced by deepstream::EnsembleRender::initialize(), and deepstream::LiDARDataSource::initialize().
|
inline |
Definition at line 166 of file sources/includes/ds3d/common/func_utils.h.
References ds3d::Shape::d, and ds3d::Shape::numDims.
Referenced by ds3d::impl::wrapLidarXYZIFrame(), ds3d::impl::wrapPointCoordUVFrame(), and ds3d::impl::wrapPointXYZFrame().
|
inline |
Definition at line 77 of file sources/includes/ds3d/common/func_utils.h.
References isGood().
Referenced by ds3d::impl::Frame2DBaseImpl< DataTypeTP, ft >::getPlane().
|
staticconstexpr |
Definition at line 119 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 119 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 118 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 118 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 88 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 88 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 74 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 74 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 84 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 84 of file sources/includes/ds3d/common/common.h.
|
constexpr |
Definition at line 34 of file sources/libs/ds3d/gst/nvds3d_gst_plugin.h.
|
staticconstexpr |
Definition at line 142 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 142 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 86 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 86 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 76 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 76 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 82 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 82 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 80 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 80 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 111 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 111 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 96 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 96 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 131 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 131 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
get array of FusedDetection from FrameGuard [N, sizeof(FusedDetection)]
Definition at line 139 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
get array of FusedDetection from FrameGuard [N, sizeof(FusedDetection)]
Definition at line 139 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 125 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 125 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
get array of Lidar3DBbox from FrameGuard [N, sizeof(Lidar3DBbox)]
Definition at line 115 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
get array of Lidar3DBbox from FrameGuard [N, sizeof(Lidar3DBbox)]
Definition at line 115 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 117 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 117 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 105 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 105 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 104 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 104 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 109 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 109 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 106 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 106 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 113 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 113 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 120 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 120 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 102 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 102 of file 9.0/sources/includes/ds3d/common/common.h.
|
constexpr |
Definition at line 115 of file sources/includes/ds3d/common/idatatype.h.
|
staticconstexpr |
Definition at line 127 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 127 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 129 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 129 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
get array of Object2DBbox from FrameGuard [N, sizeof(Object2DBbox)]
Definition at line 136 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
get array of Object2DBbox from FrameGuard [N, sizeof(Object2DBbox)]
Definition at line 136 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 100 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 100 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 98 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 98 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 133 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 133 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 93 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 93 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 91 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 91 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 72 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 72 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 123 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 123 of file 9.0/sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 78 of file sources/includes/ds3d/common/common.h.
|
staticconstexpr |
Definition at line 78 of file 9.0/sources/includes/ds3d/common/common.h.