|
NVIDIA DeepStream SDK API Reference
|
8.0 Release
|
Go to the documentation of this file.
16 #include <pango/pangocairo.h>
20 inline bool CHECK_(
int e,
int iLine,
const char *szFile) {
21 if (e != cudaSuccess) {
29 #define clip_rect(ctx, left, top, right, bottom) \
39 if(right > ctx->frame_width) \
41 right = ctx->frame_width; \
43 if(bottom > ctx->frame_height) \
45 bottom = ctx->frame_height; \
49 #define ck(call) CHECK_(call, __LINE__, __FILE__)
int nvll_osd_draw_rectangles_gpu(void *nvosd_ctx, NvOSD_FrameRectParams *frame_rect_params)
Holds the box parameters of the box to be overlayed.
Holds the mask parameters of the segment to be overlayed.
void nvll_osd_rect_with_border_bg(NvOSD_Ctx *ctx, NvOSDFdMap *nvosd_map, NvOSD_RectParams *rect_params)
int nvll_osd_draw_segment_masks_cpu(void *nvosd_ctx, NvOSD_FrameSegmentMaskParams *frame_mask_params)
void nvll_osd_resize_segment_masks_bg(NvOSD_Ctx *ctx, NvOSDFdMap *nvosd_map, NvOSD_RectParams *rect_params, NvOSD_MaskParams *mask_params, void **mask_argb32)
Holds information about batched buffers.
Holds information about the rectangles in a frame.
int nvll_osd_draw_circles_gpu(void *nvosd_ctx, NvOSD_FrameCircleParams *frame_circle_params)
Holds arrow parameters to be overlaid.
void nvll_osd_construct_draw_arrows_cpu(NvOSD_Ctx *ctx, NvOSDFdMap *nvosd_map, NvOSD_ArrowParams *arrow_params_list)
int nvll_osd_draw_lines_cpu(void *nvosd_ctx, NvOSD_FrameLineParams *frame_line_params)
Hold the information of single buffer in the batch.
int nvll_osd_put_text_cpu(void *nvosd_ctx, NvOSD_FrameTextParams *frame_text_params)
int nvll_osd_gpu_apply(void *nvosd_ctx, NvBufSurfaceParams *buf_ptr, NvBufSurface *surf)
int nvll_osd_draw_rectangles_cpu(void *nvosd_ctx, NvOSD_FrameRectParams *frame_rect_params)
void nvll_osd_draw_segment_masks_bg(NvOSD_Ctx *ctx, NvOSDFdMap *nvosd_map, NvOSD_RectParams *rect_params, NvOSD_MaskParams *mask_params, void *mask_argb32)
Holds information about the circles in a frame.
int nvll_osd_draw_arrows_gpu(void *nvosd_ctx, NvOSD_FrameArrowParams *frame_arrow_params)
void nvll_osd_draw_bounding_rectangles(NvOSD_Ctx *ctx, NvOSDFdMap *nvosd_map, NvOSD_RectParams *rect_params)
int nvll_osd_put_text_gpu(void *nvosd_ctx, NvOSD_FrameTextParams *frame_text_params)
int nvll_osd_draw_arrows_cpu(void *nvosd_ctx, NvOSD_FrameArrowParams *frame_arrow_params)
void nvll_osd_draw_mask_regions(NvOSD_Ctx *ctx, NvOSDFdMap *nvosd_map, NvOSD_RectParams *rect_params)
Holds information about the text in a frame.
int nvll_osd_draw_segment_masks_gpu(void *nvosd_ctx, NvOSD_FrameSegmentMaskParams *frame_mask_params)
Holds information about the arrows in a frame.
Holds information about the rectangles in a frame.
bool CHECK_(int e, int iLine, const char *szFile)
int nvll_osd_blur_rectangles_gpu(void *nvosd_ctx, NvOSD_FrameRectParams *frame_rect_params)
int nvll_osd_draw_circles_cpu(void *nvosd_ctx, NvOSD_FrameCircleParams *frame_circle_params)
Holds information about the lines in a frame.
int nvll_osd_draw_lines_gpu(void *nvosd_ctx, NvOSD_FrameLineParams *frame_line_params)