NVIDIA DeepStream SDK API Reference

8.0 Release
includes/nvll_osd_int.h File Reference

Go to the source code of this file.

Macros

#define clip_rect(ctx, left, top, right, bottom)
 
#define ck(call)   CHECK_(call, __LINE__, __FILE__)
 

Functions

bool CHECK_ (int e, int iLine, const char *szFile)
 
void nvll_osd_resize_segment_masks_bg (NvOSD_Ctx *ctx, NvOSDFdMap *nvosd_map, NvOSD_RectParams *rect_params, NvOSD_MaskParams *mask_params, void **mask_argb32)
 
void nvll_osd_draw_segment_masks_bg (NvOSD_Ctx *ctx, NvOSDFdMap *nvosd_map, NvOSD_RectParams *rect_params, NvOSD_MaskParams *mask_params, void *mask_argb32)
 
void nvll_osd_draw_bounding_rectangles (NvOSD_Ctx *ctx, NvOSDFdMap *nvosd_map, NvOSD_RectParams *rect_params)
 
void nvll_osd_draw_mask_regions (NvOSD_Ctx *ctx, NvOSDFdMap *nvosd_map, NvOSD_RectParams *rect_params)
 
void nvll_osd_rect_with_border_bg (NvOSD_Ctx *ctx, NvOSDFdMap *nvosd_map, NvOSD_RectParams *rect_params)
 
void nvll_osd_construct_draw_arrows_cpu (NvOSD_Ctx *ctx, NvOSDFdMap *nvosd_map, NvOSD_ArrowParams *arrow_params_list)
 
int nvll_osd_draw_segment_masks_cpu (void *nvosd_ctx, NvOSD_FrameSegmentMaskParams *frame_mask_params)
 
int nvll_osd_draw_segment_masks_gpu (void *nvosd_ctx, NvOSD_FrameSegmentMaskParams *frame_mask_params)
 
int nvll_osd_blur_rectangles_gpu (void *nvosd_ctx, NvOSD_FrameRectParams *frame_rect_params)
 
int nvll_osd_draw_rectangles_cpu (void *nvosd_ctx, NvOSD_FrameRectParams *frame_rect_params)
 
int nvll_osd_draw_rectangles_gpu (void *nvosd_ctx, NvOSD_FrameRectParams *frame_rect_params)
 
int nvll_osd_draw_arrows_cpu (void *nvosd_ctx, NvOSD_FrameArrowParams *frame_arrow_params)
 
int nvll_osd_draw_arrows_gpu (void *nvosd_ctx, NvOSD_FrameArrowParams *frame_arrow_params)
 
int nvll_osd_draw_circles_cpu (void *nvosd_ctx, NvOSD_FrameCircleParams *frame_circle_params)
 
int nvll_osd_draw_circles_gpu (void *nvosd_ctx, NvOSD_FrameCircleParams *frame_circle_params)
 
int nvll_osd_draw_lines_cpu (void *nvosd_ctx, NvOSD_FrameLineParams *frame_line_params)
 
int nvll_osd_draw_lines_gpu (void *nvosd_ctx, NvOSD_FrameLineParams *frame_line_params)
 
int nvll_osd_put_text_cpu (void *nvosd_ctx, NvOSD_FrameTextParams *frame_text_params)
 
int nvll_osd_put_text_gpu (void *nvosd_ctx, NvOSD_FrameTextParams *frame_text_params)
 
int nvll_osd_gpu_apply (void *nvosd_ctx, NvBufSurfaceParams *buf_ptr, NvBufSurface *surf)
 

Macro Definition Documentation

◆ ck

#define ck (   call)    CHECK_(call, __LINE__, __FILE__)

Definition at line 49 of file includes/nvll_osd_int.h.

◆ clip_rect

#define clip_rect (   ctx,
  left,
  top,
  right,
  bottom 
)
Value:
{ \
if(left < 0) \
{ \
left = 0; \
} \
if(top < 0) \
{ \
top = 0; \
} \
if(right > ctx->frame_width) \
{ \
right = ctx->frame_width; \
} \
if(bottom > ctx->frame_height) \
{ \
bottom = ctx->frame_height; \
} \
}

Definition at line 29 of file includes/nvll_osd_int.h.

Function Documentation

◆ CHECK_()

bool CHECK_ ( int  e,
int  iLine,
const char *  szFile 
)
inline

Definition at line 20 of file includes/nvll_osd_int.h.

◆ nvll_osd_blur_rectangles_gpu()

int nvll_osd_blur_rectangles_gpu ( void *  nvosd_ctx,
NvOSD_FrameRectParams frame_rect_params 
)

◆ nvll_osd_construct_draw_arrows_cpu()

void nvll_osd_construct_draw_arrows_cpu ( NvOSD_Ctx ctx,
NvOSDFdMap nvosd_map,
NvOSD_ArrowParams arrow_params_list 
)

◆ nvll_osd_draw_arrows_cpu()

int nvll_osd_draw_arrows_cpu ( void *  nvosd_ctx,
NvOSD_FrameArrowParams frame_arrow_params 
)

◆ nvll_osd_draw_arrows_gpu()

int nvll_osd_draw_arrows_gpu ( void *  nvosd_ctx,
NvOSD_FrameArrowParams frame_arrow_params 
)

◆ nvll_osd_draw_bounding_rectangles()

void nvll_osd_draw_bounding_rectangles ( NvOSD_Ctx ctx,
NvOSDFdMap nvosd_map,
NvOSD_RectParams rect_params 
)

◆ nvll_osd_draw_circles_cpu()

int nvll_osd_draw_circles_cpu ( void *  nvosd_ctx,
NvOSD_FrameCircleParams frame_circle_params 
)

◆ nvll_osd_draw_circles_gpu()

int nvll_osd_draw_circles_gpu ( void *  nvosd_ctx,
NvOSD_FrameCircleParams frame_circle_params 
)

◆ nvll_osd_draw_lines_cpu()

int nvll_osd_draw_lines_cpu ( void *  nvosd_ctx,
NvOSD_FrameLineParams frame_line_params 
)

◆ nvll_osd_draw_lines_gpu()

int nvll_osd_draw_lines_gpu ( void *  nvosd_ctx,
NvOSD_FrameLineParams frame_line_params 
)

◆ nvll_osd_draw_mask_regions()

void nvll_osd_draw_mask_regions ( NvOSD_Ctx ctx,
NvOSDFdMap nvosd_map,
NvOSD_RectParams rect_params 
)

◆ nvll_osd_draw_rectangles_cpu()

int nvll_osd_draw_rectangles_cpu ( void *  nvosd_ctx,
NvOSD_FrameRectParams frame_rect_params 
)

◆ nvll_osd_draw_rectangles_gpu()

int nvll_osd_draw_rectangles_gpu ( void *  nvosd_ctx,
NvOSD_FrameRectParams frame_rect_params 
)

◆ nvll_osd_draw_segment_masks_bg()

void nvll_osd_draw_segment_masks_bg ( NvOSD_Ctx ctx,
NvOSDFdMap nvosd_map,
NvOSD_RectParams rect_params,
NvOSD_MaskParams mask_params,
void *  mask_argb32 
)

◆ nvll_osd_draw_segment_masks_cpu()

int nvll_osd_draw_segment_masks_cpu ( void *  nvosd_ctx,
NvOSD_FrameSegmentMaskParams frame_mask_params 
)

◆ nvll_osd_draw_segment_masks_gpu()

int nvll_osd_draw_segment_masks_gpu ( void *  nvosd_ctx,
NvOSD_FrameSegmentMaskParams frame_mask_params 
)

◆ nvll_osd_gpu_apply()

int nvll_osd_gpu_apply ( void *  nvosd_ctx,
NvBufSurfaceParams buf_ptr,
NvBufSurface surf 
)

◆ nvll_osd_put_text_cpu()

int nvll_osd_put_text_cpu ( void *  nvosd_ctx,
NvOSD_FrameTextParams frame_text_params 
)

◆ nvll_osd_put_text_gpu()

int nvll_osd_put_text_gpu ( void *  nvosd_ctx,
NvOSD_FrameTextParams frame_text_params 
)

◆ nvll_osd_rect_with_border_bg()

void nvll_osd_rect_with_border_bg ( NvOSD_Ctx ctx,
NvOSDFdMap nvosd_map,
NvOSD_RectParams rect_params 
)

◆ nvll_osd_resize_segment_masks_bg()

void nvll_osd_resize_segment_masks_bg ( NvOSD_Ctx ctx,
NvOSDFdMap nvosd_map,
NvOSD_RectParams rect_params,
NvOSD_MaskParams mask_params,
void **  mask_argb32 
)