18 #ifndef __GST_NVMULTISTREAMTILER_H__
19 #define __GST_NVMULTISTREAMTILER_H__
22 #include <gst/base/base.h>
23 #include <gst/video/video.h>
25 #include "cuda_runtime_api.h"
26 #include "gstnvdsmeta.h"
34 #define GST_TYPE_NVMULTISTREAMTILER \
35 (gst_nvmultistreamtiler_get_type ())
36 #define GST_NVMULTISTREAMTILER(obj) \
37 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_NVMULTISTREAMTILER,GstNvMultiStreamTiler))
38 #define GST_NVMULTISTREAMTILER_CLASS(klass) \
39 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NVMULTISTREAMTILER,GstNvMultiStreamTilerClass))
40 #define GST_IS_NVMULTISTREAMTILER(obj) \
41 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NVMULTISTREAMTILER))
42 #define GST_IS_NVMULTISTREAMTILER_CLASS(klass) \
43 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NVMULTISTREAMTILER))
49 typedef struct _BBoxHolder
54 NvDsLineMeta *num_line_meta[100];
80 guint width_per_instance[3];
81 guint height_per_instance[3];
89 guint *out_inst_offsets[3];
104 gboolean *got_last_frame;
105 gint *stream_last_batch_id_map;
106 BBoxHolder *last_bboxes;
107 FrameMeta_Params *last_frame_meta;
111 BBoxHolder last_bboxes_ss;
112 gboolean copied_last_frame_ss;
132 guint rows, guint columns);
134 #ifdef ENABLE_GST_NVTILER_UNIT_TESTS
135 gboolean gGstNvTilerStaticInit();