NVIDIA DeepStream SDK API Reference

5.0 Release

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
nvds_opticalflow_meta.h
Go to the documentation of this file.
1 
27 #ifndef _NVDS_OPTICALFLOW_META_H_
28 #define _NVDS_OPTICALFLOW_META_H_
29 
30 #include <gst/gst.h>
31 
32 #ifdef __cplusplus
33 extern "C"
34 {
35 #endif
36 
40 typedef struct _NvOFFlowVector
41 {
43  gshort flowx;
44 
46  gshort flowy;
48 
52 typedef struct
53 {
57  guint rows;
61  guint cols;
63  guint mv_size;
65  gulong frame_num;
67  void *data;
69  void *priv;
71  void *reserved;
73 
74 #ifdef __cplusplus
75 }
76 #endif
77 
78 #endif
79 
Holds optical flow metadata about a frame.
guint cols
Holds the number of columns in the frame for given block size, e.g.
void * data
Holds a pointer to the motion vector.
void * reserved
Reserved for internal use.
guint mv_size
Holds the size of the motion vector.
struct _NvOFFlowVector NvOFFlowVector
Holds motion vector information about an element.
guint rows
Holds the number of rows in the frame for a given block size, e.g.
void * priv
Reserved for internal use.
gshort flowy
Holds the motion vector Y component.
gshort flowx
Holds the motion vector X component.
gulong frame_num
Holds the current frame number of the source.
Holds motion vector information about an element.