|
|
NVIDIA DeepStream SDK API Reference
|
9.1 Release
|
Go to the documentation of this file.
29 #ifndef __DRAW_OBB_H__
30 #define __DRAW_OBB_H__
33 #include <cuda_runtime.h>
65 int width,
int height,
int pitch,
66 float center_x,
float center_y,
67 float obb_width,
float obb_height,
70 unsigned int r,
unsigned int g,
unsigned int b,
99 int width,
int height,
int pitch,
100 float center_x,
float center_y,
101 float obb_width,
float obb_height,
104 unsigned int r,
unsigned int g,
unsigned int b,
131 int width,
int height,
int pitch,
132 float center_x,
float center_y,
133 float obb_width,
float obb_height,
135 unsigned int r,
unsigned int g,
unsigned int b,
160 int width,
int height,
int pitch,
161 float center_x,
float center_y,
162 float obb_width,
float obb_height,
164 unsigned int r,
unsigned int g,
unsigned int b,
198 int width,
int height,
int pitch,
199 float center_x,
float center_y,
200 float obb_width,
float obb_height,
203 unsigned int border_r,
unsigned int border_g,
unsigned int border_b,
205 unsigned int fill_r,
unsigned int fill_g,
unsigned int fill_b,
240 int width,
int height,
int pitch,
241 float center_x,
float center_y,
242 float obb_width,
float obb_height,
245 unsigned int border_r,
unsigned int border_g,
unsigned int border_b,
248 unsigned int fill_r,
unsigned int fill_g,
unsigned int fill_b,
256 #endif // __DRAW_OBB_H__
void drawOBB_combined_cuda_unit_alpha(uint8_t *image, int width, int height, int pitch, float center_x, float center_y, float obb_width, float obb_height, float angle_rad, cudaStream_t stream, unsigned int border_r, unsigned int border_g, unsigned int border_b, int border_width, unsigned int fill_r, unsigned int fill_g, unsigned int fill_b, bool is_filled)
Draw OBB with both fill and border (unit alpha, fast path)
void drawOBB_fill_cuda(uint8_t *image, int width, int height, int pitch, float center_x, float center_y, float obb_width, float obb_height, float angle_rad, unsigned int r, unsigned int g, unsigned int b, float alpha, cudaStream_t stream)
Fill OBB with alpha blending.
void drawOBB_combined_cuda(uint8_t *image, int width, int height, int pitch, float center_x, float center_y, float obb_width, float obb_height, float angle_rad, cudaStream_t stream, unsigned int border_r, unsigned int border_g, unsigned int border_b, float border_alpha, int border_width, unsigned int fill_r, unsigned int fill_g, unsigned int fill_b, float fill_alpha, bool is_filled)
Draw OBB with both fill and border (with alpha blending)
void drawOBB_border_cuda(uint8_t *image, int width, int height, int pitch, float center_x, float center_y, float obb_width, float obb_height, float angle_rad, cudaStream_t stream, unsigned int r, unsigned int g, unsigned int b, float alpha, int border_width)
Draw OBB border with alpha blending.
void drawOBB_border_cuda_unit_alpha(uint8_t *image, int width, int height, int pitch, float center_x, float center_y, float obb_width, float obb_height, float angle_rad, cudaStream_t stream, unsigned int r, unsigned int g, unsigned int b, int border_width)
Draw OBB border with unit alpha (opaque, fast path)
void drawOBB_fill_cuda_unit_alpha(uint8_t *image, int width, int height, int pitch, float center_x, float center_y, float obb_width, float obb_height, float angle_rad, unsigned int r, unsigned int g, unsigned int b, cudaStream_t stream)
Fill OBB with solid color (unit alpha, fast path)