|
|
NVIDIA DeepStream SDK API Reference
|
9.1 Release
|
Go to the documentation of this file.
18 #ifndef __GST_NVDSOSD_H__
19 #define __GST_NVDSOSD_H__
22 #include <gst/video/video.h>
23 #include <gst/video/gstvideofilter.h>
25 #include "nvll_osd_api.h"
26 #include "gstnvdsmeta.h"
32 #define GST_TYPE_NVDSOSD \
33 (gst_nvds_osd_get_type())
34 #define GST_NVDSOSD(obj) \
35 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_NVDSOSD,GstNvDsOsd))
36 #define GST_NVDSOSD_CLASS(klass) \
37 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NVDSOSD,GstNvDsOsdClass))
38 #define GST_IS_NVDSOSD(obj) \
39 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NVDSOSD))
40 #define GST_IS_NVDSOSD_CLASS(klass) \
41 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NVDSOSD))
43 #define VERSION "1.8.2"
44 #define PACKAGE_DESCRIPTION "Gstreamer plugin to draw rectangles and text"
46 #define PACKAGE_LICENSE "Proprietary"
47 #define PACKAGE_NAME "GStreamer nvosd Plugin"
49 #define PACKAGE_URL "http://nvidia.com/"
50 #define GST_CAPS_FEATURE_MEMORY_NVMM "memory:NVMM"
Holds the box parameters of a line to be overlayed.
guint num_lines
Number of lines to be drawn for a frame.
gboolean draw_bbox
Boolean indicating whether bounding is to be drawn.
Holds the box parameters of the box to be overlayed.
Holds the mask parameters of the segment to be overlayed.
GType gst_nvds_osd_get_type(void)
NvOSD_ArrowParams * arrow_params
List of arrows to be drawn.
guint blur_bbox
Integer indicating how object is to be blurred.
guint num_rect
Number of rectangles to be drawn for a frame.
guint num_blurs
Number of blurs to be drawn for a frame.
gboolean show_clock
Boolean value indicating whether clock is enabled.
guint num_strings
Number of strings to be drawn for a frame.
guint frame_num
Integer indicating the frame number.
GstBaseTransform parent_instance
Should be the first member when extending from GstBaseTransform.
GstBaseTransformClass parent_class
guint border_width
Border width of object.
Holds circle parameters to be overlayed.
Holds information about the rectangles in a frame.
void * conv_buf
Pointer to the converted buffer.
NvOSD_MaskParams * mask_params
List of segment masks to be drawn.
NvOSD_TextParams clock_text_params
Structure containing text params for clock.
NvOSD_TextParams * text_params
List of strings to be drawn.
NvOSD_CircleParams * circle_params
List of circles to be drawn.
NvOSD_RectParams * rect_params
List of rectangles to be drawn.
guint num_circles
Number of circles to be drawn for a frame.
Holds arrow parameters to be overlaid.
NvOSD_FrameArrowParams * frame_arrow_params
Structure containing details of arrows to be drawn for a frame.
void * nvdsosd_context
Pointer to the nvdsosd context.
gchar * font
Font of the text to be displayed.
guint gpu_id
Integer indicating gpu id to be used.
GstNvDsOsd element structure.
Holds information about the circles in a frame.
NvOSD_Mode
Defines modes used to overlay boxes and text.
guint num_arrows
Number of arrows to be drawn for a frame.
NvOSD_Mode nvdsosd_mode
Enum indicating how the objects are drawn, i.e., CPU, GPU or VIC (for Jetson only).
Holds information about the text in a frame.
Holds information about the arrows in a frame.
GList * blur_gie_class_list
The gie id and class id needed to be blurred.
int num_class_entries
Integer indicating number of detected classes.
NvOSD_FrameRectParams * frame_blur_params
Structure containing details of blurs to be overlayed for a frame.
Holds information about the rectangles in a frame.
NvOSD_LineParams * line_params
List of lines to be drawn.
Holds parameters of text to be overlayed.
NvOSD_Color_info color_info[MAX_BG_CLR]
Array containing color info for blending.
NvOSD_FrameLineParams * frame_line_params
Structure containing details of lines to be drawn for a frame.
NvOSD_RectParams * mask_rect_params
List of rectangles for segment masks to be drawn.
NvOSD_FrameCircleParams * frame_circle_params
Structure containing details of circles to be drawn for a frame.
NvOSD_RectParams * blur_rect_params
List of rectangles to be blurred.
guint num_segments
Number of segment masks to be drawn for a frame.
NvOSD_FrameRectParams * frame_rect_params
Structure containing details of rectangles to be drawn for a frame.
gboolean draw_mask
Boolean indicating whether instance mask is to be drawn.
gboolean draw_text
Boolean indicating whether text is to be drawn.
NvOSD_FrameTextParams * frame_text_params
Structure containing details of text to be overlayed for a frame.
gchar * blur_gie_class_ids
The gie id and class id needed to be blurred.
NvOSD_FrameSegmentMaskParams * frame_mask_params
Structure containing details of segment masks to be drawn for a frame.
guint clock_color
Color of the clock, if enabled.
Holds information about the lines in a frame.
guint clock_font_size
Font size of the clock, if enabled.