nndeploy C++ API  0.2.0
nndeploy C++ API
Namespaces | Macros | Typedefs | Enumerations | Functions
lapjv.h File Reference
#include <opencv2/opencv.hpp>
Include dependency graph for lapjv.h:

Go to the source code of this file.

Namespaces

 nndeploy
 
 nndeploy::track
 

Macros

#define FALSE   0
 
#define FREE(x)
 
#define LARGE   1000000
 
#define NEW(x, t, n)
 
#define SWAP_INDICES(a, b)
 
#define TRUE   1
 

Typedefs

typedef char nndeploy::track::boolean
 
typedef double nndeploy::track::cost_t
 
typedef enum nndeploy::track::fp_t nndeploy::track::fp_t
 
typedef signed int nndeploy::track::int_t
 
typedef unsigned int nndeploy::track::uint_t
 

Enumerations

enum  nndeploy::track::fp_t { nndeploy::track::FP_1 = 1 , nndeploy::track::FP_2 = 2 , nndeploy::track::FP_DYNAMIC = 3 }
 

Functions

int nndeploy::track::lapjv_internal (const cv::Mat &cost, const bool extend_cost, const float cost_limit, int *x, int *y)
 

Macro Definition Documentation

◆ FALSE

#define FALSE   0

Definition at line 31 of file lapjv.h.

◆ FREE

#define FREE (   x)
Value:
if (x != 0) { \
free(x); \
x = 0; \
}

Definition at line 38 of file lapjv.h.

◆ LARGE

#define LARGE   1000000

Definition at line 25 of file lapjv.h.

◆ NEW

#define NEW (   x,
  t,
 
)
Value:
if ((x = reinterpret_cast<t *>(malloc(sizeof(t) * (n)))) == 0) { \
return -1; \
}

Definition at line 34 of file lapjv.h.

◆ SWAP_INDICES

#define SWAP_INDICES (   a,
 
)
Value:
{ \
int_t _temp_index = a; \
a = b; \
b = _temp_index; \
}

Definition at line 43 of file lapjv.h.

◆ TRUE

#define TRUE   1

Definition at line 28 of file lapjv.h.