NVIDIA DeepStream SDK API Reference

6.2 Release
nvds_opticalflow_meta.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved.
3  *
4  * NVIDIA Corporation and its licensors retain all intellectual property
5  * and proprietary rights in and to this software, related documentation
6  * and any modifications thereto. Any use, reproduction, disclosure or
7  * distribution of this software and related documentation without an express
8  * license agreement from NVIDIA Corporation is strictly prohibited.
9  *
10  */
11 
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 
NvDsOpticalFlowMeta::data
void * data
Holds a pointer to the motion vector.
Definition: nvds_opticalflow_meta.h:67
NvDsOpticalFlowMeta
Holds optical flow metadata about a frame.
Definition: nvds_opticalflow_meta.h:52
NvOFFlowVector
struct _NvOFFlowVector NvOFFlowVector
Holds motion vector information about an element.
NvDsOpticalFlowMeta::mv_size
guint mv_size
Holds the size of the motion vector.
Definition: nvds_opticalflow_meta.h:63
NvDsOpticalFlowMeta::cols
guint cols
Holds the number of columns in the frame for given block size, e.g.
Definition: nvds_opticalflow_meta.h:61
NvDsOpticalFlowMeta::rows
guint rows
Holds the number of rows in the frame for a given block size, e.g.
Definition: nvds_opticalflow_meta.h:57
NvDsOpticalFlowMeta::reserved
void * reserved
Reserved for internal use.
Definition: nvds_opticalflow_meta.h:71
NvDsOpticalFlowMeta::priv
void * priv
Reserved for internal use.
Definition: nvds_opticalflow_meta.h:69
NvDsOpticalFlowMeta::frame_num
gulong frame_num
Holds the current frame number of the source.
Definition: nvds_opticalflow_meta.h:65
_NvOFFlowVector::flowy
gshort flowy
Holds the motion vector Y component.
Definition: nvds_opticalflow_meta.h:46
_NvOFFlowVector
Holds motion vector information about an element.
Definition: nvds_opticalflow_meta.h:40
_NvOFFlowVector::flowx
gshort flowx
Holds the motion vector X component.
Definition: nvds_opticalflow_meta.h:43