|
|
NVIDIA DeepStream SDK API Reference
|
9.0 Release
|
Go to the documentation of this file.
24 #ifndef __DRAW_OBB_H__
25 #define __DRAW_OBB_H__
28 #include <cuda_runtime.h>
60 int width,
int height,
int pitch,
61 float center_x,
float center_y,
62 float obb_width,
float obb_height,
65 unsigned int r,
unsigned int g,
unsigned int b,
94 int width,
int height,
int pitch,
95 float center_x,
float center_y,
96 float obb_width,
float obb_height,
99 unsigned int r,
unsigned int g,
unsigned int b,
126 int width,
int height,
int pitch,
127 float center_x,
float center_y,
128 float obb_width,
float obb_height,
130 unsigned int r,
unsigned int g,
unsigned int b,
155 int width,
int height,
int pitch,
156 float center_x,
float center_y,
157 float obb_width,
float obb_height,
159 unsigned int r,
unsigned int g,
unsigned int b,
193 int width,
int height,
int pitch,
194 float center_x,
float center_y,
195 float obb_width,
float obb_height,
198 unsigned int border_r,
unsigned int border_g,
unsigned int border_b,
200 unsigned int fill_r,
unsigned int fill_g,
unsigned int fill_b,
235 int width,
int height,
int pitch,
236 float center_x,
float center_y,
237 float obb_width,
float obb_height,
240 unsigned int border_r,
unsigned int border_g,
unsigned int border_b,
243 unsigned int fill_r,
unsigned int fill_g,
unsigned int fill_b,
251 #endif // __DRAW_OBB_H__
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)
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_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_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_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_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)