|
|
NVIDIA DeepStream SDK API Reference
|
9.1 Release
|
Go to the documentation of this file.
26 #ifndef __GST_NVDEWARPER_H__
27 #define __GST_NVDEWARPER_H__
30 #include <gst/video/gstvideometa.h>
31 #include <gst/video/video.h>
32 #include <gst/base/gstbasetransform.h>
37 #include "nv_aisle_csvparser.hpp"
38 #include "nv_spot_csvparser.hpp"
39 #include "gstnvdsmeta.h"
40 #include "nvds_dewarper_meta.h"
41 #include "nvbufsurface.h"
42 #include "nvbufsurftransform.h"
47 #define DISTORTION_SIZE 5
48 #define FOCAL_LENGTH_SIZE 2
49 #define ROTATION_MATRIX_SIZE 9
57 #define GST_TYPE_NVDEWARPER \
58 (gst_nvdewarper_get_type())
59 #define GST_NVDEWARPER(obj) \
60 (G_TYPE_CHECK_INSTANCE_CAST((obj),GST_TYPE_NVDEWARPER,Gstnvdewarper))
61 #define GST_NVDEWARPER_CLASS(klass) \
62 (G_TYPE_CHECK_CLASS_CAST((klass),GST_TYPE_NVDEWARPER,GstnvdewarperClass))
63 #define GST_IS_NVDEWARPER(obj) \
64 (G_TYPE_CHECK_INSTANCE_TYPE((obj),GST_TYPE_NVDEWARPER))
65 #define GST_IS_NVDEWARPER_CLASS(klass) \
66 (G_TYPE_CHECK_CLASS_TYPE((klass),GST_TYPE_NVDEWARPER))
79 guint projection_type;
110 guint rot_matrix_valid;
113 gfloat dstPrincipalPoint[2];
119 std::vector<NvDewarperParams> vecDewarpSurface;
127 GstBaseTransform element;
137 guint num_batch_buffers;
141 gchar* spot_calibration_file;
142 gchar* aisle_calibration_file;
155 GstVideoFormat input_fmt;
156 GstVideoFormat output_fmt;
168 gboolean spot_calibrationfile_set;
169 gboolean aisle_calibrationfile_set;
174 guint num_output_buffers;
177 guint num_spot_views;
178 guint num_aisle_views;
192 GstBaseTransformClass parent_class;
Data structure contaning dewarping parameters for all the output surfaces.
Class for parsing of Aisle CSV data.
GType gst_nvdewarper_get_type(void)
struct _NvDewarperPriv NvDewarperPriv
Data structure contaning dewarping parameters for all the output surfaces.
struct _NvDewarperParams NvDewarperParams
Holds all the configuration parameters required for dewarping a surface.
#define MAX_DEWARPED_VIEWS
Maximum number of dewarped surfaces per frame supported.
Holds all the configuration parameters required for dewarping a surface.
NvBufSurfaceMemType
Specifies memory types for NvBufSurface.
Class for parsing of Spot CSV data.
#define FOCAL_LENGTH_SIZE
Focal length array size : two values for X & Y direction.
NvBufSurfTransform_Inter
Specifies video interpolation methods.
#define ROTATION_MATRIX_SIZE
Standard rotation matrix size.
#define DISTORTION_SIZE
Maximum number of distortion coefficients.
Gstnvdewarper element structure.
struct _GstBuffer GstBuffer