Back to Jetson Inference

Jetson Inference: Drawing

docs/html/group__drawing.html

latest11.0 KB
Original Source

| | Jetson Inference

DNN Vision Library |

Functions

Drawing Utilities Library (jetson-utils) » CUDA

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, const float4 &line_color=make_float4(0, 0, 0, 0), float line_width=1.0f) | | | 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, const float4 &line_color=make_float4(0, 0, 0, 0), float line_width=1.0f) | | | 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, const float4 &line_color=make_float4(0, 0, 0, 0), float line_width=1.0f) | | | 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, const float4 &line_color=make_float4(0, 0, 0, 0), float line_width=1.0f) | | | cudaDrawRect More...
| | |

Detailed Description

Drawing basic 2D shapes using CUDA.

Function Documentation

cudaDrawCircle() [1/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)

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 | | | ) | | |

| inline |

cudaDrawCircle (in-place)

cudaDrawCircle() [4/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

cudaDrawLine() [1/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)

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 | | | ) | | |

| inline |

cudaDrawLine (in-place)

cudaDrawLine() [4/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

cudaDrawRect() [1/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, | | | | const float4 & | line_color = make_float4(0,0,0,0), | | | | float | line_width = 1.0f | | | ) | | |

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, | | | | const float4 & | line_color = make_float4(0,0,0,0), | | | | float | line_width = 1.0f | | | ) | | |

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, | | | | const float4 & | line_color = make_float4(0,0,0,0), | | | | float | line_width = 1.0f | | | ) | | |

| inline |

cudaDrawRect (in-place)

cudaDrawRect() [4/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, | | | | const float4 & | line_color = make_float4(0, 0, 0, 0), | | | | float | line_width = 1.0f | | | ) | | |

cudaDrawRect

  • Generated on Tue Mar 28 2023 14:27:58 for Jetson Inference by 1.8.17