|
NVIDIA DeepStream SDK API Reference
|
8.0 Release
|
Go to the documentation of this file.
58 cuOSDContext_t context,
const char* utf8_text,
int font_size,
const char* font,
int* width,
int* height,
int* yoffset);
65 cuOSDContext_t context,
const char* utf8_text,
int font_size,
const char* font,
int x,
int y,
cuOSDColor border_color,
cuOSDColor bg_color = {0, 0, 0, 0});
72 cuOSDContext_t context,
cuOSDClockFormat format,
long time,
int font_size,
const char* font,
int x,
int y,
cuOSDColor border_color,
cuOSDColor bg_color = {0, 0, 0, 0});
82 cuOSDContext_t context,
int x0,
int y0,
int x1,
int y1,
int arrow_size,
int thickness,
cuOSDColor color,
bool interpolation =
false);
100 cuOSDContext_t context,
int left,
int top,
int right,
int bottom,
int thickness,
cuOSDColor border_color,
cuOSDColor bg_color = {0, 0, 0, 0});
106 cuOSDContext_t context,
int left,
int top,
int right,
int bottom,
int kernel_size = 7);
111 cuOSDContext_t _context,
int cx,
int cy,
int width,
int height,
float yaw,
int thickness,
cuOSDColor border_color,
bool interpolation =
false,
cuOSDColor bg_color = {0, 0, 0, 0});
119 cuOSDContext_t context,
int left,
int top,
int right,
int bottom,
int thickness,
float* d_seg,
int seg_width,
int seg_height,
float seg_threshold,
cuOSDColor border_color,
cuOSDColor seg_color = {0, 0, 0, 0});
128 cuOSDContext_t context,
int* h_pts,
int* d_pts,
int n_pts,
int thickness,
bool is_closed,
cuOSDColor border_color,
bool interpolation =
true,
cuOSDColor fill_color = {0, 0, 0, 0});
134 cuOSDContext_t _context,
int left,
int top,
int right,
int bottom,
void* d_src,
int src_width,
int src_stride,
int src_height);
141 cuOSDContext_t context,
int left,
int top,
int right,
int bottom,
void* d_src0,
void* d_src1,
int src_width,
int src_stride,
int src_height,
unsigned char alpha = 127,
bool block_linear=
false);
void cuosd_draw_polyline(cuOSDContext_t context, int *h_pts, int *d_pts, int n_pts, int thickness, bool is_closed, cuOSDColor border_color, bool interpolation=true, cuOSDColor fill_color={0, 0, 0, 0})
void cuosd_draw_rgba_source(cuOSDContext_t _context, int left, int top, int right, int bottom, void *d_src, int src_width, int src_stride, int src_height)
void cuosd_draw_circle(cuOSDContext_t context, int cx, int cy, int radius, int thickness, cuOSDColor border_color, cuOSDColor bg_color={0, 0, 0, 0})
void cuosd_draw_rectangle(cuOSDContext_t context, int left, int top, int right, int bottom, int thickness, cuOSDColor border_color, cuOSDColor bg_color={0, 0, 0, 0})
void cuosd_draw_line(cuOSDContext_t context, int x0, int y0, int x1, int y1, int thickness, cuOSDColor color, bool interpolation=true)
void cuosd_set_text_backend(cuOSDContext_t context, cuOSDTextBackend text_backend)
void cuosd_draw_arrow(cuOSDContext_t context, int x0, int y0, int x1, int y1, int arrow_size, int thickness, cuOSDColor color, bool interpolation=false)
struct _cuOSDColor cuOSDColor
void cuosd_draw_nv12_source(cuOSDContext_t context, int left, int top, int right, int bottom, void *d_src0, void *d_src1, int src_width, int src_stride, int src_height, unsigned char alpha=127, bool block_linear=false)
void cuosd_measure_text(cuOSDContext_t context, const char *utf8_text, int font_size, const char *font, int *width, int *height, int *yoffset)
void cuosd_draw_point(cuOSDContext_t context, int cx, int cy, int radius, cuOSDColor color)
void cuosd_draw_clock(cuOSDContext_t context, cuOSDClockFormat format, long time, int font_size, const char *font, int x, int y, cuOSDColor border_color, cuOSDColor bg_color={0, 0, 0, 0})
void cuosd_draw_boxblur(cuOSDContext_t context, int left, int top, int right, int bottom, int kernel_size=7)
void cuosd_draw_rotationbox(cuOSDContext_t _context, int cx, int cy, int width, int height, float yaw, int thickness, cuOSDColor border_color, bool interpolation=false, cuOSDColor bg_color={0, 0, 0, 0})
void cuosd_clear(cuOSDContext_t context)
void cuosd_draw_text(cuOSDContext_t context, const char *utf8_text, int font_size, const char *font, int x, int y, cuOSDColor border_color, cuOSDColor bg_color={0, 0, 0, 0})
cuOSDContext_t cuosd_context_create()
void cuosd_apply(cuOSDContext_t context, void *data0, void *data1, int width, int stride, int height, cuOSDImageFormat format, void *stream=nullptr, bool launch_and_clear=true)
cuOSDContext * cuOSDContext_t
void cuosd_draw_segmentmask(cuOSDContext_t context, int left, int top, int right, int bottom, int thickness, float *d_seg, int seg_width, int seg_height, float seg_threshold, cuOSDColor border_color, cuOSDColor seg_color={0, 0, 0, 0})
void cuosd_launch(cuOSDContext_t context, void *data0, void *data1, int width, int stride, int height, cuOSDImageFormat format, void *stream=nullptr)
void cuosd_context_destroy(cuOSDContext_t context)
static std::string format(const char *fmt,...)