Jetson Inference
DNN Vision Library

Drawing basic 2D shapes using CUDA. More...

Functions

cudaError_t cudaDrawCircle (void *input, void *output, size_t width, size_t height, imageFormat format, int cx, int cy, float radius, const float4 &color)
 cudaDrawCircle More...
 
template<typename T >
cudaError_t cudaDrawCircle (T *input, T *output, size_t width, size_t height, int cx, int cy, float radius, const float4 &color)
 cudaDrawCircle More...
 
cudaError_t cudaDrawCircle (void *image, size_t width, size_t height, imageFormat format, int cx, int cy, float radius, const float4 &color)
 cudaDrawCircle (in-place) More...
 
template<typename T >
cudaError_t cudaDrawCircle (T *image, size_t width, size_t height, int cx, int cy, float radius, const float4 &color)
 cudaDrawCircle (in-place) More...
 
cudaError_t cudaDrawLine (void *input, void *output, size_t width, size_t height, imageFormat format, int x1, int y1, int x2, int y2, const float4 &color, float line_width=1.0)
 cudaDrawLine More...
 
template<typename T >
cudaError_t cudaDrawLine (T *input, T *output, size_t width, size_t height, int x1, int y1, int x2, int y2, const float4 &color, float line_width=1.0)
 cudaDrawLine More...
 
cudaError_t cudaDrawLine (void *image, size_t width, size_t height, imageFormat format, int x1, int y1, int x2, int y2, const float4 &color, float line_width=1.0)
 cudaDrawLine (in-place) More...
 
template<typename T >
cudaError_t cudaDrawLine (T *image, size_t width, size_t height, int x1, int y1, int x2, int y2, const float4 &color, float line_width=1.0)
 cudaDrawLine (in-place) More...
 
cudaError_t cudaDrawRect (void *input, void *output, size_t width, size_t height, imageFormat format, int left, int top, int right, int bottom, const float4 &color)
 cudaDrawRect More...
 
template<typename T >
cudaError_t cudaDrawRect (T *input, T *output, size_t width, size_t height, int left, int top, int right, int bottom, const float4 &color)
 cudaDrawRect More...
 
cudaError_t cudaDrawRect (void *image, size_t width, size_t height, imageFormat format, int left, int top, int right, int bottom, const float4 &color)
 cudaDrawRect (in-place) More...
 
template<typename T >
cudaError_t cudaDrawRect (T *image, size_t width, size_t height, int left, int top, int right, int bottom, const float4 &color)
 cudaDrawRect More...
 

Detailed Description

Drawing basic 2D shapes using CUDA.

Function Documentation

◆ cudaDrawCircle() [1/4]

cudaError_t cudaDrawCircle ( void *  input,
void *  output,
size_t  width,
size_t  height,
imageFormat  format,
int  cx,
int  cy,
float  radius,
const float4 &  color 
)

cudaDrawCircle

◆ cudaDrawCircle() [2/4]

template<typename T >
cudaError_t cudaDrawCircle ( T *  input,
T *  output,
size_t  width,
size_t  height,
int  cx,
int  cy,
float  radius,
const float4 &  color 
)

cudaDrawCircle

◆ cudaDrawCircle() [3/4]

cudaError_t cudaDrawCircle ( void *  image,
size_t  width,
size_t  height,
imageFormat  format,
int  cx,
int  cy,
float  radius,
const float4 &  color 
)

cudaDrawCircle (in-place)

◆ cudaDrawCircle() [4/4]

template<typename T >
cudaError_t cudaDrawCircle ( T *  image,
size_t  width,
size_t  height,
int  cx,
int  cy,
float  radius,
const float4 &  color 
)

cudaDrawCircle (in-place)

◆ cudaDrawLine() [1/4]

cudaError_t cudaDrawLine ( void *  input,
void *  output,
size_t  width,
size_t  height,
imageFormat  format,
int  x1,
int  y1,
int  x2,
int  y2,
const float4 &  color,
float  line_width = 1.0 
)

cudaDrawLine

◆ cudaDrawLine() [2/4]

template<typename T >
cudaError_t cudaDrawLine ( T *  input,
T *  output,
size_t  width,
size_t  height,
int  x1,
int  y1,
int  x2,
int  y2,
const float4 &  color,
float  line_width = 1.0 
)

cudaDrawLine

◆ cudaDrawLine() [3/4]

cudaError_t cudaDrawLine ( void *  image,
size_t  width,
size_t  height,
imageFormat  format,
int  x1,
int  y1,
int  x2,
int  y2,
const float4 &  color,
float  line_width = 1.0 
)

cudaDrawLine (in-place)

◆ cudaDrawLine() [4/4]

template<typename T >
cudaError_t cudaDrawLine ( T *  image,
size_t  width,
size_t  height,
int  x1,
int  y1,
int  x2,
int  y2,
const float4 &  color,
float  line_width = 1.0 
)

cudaDrawLine (in-place)

◆ cudaDrawRect() [1/4]

cudaError_t cudaDrawRect ( void *  input,
void *  output,
size_t  width,
size_t  height,
imageFormat  format,
int  left,
int  top,
int  right,
int  bottom,
const float4 &  color 
)

cudaDrawRect

◆ cudaDrawRect() [2/4]

template<typename T >
cudaError_t cudaDrawRect ( T *  input,
T *  output,
size_t  width,
size_t  height,
int  left,
int  top,
int  right,
int  bottom,
const float4 &  color 
)

cudaDrawRect

◆ cudaDrawRect() [3/4]

cudaError_t cudaDrawRect ( void *  image,
size_t  width,
size_t  height,
imageFormat  format,
int  left,
int  top,
int  right,
int  bottom,
const float4 &  color 
)

cudaDrawRect (in-place)

◆ cudaDrawRect() [4/4]

template<typename T >
cudaError_t cudaDrawRect ( T *  image,
size_t  width,
size_t  height,
int  left,
int  top,
int  right,
int  bottom,
const float4 &  color 
)

cudaDrawRect