|
NVIDIA DeepStream SDK API Reference
|
7.0 Release
|
Go to the documentation of this file.
13 #ifndef __GST_NVDSOSD_H__
14 #define __GST_NVDSOSD_H__
17 #include <gst/video/video.h>
18 #include <gst/video/gstvideofilter.h>
27 #define GST_TYPE_NVDSOSD \
28 (gst_nvds_osd_get_type())
29 #define GST_NVDSOSD(obj) \
30 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_NVDSOSD,GstNvDsOsd))
31 #define GST_NVDSOSD_CLASS(klass) \
32 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NVDSOSD,GstNvDsOsdClass))
33 #define GST_IS_NVDSOSD(obj) \
34 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NVDSOSD))
35 #define GST_IS_NVDSOSD_CLASS(klass) \
36 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NVDSOSD))
38 #define VERSION "1.8.2"
39 #define PACKAGE_DESCRIPTION "Gstreamer plugin to draw rectangles and text"
41 #define PACKAGE_LICENSE "Proprietary"
42 #define PACKAGE_NAME "GStreamer nvosd Plugin"
44 #define PACKAGE_URL "http://nvidia.com/"
45 #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.
guint num_rect
Number of rectangles 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.
NvOSD_FrameLineParams * frame_line_params
Structure containing details of lines to be drawn for a frame.
Holds information about the rectangles in a frame.
NvOSD_RectParams * rect_params
List of rectangles to be drawn.
NvOSD_TextParams clock_text_params
Structure containing text params for clock.
guint num_circles
Number of circles to be drawn for a frame.
NvOSD_FrameSegmentMaskParams * frame_mask_params
Structure containing details of segment masks to be drawn for a frame.
Holds arrow parameters to be overlaid.
NvOSD_Color_info color_info[MAX_BG_CLR]
Array containing color info for blending.
GType gst_nvds_osd_get_type(void)
void * nvdsosd_context
Pointer to the nvdsosd context.
guint gpu_id
Integer indicating gpu id to be used.
NvOSD_FrameTextParams * frame_text_params
Structure containing details of text to be overlayed for a frame.
NvOSD_RectParams * mask_rect_params
List of rectangles for segment masks to be drawn.
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.
void * conv_buf
Pointer to the converted buffer.
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.
NvOSD_FrameRectParams * frame_rect_params
Structure containing details of rectangles to be drawn for a frame.
Holds information about the arrows in a frame.
int num_class_entries
Integer indicating number of detected classes.
Holds information about the rectangles in a frame.
NvOSD_FrameCircleParams * frame_circle_params
Structure containing details of circles to be drawn for a frame.
Holds parameters of text to be overlayed.
gchar * font
Font of the text to be displayed.
NvOSD_FrameArrowParams * frame_arrow_params
Structure containing details of arrows to be drawn for a frame.
NvOSD_CircleParams * circle_params
List of circles to be drawn.
guint num_segments
Number of segment masks to be drawn for a frame.
NvOSD_MaskParams * mask_params
List of segment masks to be drawn.
NvOSD_ArrowParams * arrow_params
List of arrows to be drawn.
gboolean draw_mask
Boolean indicating whether instance mask is to be drawn.
gboolean draw_text
Boolean indicating whether text is to be drawn.
guint clock_color
Color of the clock, if enabled.
Holds information about the lines in a frame.
NvOSD_TextParams * text_params
List of strings to be drawn.
NvOSD_LineParams * line_params
List of lines to be drawn.
guint clock_font_size
Font size of the clock, if enabled.